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.001606/0.001606, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001974/0.001974, allocations: 217.6 kB / 22.26 MB, free: 5.113 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.37/1.37, allocations: 230.6 MB / 256 MB, free: 8.023 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.7894/0.7894, allocations: 134 MB / 446.4 MB, free: 10.25 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.00193/0.00193, allocations: 73.88 kB / 0.6185 GB, free: 7.273 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1591, allocations: 85.9 MB / 0.7024 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003153/0.1622, allocations: 2.074 MB / 0.7044 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.1633, allocations: 0.6154 MB / 0.705 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.327e-05/0.1634, allocations: 4 kB / 0.705 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.1635, allocations: 19.73 kB / 0.7051 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.4e-05/0.1636, allocations: 47.58 kB / 0.7051 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.1638, allocations: 67.78 kB / 0.7052 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.1641, allocations: 191.2 kB / 0.7054 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.1642, allocations: 54.66 kB / 0.7054 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.1644, allocations: 87.7 kB / 0.7055 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.1645, allocations: 87.61 kB / 0.7056 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.1646, allocations: 12 kB / 0.7056 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.206e-05/0.1646, allocations: 19.94 kB / 0.7056 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.391e-05/0.1647, allocations: 35.91 kB / 0.7056 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.115e-05/0.1647, allocations: 83.61 kB / 0.7057 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.165, allocations: 179.2 kB / 0.7059 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.165, allocations: 0 / 0.7059 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.312e-06/0.165, allocations: 0 / 0.7059 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.165, allocations: 0 / 0.7059 GB, free: 13.87 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.0007742/0.1658, allocations: 428 kB / 0.7063 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1658, allocations: 8.031 kB / 0.7063 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.898e-05/0.1659, allocations: 46.73 kB / 0.7063 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.166, allocations: 32.78 kB / 0.7064 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.1663, allocations: 160 kB / 0.7065 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.024e-05/0.1664, allocations: 67.97 kB / 0.7066 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.1664, allocations: 12.38 kB / 0.7066 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.1668, allocations: 169.4 kB / 0.7068 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1668, allocations: 0 / 0.7068 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.1668, allocations: 4 kB / 0.7068 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1668, allocations: 4 kB / 0.7068 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004575/0.1673, allocations: 143.9 kB / 0.7069 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007768/0.1681, allocations: 0.4948 MB / 0.7074 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/0.1685, allocations: 126.6 kB / 0.7075 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.1687, allocations: 76.81 kB / 0.7076 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.1687, allocations: 0 / 0.7076 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.1688, allocations: 34.55 kB / 0.7076 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 9.61e-07/0.1688, allocations: 3.938 kB / 0.7076 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.000688/0.1694, allocations: 229 kB / 0.7078 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.1695, allocations: 55.41 kB / 0.7079 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.1696, allocations: 152 kB / 0.708 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.1696, allocations: 29.7 kB / 0.7081 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.475e-05/0.1697, allocations: 128.2 kB / 0.7082 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.1698, allocations: 43.62 kB / 0.7082 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.1698, allocations: 33.7 kB / 0.7083 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1699, allocations: 326.8 kB / 0.7086 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.1701, allocations: 59.95 kB / 0.7086 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.1703, allocations: 86.52 kB / 0.7087 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.1707, allocations: 149.4 kB / 0.7089 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1707, allocations: 4 kB / 0.7089 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004514/0.1712, allocations: 189.4 kB / 0.709 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1712, allocations: 4 kB / 0.7091 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1712, allocations: 4 kB / 0.7091 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1712, allocations: 0 / 0.7091 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.1714, allocations: 40.03 kB / 0.7091 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.1714, allocations: 0 / 0.7091 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.1715, allocations: 23.92 kB / 0.7091 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.1716, allocations: 8 kB / 0.7091 GB, free: 10.32 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.0001094/0.1717, allocations: 133.7 kB / 0.7092 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.1717, allocations: 11.91 kB / 0.7093 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.1717, allocations: 25.38 kB / 0.7093 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1718, allocations: 8 kB / 0.7093 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1718, allocations: 4 kB / 0.7093 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1718, allocations: 0 / 0.7093 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.172, allocations: 212.6 kB / 0.7095 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.172, allocations: 0 / 0.7095 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.1722, allocations: 35.97 kB / 0.7095 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1722, allocations: 0 / 0.7095 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1722, allocations: 3.938 kB / 0.7095 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.508e-05/0.1722, allocations: 3.984 kB / 0.7095 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1722, allocations: 0 / 0.7095 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007006/0.1729, allocations: 351.2 kB / 0.7099 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.204e-05/0.1729, allocations: 11.91 kB / 0.7099 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.173, allocations: 4.062 kB / 0.7099 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.1731, allocations: 19.97 kB / 0.7099 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.1732, allocations: 11.98 kB / 0.7099 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.1732, allocations: 7.984 kB / 0.7099 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.1e-05/0.1733, allocations: 116.2 kB / 0.71 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1733, allocations: 0 / 0.71 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002569/0.1735, allocations: 39.94 kB / 0.7101 GB, free: 9.273 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.00095/0.1745, allocations: 0.8684 MB / 0.7109 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000439/0.1749, allocations: 139.9 kB / 0.7111 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1749, allocations: 0 / 0.7111 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.1751, allocations: 71.88 kB / 0.7111 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.1754, allocations: 24.06 kB / 0.7112 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.1781, allocations: 2.004 MB / 0.7131 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.1784, allocations: 0.7238 MB / 0.7138 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.686e-05/0.1785, allocations: 8.484 kB / 0.7138 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.447e-05/0.1785, allocations: 43.42 kB / 0.7139 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.1785, allocations: 0 / 0.7139 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03221/0.2108, allocations: 3.501 MB / 0.7173 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.79, allocations: 4.062 kB / 0.7173 GB, free: 1.898 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.142064013984054] Failed to read output from testmodel.py, exit status != 0: 10.893798265140504 10.91986658 10.750275588 Calling exit ...