Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.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.001486/0.001486, allocations: 110 kB / 16.46 MB, free: 6.453 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.001311/0.001311, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.386/1.386, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.8232/0.8232, allocations: 133.9 MB / 442.8 MB, free: 11.29 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_Cooling,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling",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.001858/0.001858, allocations: 61.94 kB / 0.6134 GB, free: 8.758 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1664, allocations: 85.85 MB / 0.6972 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003344/0.1698, allocations: 2.07 MB / 0.6992 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.1709, allocations: 0.6077 MB / 0.6998 GB, free: 308 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.171, allocations: 4 kB / 0.6998 GB, free: 304 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.1711, allocations: 19.73 kB / 0.6999 GB, free: 284 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.908e-05/0.1712, allocations: 43.56 kB / 0.6999 GB, free: 240 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.1715, allocations: 67.86 kB / 0.7 GB, free: 172 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.1718, allocations: 191.3 kB / 0.7002 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.1719, allocations: 54.55 kB / 0.7002 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.1721, allocations: 83.62 kB / 0.7003 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.1723, allocations: 79.67 kB / 0.7004 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.1723, allocations: 16 kB / 0.7004 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.797e-05/0.1723, allocations: 16 kB / 0.7004 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.997e-05/0.1724, allocations: 39.84 kB / 0.7004 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.084e-05/0.1725, allocations: 79.55 kB / 0.7005 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.1727, allocations: 183.2 kB / 0.7007 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1727, allocations: 4 kB / 0.7007 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1727, allocations: 0 / 0.7007 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.1728, allocations: 0 / 0.7007 GB, free: 15.43 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.0008947/0.1737, allocations: 494.6 kB / 0.7012 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.1737, allocations: 13.11 kB / 0.7012 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.671e-05/0.1738, allocations: 50.73 kB / 0.7012 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.1739, allocations: 32.78 kB / 0.7012 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.1742, allocations: 212.1 kB / 0.7014 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.488e-05/0.1743, allocations: 42.27 kB / 0.7015 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/0.1744, allocations: 20.36 kB / 0.7015 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/0.1748, allocations: 157.5 kB / 0.7017 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1748, allocations: 0 / 0.7017 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.1748, allocations: 12 kB / 0.7017 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1748, allocations: 4 kB / 0.7017 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005169/0.1753, allocations: 149.1 kB / 0.7018 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008825/0.1762, allocations: 0.527 MB / 0.7023 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004552/0.1767, allocations: 122.6 kB / 0.7024 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.1769, allocations: 80.8 kB / 0.7025 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.1769, allocations: 4 kB / 0.7025 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.177, allocations: 30.56 kB / 0.7026 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.177, allocations: 0 / 0.7026 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0007783/0.1777, allocations: 225.4 kB / 0.7028 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.1778, allocations: 59.34 kB / 0.7028 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.1779, allocations: 155.3 kB / 0.703 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.178, allocations: 25.7 kB / 0.703 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.583e-05/0.1781, allocations: 132.2 kB / 0.7031 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.1781, allocations: 39.69 kB / 0.7032 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.048e-05/0.1782, allocations: 33.72 kB / 0.7032 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.1783, allocations: 318.8 kB / 0.7035 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.1785, allocations: 71.88 kB / 0.7036 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.1788, allocations: 78.52 kB / 0.7036 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004169/0.1792, allocations: 148.8 kB / 0.7038 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.1792, allocations: 7.984 kB / 0.7038 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005125/0.1797, allocations: 181.5 kB / 0.704 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1797, allocations: 7.984 kB / 0.704 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1797, allocations: 0 / 0.704 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1798, allocations: 4 kB / 0.704 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.18, allocations: 39.97 kB / 0.704 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.18, allocations: 0 / 0.704 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.1801, allocations: 24 kB / 0.704 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.1801, allocations: 11.98 kB / 0.7041 GB, free: 11.71 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.000121/0.1803, allocations: 129.7 kB / 0.7042 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.1803, allocations: 11.91 kB / 0.7042 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.635e-05/0.1804, allocations: 17.41 kB / 0.7042 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1804, allocations: 0 / 0.7042 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1804, allocations: 0 / 0.7042 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.1804, allocations: 7.984 kB / 0.7042 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.1807, allocations: 245.5 kB / 0.7044 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1807, allocations: 0 / 0.7044 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.1809, allocations: 31.97 kB / 0.7045 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/0.1809, allocations: 11.98 kB / 0.7045 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.1809, allocations: 0 / 0.7045 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1809, allocations: 3.938 kB / 0.7045 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1809, allocations: 0 / 0.7045 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007873/0.1817, allocations: 353.5 kB / 0.7048 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.971e-05/0.1817, allocations: 89.05 kB / 0.7049 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.1818, allocations: 7.984 kB / 0.7049 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.1819, allocations: 16.05 kB / 0.7049 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.182, allocations: 19.97 kB / 0.705 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.182, allocations: 0 / 0.705 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.125e-05/0.1821, allocations: 120.9 kB / 0.7051 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1821, allocations: 0 / 0.7051 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002718/0.1824, allocations: 35.94 kB / 0.7051 GB, free: 10.53 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.001069/0.1834, allocations: 0.8723 MB / 0.706 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005058/0.1839, allocations: 139.9 kB / 0.7061 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1839, allocations: 0 / 0.7061 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.1842, allocations: 75.88 kB / 0.7062 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.1845, allocations: 17.88 kB / 0.7062 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003031/0.1875, allocations: 1.995 MB / 0.7081 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.1879, allocations: 0.716 MB / 0.7088 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.811e-05/0.1879, allocations: 12.55 kB / 0.7088 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.188, allocations: 43.42 kB / 0.7089 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.188, allocations: 0 / 0.7089 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.2158, allocations: 3.349 MB / 0.7122 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.678/7.894, allocations: 2.078 kB / 0.7122 GB, free: 3.32 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling_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_Cooling.fmu > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.383183439989807] Failed to read output from testmodel.py, exit status != 0: 7.959856964997016 7.97552198 7.799839128 Calling exit ...