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.001389/0.001389, allocations: 113.5 kB / 16.42 MB, free: 6.469 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.001257/0.001257, allocations: 185.5 kB / 17.35 MB, free: 5.711 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.356/1.356, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.806/0.806, allocations: 132.2 MB / 423.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 68.61 kB / 0.582 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1403, allocations: 80.2 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003129/0.1434, allocations: 2.029 MB / 0.6623 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009174/0.1444, allocations: 0.5298 MB / 0.6628 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.1445, allocations: 4 kB / 0.6628 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.1446, allocations: 27.72 kB / 0.6628 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.1448, allocations: 43.58 kB / 0.6629 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.145, allocations: 55.88 kB / 0.6629 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.1452, allocations: 183.2 kB / 0.6631 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.1454, allocations: 74.31 kB / 0.6632 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.1456, allocations: 79.69 kB / 0.6633 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.1457, allocations: 83.62 kB / 0.6633 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.323e-05/0.1457, allocations: 12 kB / 0.6633 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.312e-05/0.1458, allocations: 16 kB / 0.6634 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.1458, allocations: 31.91 kB / 0.6634 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.687e-05/0.1459, allocations: 83.53 kB / 0.6635 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.1461, allocations: 175.2 kB / 0.6636 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1461, allocations: 3.938 kB / 0.6636 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1461, allocations: 0 / 0.6636 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.1462, allocations: 0 / 0.6636 GB, free: 6.836 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.0007984/0.147, allocations: 498.6 kB / 0.6641 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.147, allocations: 8.031 kB / 0.6641 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/0.1471, allocations: 24.84 kB / 0.6641 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.1473, allocations: 204.1 kB / 0.6643 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-05/0.1474, allocations: 42.25 kB / 0.6644 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.1474, allocations: 16.38 kB / 0.6644 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004099/0.1478, allocations: 157.7 kB / 0.6645 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1479, allocations: 0 / 0.6645 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.1479, allocations: 11.98 kB / 0.6646 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.1479, allocations: 4 kB / 0.6646 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004965/0.1484, allocations: 149.2 kB / 0.6647 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008233/0.1492, allocations: 0.527 MB / 0.6652 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/0.1497, allocations: 142.6 kB / 0.6654 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.1499, allocations: 72.81 kB / 0.6654 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.15, allocations: 0 / 0.6654 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.15, allocations: 38.56 kB / 0.6655 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.15, allocations: 0 / 0.6655 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007293/0.1507, allocations: 223.3 kB / 0.6657 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.1508, allocations: 51.41 kB / 0.6657 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.1509, allocations: 159.1 kB / 0.6659 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.1509, allocations: 29.7 kB / 0.6659 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.972e-05/0.151, allocations: 136.2 kB / 0.666 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.1511, allocations: 39.62 kB / 0.6661 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.987e-05/0.1511, allocations: 33.67 kB / 0.6661 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1513, allocations: 322.8 kB / 0.6664 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.1515, allocations: 67.94 kB / 0.6665 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.1517, allocations: 82.52 kB / 0.6666 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/0.1521, allocations: 141.7 kB / 0.6667 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1521, allocations: 7.938 kB / 0.6667 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005026/0.1526, allocations: 189.4 kB / 0.6669 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1527, allocations: 8.062 kB / 0.6669 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1527, allocations: 0 / 0.6669 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1527, allocations: 4 kB / 0.6669 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.1529, allocations: 35.97 kB / 0.6669 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1529, allocations: 3.938 kB / 0.6669 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.1531, allocations: 31.86 kB / 0.667 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.1531, allocations: 4 kB / 0.667 GB, free: 3.176 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.0001099/0.1532, allocations: 129.8 kB / 0.6671 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.1532, allocations: 11.91 kB / 0.6671 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.436e-05/0.1533, allocations: 20.66 kB / 0.6671 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1533, allocations: 0 / 0.6671 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1533, allocations: 3.984 kB / 0.6671 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.1534, allocations: 85.06 kB / 0.6672 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.1534, allocations: 4 kB / 0.6672 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.1536, allocations: 15.98 kB / 0.6672 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.1536, allocations: 23.91 kB / 0.6672 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006429/0.1543, allocations: 268.7 kB / 0.6675 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007349/0.155, allocations: 414.6 kB / 0.6679 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002291/0.1553, allocations: 70.7 kB / 0.668 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.923e-05/0.1553, allocations: 107.3 kB / 0.6681 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of Backend: time 6.22e-07/0.1553, allocations: 4.062 kB / 0.6681 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00056/0.1559, allocations: 164.1 kB / 0.6682 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of SimCode: time 0.000802/0.1567, allocations: 0.8031 MB / 0.669 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of Templates: time 0.004387/0.1611, allocations: 1.785 MB / 0.6708 GB, free: 15.19 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)