Stuck without progress working on thesis - worried about failure I am a student of Indian origin. I am Studying Mechanical Engineering in a local university in north of Germany.
I am writing my thesis in a company. My task is to optimize the throughput of the line. I tried to apply 2-3 concepts on optimization to the output of the line, but my all efforts been in vain. Now I am looking at my computer screen the whole day everyday, hopping hopelessly from one research paper to another but finding nothing. I have only 2 months before my final presentation in front of the company's manager. And in it I have to prove to them that giving me this topic for my thesis was not a waste of around 1500€/month.
I am not able to sleep. For the last 15 days I haven't gone out for shopping or anything. Eating just a little bit of food only one time. Talking to no one, my family or friends. Just sitting all day in front of the screen trying to find some kind of breakthrough. I think i am going into depression.  I am afraid that i will fail this thesis.
I don't know what to do? How to do? Who to ask for help regarding my thesis and topic. I am constantly worried about what if i fail. What will happen. Should I have to go back to India without completing my Master's.
Update 28.09.2020:
Thanks a lot. I have passed my Thesis as well as my masters with satisfactory Noten(Grade). Over all 2.5 Noten for my Master Degree and 2.5(average of Report and Presentation) . Once thanks a lot this wonderful community who gave me the ideas and support in my difficult time.
Having worked with master's students in an applied research lab, I am fairly confident that you are not expected to come up with a solution that will dramatically change the production process and lead to great profits. Your stipend is not contingent on your work delivering monetary returns; research doesn't work like that.

You are engaged by them to apply your skills, use your time and energy to contribute to their problem. The magnitude of that contribution and its ultimate impact on the company could vary wildly. So steer yourself out of both extreme expectations (that you will fail completely, vs you will create a revolution through your work) and put in your honest, best efforts. Be systematic and document everything. What you see as a negative result or failure now could be a positive confirmation to a more experienced researcher at some time in the future. Don't worry too much about the ultimate outcome, but don't procrastinate either. Keep executing chunks of work, and once again, document everything.

Remember, you justify your stipend through your efforts, not through the outcomes.