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.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/package.mo", uses=false) 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.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_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00131/0.00131, allocations: 101.4 kB / 16.4 MB, free: 6.461 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.001468/0.001468, allocations: 189.8 kB / 17.34 MB, free: 5.715 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8211/0.8211, allocations: 132.2 MB / 423.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 71.08 kB / 0.582 GB, free: 23.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.165, allocations: 80.2 MB / 0.6603 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003455/0.1686, allocations: 2.019 MB / 0.6623 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.1697, allocations: 0.5376 MB / 0.6628 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.1698, allocations: 4 kB / 0.6628 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.17, allocations: 23.72 kB / 0.6628 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.1702, allocations: 43.58 kB / 0.6629 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.1704, allocations: 55.91 kB / 0.6629 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.1707, allocations: 187.2 kB / 0.6631 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.1709, allocations: 70.31 kB / 0.6632 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.1711, allocations: 75.77 kB / 0.6632 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.1712, allocations: 75.62 kB / 0.6633 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.1713, allocations: 16 kB / 0.6633 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.744e-05/0.1713, allocations: 16 kB / 0.6633 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.674e-05/0.1714, allocations: 39.83 kB / 0.6634 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.122e-05/0.1715, allocations: 87.53 kB / 0.6635 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.1717, allocations: 171.3 kB / 0.6636 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1717, allocations: 4 kB / 0.6636 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1717, allocations: 0 / 0.6636 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.1717, allocations: 4 kB / 0.6636 GB, free: 6.922 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.0008497/0.1726, allocations: 486.8 kB / 0.6641 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1726, allocations: 8.031 kB / 0.6641 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.405e-05/0.1727, allocations: 20.75 kB / 0.6641 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.1729, allocations: 212 kB / 0.6643 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.465e-05/0.173, allocations: 42.27 kB / 0.6644 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.1731, allocations: 12.38 kB / 0.6644 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004181/0.1735, allocations: 153.7 kB / 0.6645 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1735, allocations: 0 / 0.6645 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.1735, allocations: 8 kB / 0.6645 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1736, allocations: 4 kB / 0.6645 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004912/0.1741, allocations: 153.1 kB / 0.6647 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008183/0.1749, allocations: 0.523 MB / 0.6652 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004551/0.1753, allocations: 145.6 kB / 0.6653 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.1756, allocations: 80.8 kB / 0.6654 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.1756, allocations: 4 kB / 0.6654 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.1756, allocations: 30.56 kB / 0.6654 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.1757, allocations: 7.938 kB / 0.6654 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007227/0.1764, allocations: 217.4 kB / 0.6657 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.1764, allocations: 55.41 kB / 0.6657 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.1766, allocations: 159 kB / 0.6659 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.1766, allocations: 25.7 kB / 0.6659 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.655e-05/0.1767, allocations: 128.1 kB / 0.666 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/0.1767, allocations: 43.39 kB / 0.666 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.1768, allocations: 33.7 kB / 0.6661 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1769, allocations: 318.8 kB / 0.6664 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.1772, allocations: 63.95 kB / 0.6664 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.1774, allocations: 84.91 kB / 0.6665 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000419/0.1778, allocations: 146.4 kB / 0.6667 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1778, allocations: 7.938 kB / 0.6667 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005028/0.1783, allocations: 189.3 kB / 0.6669 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1784, allocations: 5.719 kB / 0.6669 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1784, allocations: 0 / 0.6669 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.1784, allocations: 4 kB / 0.6669 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.1786, allocations: 39.97 kB / 0.6669 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.1786, allocations: 3.984 kB / 0.6669 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.1788, allocations: 27.81 kB / 0.6669 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1788, allocations: 4 kB / 0.6669 GB, free: 3.281 MB / 0.4981 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.0001187/0.1789, allocations: 137.8 kB / 0.6671 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.179, allocations: 11.84 kB / 0.6671 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.179, allocations: 16.72 kB / 0.6671 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.179, allocations: 3.984 kB / 0.6671 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.179, allocations: 0 / 0.6671 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.179, allocations: 0 / 0.6671 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.1793, allocations: 245.4 kB / 0.6673 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1793, allocations: 0 / 0.6673 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.1795, allocations: 35.97 kB / 0.6674 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1795, allocations: 0 / 0.6674 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.1795, allocations: 8 kB / 0.6674 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1796, allocations: 0 / 0.6674 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1796, allocations: 0 / 0.6674 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007556/0.1803, allocations: 339.1 kB / 0.6677 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.1804, allocations: 100.9 kB / 0.6678 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.1804, allocations: 4 kB / 0.6678 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.1806, allocations: 15.98 kB / 0.6678 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.1806, allocations: 15.97 kB / 0.6678 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.1807, allocations: 4 kB / 0.6678 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.127e-05/0.1808, allocations: 119.3 kB / 0.6679 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1808, allocations: 0 / 0.6679 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002662/0.181, allocations: 31.91 kB / 0.668 GB, free: 2.113 MB / 0.4981 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.0001135/0.1812, allocations: 99.25 kB / 0.6681 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004968/0.1817, allocations: 151.9 kB / 0.6682 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1817, allocations: 0 / 0.6682 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.1819, allocations: 71.89 kB / 0.6683 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.1823, allocations: 19.92 kB / 0.6683 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007861/0.1831, allocations: 421.8 kB / 0.6687 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.1834, allocations: 0.7196 MB / 0.6694 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.25e-05/0.1835, allocations: 15.44 kB / 0.6694 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1835, allocations: 0 / 0.6694 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of Templates: time 0.003936/0.1874, allocations: 1.818 MB / 0.6712 GB, free: 14.76 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile (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 & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1)