It’s ok to fail
Somniums are very difficult to solve and without solving them, players can not progress through the game. It is a gatekeeper system that tests a player if they are paying attention to the story or not. Do not worry if you run out of time. A player can retake the challenge as many times as they want. There is no shame in failing.