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.00103/0.00103, allocations: 108.1 kB / 16.41 MB, free: 6.516 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.000994/0.0009941, allocations: 187.9 kB / 17.35 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.296/1.296, 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.7653/0.7653, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 60.97 kB / 0.5862 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1554, allocations: 80.93 MB / 0.6653 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003236/0.1586, allocations: 2.023 MB / 0.6673 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009723/0.1596, allocations: 0.5376 MB / 0.6678 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.1598, allocations: 4 kB / 0.6678 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.1599, allocations: 23.72 kB / 0.6678 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.1601, allocations: 43.58 kB / 0.6678 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.1603, allocations: 51.88 kB / 0.6679 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.1605, allocations: 183.2 kB / 0.6681 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.1607, allocations: 74.3 kB / 0.6681 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.1609, allocations: 79.7 kB / 0.6682 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.161, allocations: 79.61 kB / 0.6683 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.1611, allocations: 16 kB / 0.6683 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.208e-05/0.1611, allocations: 16 kB / 0.6683 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.875e-05/0.1611, allocations: 31.91 kB / 0.6684 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.032e-05/0.1612, allocations: 87.53 kB / 0.6684 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.1615, allocations: 171.3 kB / 0.6686 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1615, allocations: 0 / 0.6686 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1615, allocations: 0 / 0.6686 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.1615, allocations: 0 / 0.6686 GB, free: 2.391 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.0008049/0.1623, allocations: 498.7 kB / 0.6691 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1623, allocations: 9.109 kB / 0.6691 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.1624, allocations: 20.75 kB / 0.6691 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.1626, allocations: 204.1 kB / 0.6693 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.81e-05/0.1627, allocations: 42.25 kB / 0.6693 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.1627, allocations: 20.31 kB / 0.6694 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.1631, allocations: 151 kB / 0.6695 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1632, allocations: 3.984 kB / 0.6695 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.1632, allocations: 8 kB / 0.6695 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.1632, allocations: 4 kB / 0.6695 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004667/0.1637, allocations: 139.9 kB / 0.6697 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000791/0.1645, allocations: 0.5346 MB / 0.6702 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004303/0.1649, allocations: 134.6 kB / 0.6703 GB, free: 492 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.1651, allocations: 72.81 kB / 0.6704 GB, free: 416 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.1652, allocations: 4 kB / 0.6704 GB, free: 412 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.1652, allocations: 38.56 kB / 0.6704 GB, free: 364 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 3.196e-06/0.1652, allocations: 0 / 0.6704 GB, free: 364 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007042/0.1659, allocations: 225.2 kB / 0.6706 GB, free: 132 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.1659, allocations: 59.41 kB / 0.6707 GB, free: 60 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.1661, allocations: 142.2 kB / 0.6708 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.1661, allocations: 33.7 kB / 0.6709 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.491e-05/0.1662, allocations: 132.1 kB / 0.671 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.1662, allocations: 43.38 kB / 0.671 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.1663, allocations: 29.72 kB / 0.671 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1664, allocations: 326.8 kB / 0.6714 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.1666, allocations: 59.94 kB / 0.6714 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.1668, allocations: 92.48 kB / 0.6715 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.1672, allocations: 145.4 kB / 0.6716 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1672, allocations: 0 / 0.6716 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004613/0.1677, allocations: 193.3 kB / 0.6718 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1677, allocations: 8 kB / 0.6718 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1677, allocations: 0 / 0.6718 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1678, allocations: 0 / 0.6718 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.1679, allocations: 39.91 kB / 0.6719 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.168, allocations: 7.984 kB / 0.6719 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.1681, allocations: 35.88 kB / 0.6719 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1681, allocations: 4 kB / 0.6719 GB, free: 14.73 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 9.482e-05/0.1682, allocations: 125.8 kB / 0.672 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-05/0.1683, allocations: 11.91 kB / 0.6721 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.232e-05/0.1683, allocations: 16.72 kB / 0.6721 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1683, allocations: 7.969 kB / 0.6721 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1683, allocations: 0 / 0.6721 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.1684, allocations: 92.92 kB / 0.6722 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.1684, allocations: 4 kB / 0.6722 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.1686, allocations: 19.97 kB / 0.6722 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.1686, allocations: 15.92 kB / 0.6722 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005962/0.1692, allocations: 264.7 kB / 0.6725 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007384/0.17, allocations: 410.6 kB / 0.6728 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002064/0.1702, allocations: 67.97 kB / 0.6729 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.632e-05/0.1703, allocations: 112.1 kB / 0.673 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of Backend: time 3.21e-07/0.1703, allocations: 3.938 kB / 0.673 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005078/0.1708, allocations: 159.2 kB / 0.6732 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0008318/0.1717, allocations: 0.8149 MB / 0.674 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of Templates: time 0.004404/0.1761, allocations: 1.775 MB / 0.6757 GB, free: 10.77 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)