Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
increase timeout to 60s
  • Loading branch information
syntron committed May 20, 2026
commit a5ff0a1fa2e19daee1757036f7bb450f0769f555
4 changes: 2 additions & 2 deletions OMPython/ModelicaSystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def __init__(
cmd_prefix: list[str],
cmd_local: bool = False,
cmd_windows: bool = False,
timeout: float = 30.0,
timeout: float = 60.0,
model_name: Optional[str] = None,
) -> None:
if model_name is None:
Expand Down Expand Up @@ -2835,7 +2835,7 @@ def __init__(
self,
runpath: pathlib.Path,
modelname: str,
timeout: float = 30.0,
timeout: float = 60.0,
) -> None:
super().__init__(
runpath=runpath,
Expand Down
2 changes: 1 addition & 1 deletion OMPython/OMCSession.py
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ def __init__(
self.model_execution_local = False

# store variables
self._timeout = 30.0
self._timeout = 60.0
self.set_timeout(timeout=timeout)
# command prefix (to be used for docker or WSL)
self._cmd_prefix: list[str] = []
Expand Down
Loading