Skip to content

fix timeout handling#463

Merged
adeas31 merged 3 commits intoOpenModelica:masterfrom
syntron:timeout
May 5, 2026
Merged

fix timeout handling#463
adeas31 merged 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 May 4, 2026 21:06
* 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
@syntron
Copy link
Copy Markdown
Contributor Author

syntron commented May 4, 2026

@adeas31 this could be added before PR #441

@adeas31 adeas31 merged commit e18ad45 into OpenModelica:master May 5, 2026
10 checks passed
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.

2 participants