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.001475/0.001475, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001696/0.001696, allocations: 216.2 kB / 23.03 MB, free: 4.953 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.357/1.357, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.7988/0.7988, allocations: 134 MB / 447.2 MB, free: 9.945 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,fileNamePrefix="IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling",fmuType="cs",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.001841/0.001841, allocations: 70.41 kB / 0.6192 GB, free: 6.945 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1569, allocations: 85.91 MB / 0.7031 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003216/0.1601, allocations: 1.978 MB / 0.705 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009796/0.1611, allocations: 0.5649 MB / 0.7056 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.568e-05/0.1612, allocations: 4 kB / 0.7056 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.1613, allocations: 23.72 kB / 0.7056 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.1614, allocations: 47.58 kB / 0.7057 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.1617, allocations: 71.78 kB / 0.7057 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000237/0.1619, allocations: 187.2 kB / 0.7059 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.1621, allocations: 58.66 kB / 0.706 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.1622, allocations: 79.78 kB / 0.706 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.1624, allocations: 83.55 kB / 0.7061 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.1624, allocations: 16 kB / 0.7061 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.3e-05/0.1624, allocations: 20 kB / 0.7062 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.03e-05/0.1625, allocations: 39.84 kB / 0.7062 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.814e-05/0.1626, allocations: 67.66 kB / 0.7063 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.1628, allocations: 183.2 kB / 0.7064 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1628, allocations: 4 kB / 0.7064 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1628, allocations: 0 / 0.7064 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.1628, allocations: 0 / 0.7064 GB, free: 13.7 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.0007771/0.1636, allocations: 425.4 kB / 0.7068 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1636, allocations: 8.031 kB / 0.7069 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.473e-05/0.1637, allocations: 8.188 kB / 0.7069 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.908e-05/0.1637, allocations: 46.75 kB / 0.7069 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.1639, allocations: 28.78 kB / 0.7069 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.1641, allocations: 154.2 kB / 0.7071 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.587e-05/0.1642, allocations: 67.95 kB / 0.7071 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.1643, allocations: 16.12 kB / 0.7072 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.1647, allocations: 157.6 kB / 0.7073 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.1647, allocations: 3.984 kB / 0.7073 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.1647, allocations: 8 kB / 0.7073 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.1647, allocations: 4 kB / 0.7073 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004583/0.1652, allocations: 135.9 kB / 0.7075 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007644/0.1659, allocations: 439.3 kB / 0.7079 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.1664, allocations: 118.6 kB / 0.708 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.1666, allocations: 88.73 kB / 0.7081 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.1666, allocations: 0 / 0.7081 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.1666, allocations: 34.56 kB / 0.7081 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 9.82e-07/0.1666, allocations: 0 / 0.7081 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0007118/0.1673, allocations: 225.3 kB / 0.7083 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.1674, allocations: 51.41 kB / 0.7084 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.1675, allocations: 151.3 kB / 0.7085 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.1676, allocations: 29.7 kB / 0.7085 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.806e-05/0.1676, allocations: 136.2 kB / 0.7087 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.1677, allocations: 47.61 kB / 0.7087 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/0.1678, allocations: 25.72 kB / 0.7087 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1679, allocations: 326.8 kB / 0.7091 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.1681, allocations: 67.88 kB / 0.7091 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.1683, allocations: 86.52 kB / 0.7092 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003786/0.1687, allocations: 130.5 kB / 0.7093 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1687, allocations: 4 kB / 0.7093 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004663/0.1692, allocations: 193.2 kB / 0.7095 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1692, allocations: 7.984 kB / 0.7095 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1692, allocations: 3.938 kB / 0.7095 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.1692, allocations: 7.938 kB / 0.7095 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.1694, allocations: 44.02 kB / 0.7096 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.1694, allocations: 7.984 kB / 0.7096 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.1695, allocations: 19.94 kB / 0.7096 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.1696, allocations: 11.98 kB / 0.7096 GB, free: 10.22 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.0001275/0.1697, allocations: 133.7 kB / 0.7097 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.1697, allocations: 11.91 kB / 0.7098 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.016e-05/0.1698, allocations: 17.41 kB / 0.7098 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1698, allocations: 0 / 0.7098 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1698, allocations: 4 kB / 0.7098 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.1698, allocations: 11.98 kB / 0.7098 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.17, allocations: 188.7 kB / 0.71 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.17, allocations: 4 kB / 0.71 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.1702, allocations: 35.95 kB / 0.71 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1702, allocations: 0 / 0.71 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.1702, allocations: 0 / 0.71 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1702, allocations: 0 / 0.71 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1702, allocations: 0 / 0.71 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007274/0.171, allocations: 351.1 kB / 0.7103 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.171, allocations: 11.94 kB / 0.7104 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.171, allocations: 3.984 kB / 0.7104 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.1712, allocations: 19.98 kB / 0.7104 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.1712, allocations: 11.97 kB / 0.7104 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.1712, allocations: 8.062 kB / 0.7104 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000101/0.1713, allocations: 120.9 kB / 0.7105 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1713, allocations: 0 / 0.7105 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002507/0.1716, allocations: 35.94 kB / 0.7105 GB, free: 9.207 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.0009887/0.1726, allocations: 0.8762 MB / 0.7114 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004532/0.173, allocations: 135.8 kB / 0.7115 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.173, allocations: 0 / 0.7115 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.1732, allocations: 68.08 kB / 0.7116 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.1736, allocations: 23.98 kB / 0.7116 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.1763, allocations: 2.006 MB / 0.7136 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.1764, allocations: 111.7 kB / 0.7137 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.015e-05/0.1765, allocations: 8.5 kB / 0.7137 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.084e-05/0.1766, allocations: 47.41 kB / 0.7137 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.1766, allocations: 0 / 0.7137 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.2015, allocations: 3.602 MB / 0.7173 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.05, allocations: 5.906 kB / 0.7173 GB, free: 2.371 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Discrete_Examples_HysteresisRelease_Cooling_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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.479687918908894] Failed to read output from testmodel.py, exit status != 0: 11.205642609973438 11.222004556 11.05616973 Calling exit ...