Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 101.7 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 208.9 kB / 19.42 MB, free: 3.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.406/1.406, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8447/0.8447, allocations: 133.9 MB / 442.8 MB, free: 11.32 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 62 kB / 0.6134 GB, free: 8.797 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1685, allocations: 85.85 MB / 0.6972 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003451/0.1719, allocations: 2.055 MB / 0.6992 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.1731, allocations: 0.6077 MB / 0.6998 GB, free: 352 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.1733, allocations: 7.938 kB / 0.6998 GB, free: 344 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.1734, allocations: 19.73 kB / 0.6999 GB, free: 324 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.1735, allocations: 47.58 kB / 0.6999 GB, free: 276 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.1738, allocations: 59.86 kB / 0.7 GB, free: 216 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.1741, allocations: 195.3 kB / 0.7002 GB, free: 20 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.1743, allocations: 46.56 kB / 0.7002 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.1745, allocations: 95.62 kB / 0.7003 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.1746, allocations: 75.69 kB / 0.7004 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.1746, allocations: 12 kB / 0.7004 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.825e-05/0.1747, allocations: 24 kB / 0.7004 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.1747, allocations: 39.84 kB / 0.7004 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.691e-05/0.1748, allocations: 83.58 kB / 0.7005 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.1751, allocations: 175.2 kB / 0.7007 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1751, allocations: 3.938 kB / 0.7007 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.993e-06/0.1751, allocations: 3.938 kB / 0.7007 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.1751, allocations: 0 / 0.7007 GB, free: 15.46 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009094/0.176, allocations: 0.4908 MB / 0.7012 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1761, allocations: 9.109 kB / 0.7012 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.476e-05/0.1761, allocations: 46.73 kB / 0.7012 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.1763, allocations: 28.8 kB / 0.7012 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.1766, allocations: 224 kB / 0.7015 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.949e-05/0.1767, allocations: 34.27 kB / 0.7015 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.1767, allocations: 12.38 kB / 0.7015 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004284/0.1772, allocations: 165.5 kB / 0.7017 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1772, allocations: 0 / 0.7017 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.1772, allocations: 4 kB / 0.7017 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1772, allocations: 4 kB / 0.7017 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005231/0.1777, allocations: 145.2 kB / 0.7018 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008647/0.1786, allocations: 0.527 MB / 0.7023 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004715/0.1791, allocations: 130.7 kB / 0.7024 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.1793, allocations: 76.8 kB / 0.7025 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.1793, allocations: 0 / 0.7025 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.1794, allocations: 38.5 kB / 0.7026 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.1794, allocations: 0 / 0.7026 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0007757/0.1801, allocations: 225.4 kB / 0.7028 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.1802, allocations: 51.41 kB / 0.7028 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.1803, allocations: 155.3 kB / 0.703 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.1803, allocations: 29.7 kB / 0.703 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.086e-05/0.1804, allocations: 136.2 kB / 0.7031 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.1805, allocations: 35.7 kB / 0.7032 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.018e-05/0.1806, allocations: 29.7 kB / 0.7032 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1807, allocations: 326.8 kB / 0.7035 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.1809, allocations: 63.88 kB / 0.7036 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.1812, allocations: 90.45 kB / 0.7036 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004432/0.1816, allocations: 146.4 kB / 0.7038 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1816, allocations: 0 / 0.7038 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000515/0.1821, allocations: 185.4 kB / 0.704 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1822, allocations: 8 kB / 0.704 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1822, allocations: 0 / 0.704 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1822, allocations: 0 / 0.704 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.1824, allocations: 43.97 kB / 0.704 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1824, allocations: 3.984 kB / 0.704 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.1825, allocations: 19.94 kB / 0.704 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.1825, allocations: 8 kB / 0.704 GB, free: 11.75 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (con.y_boolean,$PRE.con.y_boolean) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.1827, allocations: 125.8 kB / 0.7042 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.1827, allocations: 23.83 kB / 0.7042 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.1828, allocations: 13.41 kB / 0.7042 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1828, allocations: 8 kB / 0.7042 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1828, allocations: 0 / 0.7042 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1828, allocations: 3.938 kB / 0.7042 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.1831, allocations: 249.4 kB / 0.7044 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1831, allocations: 0 / 0.7044 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.1833, allocations: 31.97 kB / 0.7045 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1833, allocations: 0 / 0.7045 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1833, allocations: 0 / 0.7045 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1833, allocations: 0 / 0.7045 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1833, allocations: 7.984 kB / 0.7045 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007792/0.1841, allocations: 352.5 kB / 0.7048 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-05/0.1841, allocations: 92.98 kB / 0.7049 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.1842, allocations: 4.062 kB / 0.7049 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.1843, allocations: 23.97 kB / 0.7049 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.1844, allocations: 11.98 kB / 0.705 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.1844, allocations: 4 kB / 0.705 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.256e-05/0.1845, allocations: 120.9 kB / 0.7051 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1845, allocations: 0 / 0.7051 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002637/0.1848, allocations: 35.94 kB / 0.7051 GB, free: 10.57 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cap.T) * Number of discrete variables: 1 (con.y_boolean) * Number of discrete states: 1 (con.y_boolean) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/0.1858, allocations: 0.8763 MB / 0.706 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005051/0.1863, allocations: 131.9 kB / 0.7061 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1864, allocations: 0 / 0.7061 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.1866, allocations: 77.3 kB / 0.7062 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.1869, allocations: 20.12 kB / 0.7062 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/0.1903, allocations: 1.979 MB / 0.7081 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.1906, allocations: 0.7237 MB / 0.7088 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.1907, allocations: 12.55 kB / 0.7088 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.1909, allocations: 43.42 kB / 0.7089 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of SimCode: time 8.62e-07/0.1909, allocations: 0 / 0.7089 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.2189, allocations: 3.342 MB / 0.7121 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.792/8.011, allocations: 5.625 kB / 0.7121 GB, free: 3.371 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Heating.fmu > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.55084731199895] Failed to read output from testmodel.py, exit status != 0: 8.079698002999066 8.102993324 7.923760396 Calling exit ...