I would ditch the pain pills they gave you and try a combo of a couple of Tylenol 1s (OTC in Canada, although they are kept behind the counter so you have to ask the pharmacist) and a couple of Ibuprofen, and see if that gives you enough pain relief to let you get some shut-eye.
Good luck...sleeplessness sucks!