Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 113.1 kB / 17.09 MB, free: 5.957 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.001269/0.001269, allocations: 200.2 kB / 18.03 MB, free: 5.035 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.312/1.312, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8355/0.8355, allocations: 126.1 MB / 417.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 68.19 kB / 0.5738 GB, free: 27.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1588, allocations: 78.7 MB / 0.6507 GB, free: 4.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003269/0.1621, allocations: 2.063 MB / 0.6527 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009904/0.1631, allocations: 0.5649 MB / 0.6532 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.1633, allocations: 7.938 kB / 0.6532 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.1634, allocations: 19.73 kB / 0.6533 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.661e-05/0.1635, allocations: 39.59 kB / 0.6533 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.1638, allocations: 91.88 kB / 0.6534 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.1641, allocations: 271.3 kB / 0.6536 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.1644, allocations: 122.8 kB / 0.6538 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.1645, allocations: 103.7 kB / 0.6539 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.1646, allocations: 123.5 kB / 0.654 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.736e-05/0.1647, allocations: 28 kB / 0.654 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.052e-05/0.1647, allocations: 24 kB / 0.654 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.34e-05/0.1648, allocations: 55.78 kB / 0.6541 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.1649, allocations: 119.4 kB / 0.6542 GB, free: 412 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.1653, allocations: 270.9 kB / 0.6544 GB, free: 140 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1653, allocations: 4 kB / 0.6545 GB, free: 136 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1653, allocations: 0 / 0.6545 GB, free: 136 kB / 494.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1653, allocations: 4 kB / 0.6545 GB, free: 132 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001127/0.1664, allocations: 0.6457 MB / 0.6551 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1665, allocations: 8.031 kB / 0.6551 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.939e-05/0.1666, allocations: 28.8 kB / 0.6551 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.1669, allocations: 260.4 kB / 0.6554 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.167, allocations: 23.38 kB / 0.6554 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.167, allocations: 23.98 kB / 0.6554 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005733/0.1676, allocations: 258.4 kB / 0.6557 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1676, allocations: 4 kB / 0.6557 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.1677, allocations: 8 kB / 0.6557 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1677, allocations: 4 kB / 0.6557 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006156/0.1683, allocations: 203.8 kB / 0.6559 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.1693, allocations: 0.6132 MB / 0.6565 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007437/0.1701, allocations: 226.4 kB / 0.6567 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002803/0.1704, allocations: 88.78 kB / 0.6568 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.1704, allocations: 3.984 kB / 0.6568 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004625/0.1709, allocations: 191.1 kB / 0.657 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.854e-06/0.1709, allocations: 0 / 0.657 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0009974/0.1719, allocations: 334.8 kB / 0.6573 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/0.172, allocations: 106.8 kB / 0.6574 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.1722, allocations: 210.8 kB / 0.6576 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.1722, allocations: 41.7 kB / 0.6576 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.841e-05/0.1723, allocations: 152.3 kB / 0.6578 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.1724, allocations: 51.61 kB / 0.6578 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.861e-05/0.1725, allocations: 65.66 kB / 0.6579 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1726, allocations: 338.8 kB / 0.6582 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.173, allocations: 104.2 kB / 0.6583 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/0.1733, allocations: 179.3 kB / 0.6585 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006306/0.174, allocations: 312.2 kB / 0.6588 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.174, allocations: 3.938 kB / 0.6588 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008382/0.1748, allocations: 424.7 kB / 0.6592 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.832e-05/0.1749, allocations: 89.09 kB / 0.6593 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.1749, allocations: 0 / 0.6593 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1749, allocations: 4 kB / 0.6593 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.1752, allocations: 43.91 kB / 0.6593 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.1752, allocations: 7.984 kB / 0.6593 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.1755, allocations: 59.92 kB / 0.6594 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.1755, allocations: 8 kB / 0.6594 GB, free: 10.72 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 25 (antFre.disErr.y,$PRE.antFre.disErr.y,TEvaOutEmu.count,$PRE.TEvaOutEmu.count,TEvaOutEmu.T_start,$PRE.TEvaOutEmu.T_start,TConInEmu.count,$PRE.TConInEmu.count,TConInEmu.T_start,$PRE.TConInEmu.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,antFre.hys.y,$PRE.antFre.hys.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,antFre.intConOne.y,antFre.disErr.local_set,antFre.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 3 * 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.0001464/0.1757, allocations: 155.2 kB / 0.6595 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.1757, allocations: 19.91 kB / 0.6595 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007197/0.1764, allocations: 264.8 kB / 0.6598 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1765, allocations: 0 / 0.6598 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1765, allocations: 4 kB / 0.6598 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.1765, allocations: 92.95 kB / 0.6599 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.1766, allocations: 11.98 kB / 0.6599 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.1768, allocations: 35.95 kB / 0.6599 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.177, allocations: 55.81 kB / 0.66 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008585/0.1779, allocations: 340.7 kB / 0.6603 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007122/0.1786, allocations: 420.7 kB / 0.6607 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003153/0.1789, allocations: 115.8 kB / 0.6608 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001129/0.179, allocations: 140.5 kB / 0.661 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of Backend: time 5.51e-07/0.179, allocations: 0 / 0.661 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008545/0.1799, allocations: 408.4 kB / 0.6613 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0008151/0.1807, allocations: 0.7941 MB / 0.6621 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.007421/0.1881, allocations: 3.541 MB / 0.6656 GB, free: 4.25 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1)