Are you on any medication for your anxiety? If not, it sounds like it is time to start some, if only to get through the rest of the semester. I would go straight to the university health center when you get back and explain what you’ve tried so far and what you need.
At this point your situation is compounded by lack of sleep and inability to view the situation in any other light. From the outside, it seems like a very manageable situation, but anxiety and depression can block one’s ability to see that. This sounds like more than simple anxiety to me and I think that you need help in getting through these last few weeks. Please let your advisor know what’s going on too. Best wishes. I am sorry that you’re going through this.