Skip to content

fix timeout handling - #463

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

fix timeout handling#463
adeas31 merged 3 commits into
OpenModelica:masterfrom
syntron:timeout

Conversation

@syntron

@syntron syntron commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

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

syntron commented May 4, 2026

Copy link
Copy Markdown
Contributor Author

@adeas31 this could be added before PR #441

@adeas31
adeas31 merged commit e18ad45 into OpenModelica:master May 5, 2026
10 checks passed
@syntron
syntron deleted the timeout branch May 6, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants