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.00133/0.00133, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001635/0.001635, allocations: 215.4 kB / 22.24 MB, free: 5.262 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.36/1.36, allocations: 230.6 MB / 256 MB, free: 7.785 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.8088/0.8088, allocations: 134 MB / 446.4 MB, free: 9.93 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.001917/0.001917, allocations: 67.02 kB / 0.6185 GB, free: 6.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1592, allocations: 85.91 MB / 0.7024 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003139/0.1623, allocations: 1.978 MB / 0.7043 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1633, allocations: 0.5726 MB / 0.7048 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.785e-05/0.1634, allocations: 4 kB / 0.7048 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.1635, allocations: 27.72 kB / 0.7049 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.813e-05/0.1636, allocations: 43.58 kB / 0.7049 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.1639, allocations: 71.84 kB / 0.705 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.1641, allocations: 183.2 kB / 0.7052 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.1643, allocations: 58.61 kB / 0.7052 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.1645, allocations: 83.7 kB / 0.7053 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.1646, allocations: 71.62 kB / 0.7054 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.1646, allocations: 12 kB / 0.7054 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.012e-05/0.1647, allocations: 20 kB / 0.7054 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.629e-05/0.1647, allocations: 35.89 kB / 0.7054 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.084e-05/0.1648, allocations: 71.66 kB / 0.7055 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.165, allocations: 171.3 kB / 0.7057 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.165, allocations: 4 kB / 0.7057 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.165, allocations: 3.938 kB / 0.7057 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.165, allocations: 0 / 0.7057 GB, free: 13.66 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.0007565/0.1658, allocations: 421.4 kB / 0.7061 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1658, allocations: 12.03 kB / 0.7061 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.012e-05/0.1659, allocations: 50.72 kB / 0.7061 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.166, allocations: 36.78 kB / 0.7062 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.1663, allocations: 154.2 kB / 0.7063 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.37e-05/0.1664, allocations: 67.95 kB / 0.7064 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.1664, allocations: 12.38 kB / 0.7064 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.1668, allocations: 161.5 kB / 0.7065 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1668, allocations: 3.938 kB / 0.7065 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.1668, allocations: 4 kB / 0.7065 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.1668, allocations: 8 kB / 0.7066 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004597/0.1673, allocations: 147.9 kB / 0.7067 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007408/0.168, allocations: 419.4 kB / 0.7071 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.1684, allocations: 134.6 kB / 0.7072 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.1687, allocations: 72.8 kB / 0.7073 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.1687, allocations: 0 / 0.7073 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.1687, allocations: 34.56 kB / 0.7073 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.1687, allocations: 0 / 0.7073 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0006834/0.1694, allocations: 229.3 kB / 0.7075 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.1694, allocations: 51.41 kB / 0.7076 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.1696, allocations: 156 kB / 0.7077 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.1696, allocations: 29.7 kB / 0.7078 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.866e-05/0.1697, allocations: 132.2 kB / 0.7079 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.1697, allocations: 43.62 kB / 0.7079 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.1698, allocations: 33.7 kB / 0.708 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.1699, allocations: 322.8 kB / 0.7083 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.1701, allocations: 63.94 kB / 0.7083 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.1703, allocations: 81.06 kB / 0.7084 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.1707, allocations: 149.7 kB / 0.7086 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1707, allocations: 0 / 0.7086 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004741/0.1712, allocations: 197.4 kB / 0.7087 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1712, allocations: 8 kB / 0.7088 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1712, allocations: 0 / 0.7088 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1712, allocations: 0 / 0.7088 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.1714, allocations: 43.89 kB / 0.7088 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1714, allocations: 0 / 0.7088 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.1715, allocations: 27.88 kB / 0.7088 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.1715, allocations: 4 kB / 0.7088 GB, free: 10.2 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.0001102/0.1716, allocations: 133.8 kB / 0.709 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.1717, allocations: 15.91 kB / 0.709 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.1717, allocations: 17.34 kB / 0.709 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1717, allocations: 4 kB / 0.709 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1717, allocations: 0 / 0.709 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1717, allocations: 0 / 0.709 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.172, allocations: 200.6 kB / 0.7092 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.172, allocations: 0 / 0.7092 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.1722, allocations: 35.91 kB / 0.7092 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1722, allocations: 4 kB / 0.7092 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.1722, allocations: 4 kB / 0.7092 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1722, allocations: 7.984 kB / 0.7092 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1722, allocations: 0 / 0.7092 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000709/0.1729, allocations: 335.1 kB / 0.7096 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.139e-05/0.1729, allocations: 16 kB / 0.7096 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.1729, allocations: 4 kB / 0.7096 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.1731, allocations: 19.97 kB / 0.7096 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.1731, allocations: 23.89 kB / 0.7096 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1731, allocations: 4 kB / 0.7096 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.266e-05/0.1732, allocations: 116.2 kB / 0.7097 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1732, allocations: 0 / 0.7097 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002483/0.1735, allocations: 39.88 kB / 0.7098 GB, free: 9.176 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.000954/0.1744, allocations: 0.8685 MB / 0.7106 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000447/0.1749, allocations: 148 kB / 0.7108 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1749, allocations: 0 / 0.7108 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.1751, allocations: 71.89 kB / 0.7108 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.1754, allocations: 15.98 kB / 0.7108 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.178, allocations: 1.986 MB / 0.7128 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.802e-05/0.1781, allocations: 111.7 kB / 0.7129 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.595e-05/0.1782, allocations: 12.47 kB / 0.7129 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.141e-05/0.1783, allocations: 47.42 kB / 0.7129 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.1783, allocations: 0 / 0.7129 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/0.2105, allocations: 3.966 MB / 0.7168 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.12, allocations: 0 / 0.7168 GB, free: 1.984 MB / 0.5294 GB " [Timeout remaining time 649] (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: 14.59024496236816] Failed to read output from testmodel.py, exit status != 0: 11.220010382123291 11.236686645 11.068520633 Calling exit ...