Skip to content

fix timeout handling#463

Open
syntron wants to merge 3 commits intoOpenModelica:masterfrom
syntron:timeout
Open

fix timeout handling#463
syntron wants to merge 3 commits intoOpenModelica:masterfrom
syntron:timeout

Conversation

@syntron
Copy link
Copy Markdown
Contributor

@syntron syntron commented Apr 23, 2026

the define timeout value (in OMCSession) is not propagated correctly to ModelExecutionCmd() - thus, any change does not have the desired effect

This PR additionally improves the log / error messages to also provide the value of the (OMPython) timeout.

One function (set_timeout()) was moved from OMCSessionABC to OMSessionABC

Reported in issue #460

syntron added 3 commits April 23, 2026 21:33
* this was missing; default timout of 10.0s was always used
* use format as 'x.xx'
* use unit 's'
* add timeout information if model execution fails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant