Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 103.4 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 184.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8443/0.8443, allocations: 135.2 MB / 426.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 62.69 kB / 0.5863 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1542, allocations: 80.93 MB / 0.6653 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003435/0.1576, allocations: 2.023 MB / 0.6673 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1587, allocations: 0.5337 MB / 0.6678 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1588, allocations: 4 kB / 0.6678 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.1589, allocations: 19.73 kB / 0.6678 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.159, allocations: 43.56 kB / 0.6679 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.1593, allocations: 63.86 kB / 0.668 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.1595, allocations: 187.2 kB / 0.6681 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.1597, allocations: 58.23 kB / 0.6682 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.1599, allocations: 71.77 kB / 0.6683 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.16, allocations: 79.62 kB / 0.6683 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.16, allocations: 16 kB / 0.6683 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.631e-05/0.1601, allocations: 12 kB / 0.6684 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.1601, allocations: 39.89 kB / 0.6684 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.849e-05/0.1602, allocations: 83.55 kB / 0.6685 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.1604, allocations: 171.2 kB / 0.6686 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1604, allocations: 4 kB / 0.6686 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1604, allocations: 0 / 0.6686 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.1604, allocations: 3.938 kB / 0.6686 GB, free: 2.352 MB / 0.4981 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.00093/0.1614, allocations: 490.6 kB / 0.6691 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.1614, allocations: 9.109 kB / 0.6691 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.969e-05/0.1615, allocations: 28.8 kB / 0.6691 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.1617, allocations: 212 kB / 0.6694 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-05/0.1618, allocations: 46.19 kB / 0.6694 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.1618, allocations: 12.38 kB / 0.6694 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.1623, allocations: 155 kB / 0.6696 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1623, allocations: 0 / 0.6696 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.1623, allocations: 4 kB / 0.6696 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1623, allocations: 8 kB / 0.6696 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005125/0.1628, allocations: 147.9 kB / 0.6697 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000879/0.1637, allocations: 0.5386 MB / 0.6702 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004439/0.1641, allocations: 126.6 kB / 0.6704 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.1644, allocations: 76.8 kB / 0.6704 GB, free: 364 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.1644, allocations: 0 / 0.6704 GB, free: 364 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.1644, allocations: 34.56 kB / 0.6705 GB, free: 320 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.1644, allocations: 3.938 kB / 0.6705 GB, free: 316 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007686/0.1652, allocations: 221.4 kB / 0.6707 GB, free: 88 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.1652, allocations: 51.41 kB / 0.6707 GB, free: 24 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.1654, allocations: 150.2 kB / 0.6709 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.1654, allocations: 25.7 kB / 0.6709 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.434e-05/0.1655, allocations: 132.2 kB / 0.671 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.368e-05/0.1656, allocations: 47.62 kB / 0.6711 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/0.1656, allocations: 25.72 kB / 0.6711 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1658, allocations: 326.8 kB / 0.6714 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.166, allocations: 59.94 kB / 0.6715 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.1663, allocations: 84.48 kB / 0.6715 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.1667, allocations: 146.4 kB / 0.6717 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1667, allocations: 3.938 kB / 0.6717 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000511/0.1672, allocations: 192.8 kB / 0.6719 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1672, allocations: 4 kB / 0.6719 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1672, allocations: 4 kB / 0.6719 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1672, allocations: 0 / 0.6719 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.1674, allocations: 47.89 kB / 0.6719 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1674, allocations: 0 / 0.6719 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.1676, allocations: 27.94 kB / 0.6719 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.1676, allocations: 11.98 kB / 0.672 GB, free: 14.7 MB / 0.5137 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.0001201/0.1677, allocations: 129.8 kB / 0.6721 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.1678, allocations: 11.91 kB / 0.6721 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.617e-05/0.1678, allocations: 16.72 kB / 0.6721 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1678, allocations: 4 kB / 0.6721 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1678, allocations: 0 / 0.6721 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1678, allocations: 0 / 0.6721 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.1681, allocations: 237.5 kB / 0.6723 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1681, allocations: 4 kB / 0.6723 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.1683, allocations: 43.91 kB / 0.6724 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1683, allocations: 3.984 kB / 0.6724 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1683, allocations: 0 / 0.6724 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.1683, allocations: 7.922 kB / 0.6724 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1683, allocations: 4 kB / 0.6724 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007828/0.1691, allocations: 339.6 kB / 0.6727 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.182e-05/0.1692, allocations: 92.98 kB / 0.6728 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.1692, allocations: 8 kB / 0.6728 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.1694, allocations: 15.97 kB / 0.6728 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.1694, allocations: 23.98 kB / 0.6729 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.1695, allocations: 0 / 0.6729 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.674e-05/0.1696, allocations: 116.1 kB / 0.673 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1696, allocations: 0 / 0.673 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002674/0.1698, allocations: 32 kB / 0.673 GB, free: 13.54 MB / 0.5137 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.0001199/0.1699, allocations: 99.23 kB / 0.6731 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005046/0.1704, allocations: 147.8 kB / 0.6732 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1704, allocations: 0 / 0.6732 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.1707, allocations: 71.89 kB / 0.6733 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.171, allocations: 29.98 kB / 0.6733 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008659/0.1719, allocations: 422.6 kB / 0.6737 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.1722, allocations: 0.7197 MB / 0.6744 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.416e-05/0.1723, allocations: 15.44 kB / 0.6745 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.1723, allocations: 0 / 0.6745 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of Templates: time 0.003882/0.1762, allocations: 1.816 MB / 0.6762 GB, free: 10.18 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1)