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.001192/0.001192, allocations: 112.2 kB / 16.42 MB, free: 6.48 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.001187/0.001187, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.333/1.333, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8133/0.8133, allocations: 132.2 MB / 423.4 MB, free: 6.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 61.34 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1544, allocations: 80.21 MB / 0.6603 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.004362/0.1588, allocations: 2.03 MB / 0.6623 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.16, allocations: 0.5337 MB / 0.6628 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.1602, allocations: 4 kB / 0.6628 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.1604, allocations: 19.73 kB / 0.6628 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.1605, allocations: 51.56 kB / 0.6629 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.1608, allocations: 55.88 kB / 0.6629 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.1611, allocations: 187.2 kB / 0.6631 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.1614, allocations: 66.31 kB / 0.6632 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.1616, allocations: 83.69 kB / 0.6633 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.1618, allocations: 75.62 kB / 0.6633 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.511e-05/0.1618, allocations: 16 kB / 0.6633 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.064e-05/0.1619, allocations: 16 kB / 0.6634 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.1619, allocations: 35.91 kB / 0.6634 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.162, allocations: 83.55 kB / 0.6635 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.1624, allocations: 179.2 kB / 0.6636 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1624, allocations: 0 / 0.6636 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1624, allocations: 0 / 0.6636 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.1624, allocations: 0 / 0.6636 GB, free: 6.902 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.001087/0.1635, allocations: 498.6 kB / 0.6641 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.1635, allocations: 8.031 kB / 0.6641 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.804e-05/0.1636, allocations: 24.83 kB / 0.6642 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.1639, allocations: 208.1 kB / 0.6644 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.164, allocations: 38.27 kB / 0.6644 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.222e-05/0.1641, allocations: 16.36 kB / 0.6644 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006016/0.1647, allocations: 157.7 kB / 0.6646 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.1648, allocations: 0 / 0.6646 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.1648, allocations: 8 kB / 0.6646 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1648, allocations: 4 kB / 0.6646 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007312/0.1655, allocations: 149.2 kB / 0.6647 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.1666, allocations: 0.527 MB / 0.6652 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006101/0.1673, allocations: 134.6 kB / 0.6654 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.1676, allocations: 88.8 kB / 0.6654 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.1676, allocations: 0 / 0.6654 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.1677, allocations: 30.56 kB / 0.6655 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.833e-06/0.1677, allocations: 0 / 0.6655 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.00114/0.1688, allocations: 225.4 kB / 0.6657 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.1689, allocations: 55.41 kB / 0.6657 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.1691, allocations: 155.1 kB / 0.6659 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.1691, allocations: 25.7 kB / 0.6659 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.864e-05/0.1692, allocations: 136.2 kB / 0.666 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.1693, allocations: 43.62 kB / 0.6661 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.65e-05/0.1694, allocations: 33.67 kB / 0.6661 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1695, allocations: 322.8 kB / 0.6664 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/0.1698, allocations: 63.94 kB / 0.6665 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.1702, allocations: 82.52 kB / 0.6666 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005804/0.1708, allocations: 141.4 kB / 0.6667 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1708, allocations: 0 / 0.6667 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007291/0.1715, allocations: 197.4 kB / 0.6669 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1716, allocations: 4 kB / 0.6669 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1716, allocations: 0 / 0.6669 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.1716, allocations: 4 kB / 0.6669 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.1719, allocations: 39.95 kB / 0.6669 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.1719, allocations: 4 kB / 0.6669 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.1721, allocations: 31.88 kB / 0.667 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.1722, allocations: 8 kB / 0.667 GB, free: 3.242 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.0001312/0.1723, allocations: 125.8 kB / 0.6671 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.473e-05/0.1724, allocations: 15.91 kB / 0.6671 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/0.1724, allocations: 16.72 kB / 0.6671 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1724, allocations: 0 / 0.6671 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1725, allocations: 0 / 0.6671 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.71e-05/0.1725, allocations: 85.06 kB / 0.6672 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.1726, allocations: 7.984 kB / 0.6672 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.1728, allocations: 19.98 kB / 0.6672 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/0.1729, allocations: 19.91 kB / 0.6672 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009318/0.1739, allocations: 275.5 kB / 0.6675 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0011/0.175, allocations: 406.7 kB / 0.6679 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003314/0.1753, allocations: 67.94 kB / 0.668 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001118/0.1755, allocations: 115.2 kB / 0.6681 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of Backend: time 6.01e-07/0.1755, allocations: 0 / 0.6681 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008974/0.1764, allocations: 158.5 kB / 0.6682 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of SimCode: time 0.001255/0.1776, allocations: 0.8069 MB / 0.669 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of Templates: time 0.007723/0.1854, allocations: 1.788 MB / 0.6708 GB, free: 15.27 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)