Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.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.OnOff,tolerance=1e-08,outputFormat="empty",numberOfIntervals=14400,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff,tolerance=1e-08,outputFormat="empty",numberOfIntervals=14400,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 114.7 kB / 17.09 MB, free: 6.008 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.00131/0.00131, allocations: 189.6 kB / 18.03 MB, free: 5.086 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.394/1.394, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7983/0.7983, allocations: 126.1 MB / 417.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 63.38 kB / 0.5738 GB, free: 27.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1592, allocations: 78.7 MB / 0.6506 GB, free: 4.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff): time 0.00353/0.1628, allocations: 2.369 MB / 0.653 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.1641, allocations: 0.7246 MB / 0.6537 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.1642, allocations: 7.938 kB / 0.6537 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.1644, allocations: 43.47 kB / 0.6537 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.1645, allocations: 43.59 kB / 0.6538 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.165, allocations: 155.8 kB / 0.6539 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003931/0.1654, allocations: 392.2 kB / 0.6543 GB, free: 316 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003856/0.1658, allocations: 245.1 kB / 0.6545 GB, free: 64 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.166, allocations: 147.6 kB / 0.6547 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.1661, allocations: 155.1 kB / 0.6548 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.329e-05/0.1662, allocations: 48 kB / 0.6549 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.621e-05/0.1663, allocations: 48 kB / 0.6549 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.52e-05/0.1664, allocations: 99.73 kB / 0.655 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.1665, allocations: 179.1 kB / 0.6552 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005059/0.167, allocations: 0.5175 MB / 0.6557 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.167, allocations: 0 / 0.6557 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1671, allocations: 0 / 0.6557 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.1671, allocations: 0 / 0.6557 GB, free: 14.88 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.0009821/0.1681, allocations: 0.6902 MB / 0.6563 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1681, allocations: 8.031 kB / 0.6563 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.754e-05/0.1682, allocations: 48.7 kB / 0.6564 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.1686, allocations: 296.5 kB / 0.6567 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.1686, allocations: 33.02 kB / 0.6567 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.1687, allocations: 35.94 kB / 0.6567 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006915/0.1694, allocations: 381.8 kB / 0.6571 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1694, allocations: 0 / 0.6571 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.1695, allocations: 16 kB / 0.6571 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.1695, allocations: 8 kB / 0.6571 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004258/0.1699, allocations: 238.5 kB / 0.6574 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.1713, allocations: 0.9247 MB / 0.6583 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005738/0.1719, allocations: 326.7 kB / 0.6586 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.1721, allocations: 172.1 kB / 0.6587 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.1721, allocations: 7.984 kB / 0.6587 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003698/0.1725, allocations: 233.4 kB / 0.659 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.1725, allocations: 0 / 0.659 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0008076/0.1733, allocations: 478.8 kB / 0.6594 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001764/0.1735, allocations: 110.8 kB / 0.6595 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.1737, allocations: 223.7 kB / 0.6597 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.1738, allocations: 37.7 kB / 0.6598 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/0.174, allocations: 180.6 kB / 0.66 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.432e-05/0.1741, allocations: 79.38 kB / 0.66 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.1742, allocations: 90.11 kB / 0.6601 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002068/0.1744, allocations: 338.8 kB / 0.6604 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.1747, allocations: 96.83 kB / 0.6605 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.1749, allocations: 162.3 kB / 0.6607 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.1752, allocations: 207.8 kB / 0.6609 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1752, allocations: 0 / 0.6609 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004938/0.1757, allocations: 316.9 kB / 0.6612 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1758, allocations: 4 kB / 0.6612 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1758, allocations: 128 / 0.6612 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.1758, allocations: 11.94 kB / 0.6612 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.176, allocations: 39.91 kB / 0.6612 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.176, allocations: 7.938 kB / 0.6612 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.1761, allocations: 35.88 kB / 0.6613 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.1762, allocations: 15.98 kB / 0.6613 GB, free: 8.82 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 40 (onOffCtr.onOffFuzLog.devTurOff,$PRE.onOffCtr.onOffFuzLog.devTurOff,onOffCtr.onOffFuzLog.devNorOpe,$PRE.onOffCtr.onOffFuzLog.devNorOpe,onOffCtr.onOffFuzLog.devRunMin,$PRE.onOffCtr.onOffFuzLog.devRunMin,onOffCtr.onOffFuzLog.staOn,onOffCtr.onOffFuzLog.staOff,onOffCtr.onOffFuzLog.turOff,$PRE.onOffCtr.onOffFuzLog.turOff,onOffCtr.onOffFuzLog.turOn,$PRE.onOffCtr.onOffFuzLog.turOn,onOffCtr.andIsAblToTurOn.y,onOffCtr.runTimCtr.runTim.entryTime,$PRE.onOffCtr.runTimCtr.runTim.entryTime,onOffCtr.notIsOn.y,onOffCtr.locTimCtr.runTim.entryTime,$PRE.onOffCtr.locTimCtr.runTim.entryTime,onOffCtr.locTimCtr.y,onOffCtr.cycRatBou.triAdd.y,$PRE.onOffCtr.cycRatBou.triAdd.y,onOffCtr.cycRatBou.y,onOffCtr.preOnOff.u,$PRE.onOffCtr.preOnOff.u,onOffCtr.isAblToTurOff.y,onOffCtr.ySetOn.y,$PRE.onOffCtr.ySetOn.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,onOffCtr.cycRatBou.intConPluOne.y,onOffCtr.cycRatBou.triAdd.local_set,onOffCtr.cycRatBou.triAdd.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001776/0.1764, allocations: 182.9 kB / 0.6615 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.1764, allocations: 39.8 kB / 0.6615 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.51e-05/0.1765, allocations: 30.59 kB / 0.6615 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1765, allocations: 3.984 kB / 0.6615 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1765, allocations: 0 / 0.6615 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.1766, allocations: 104.8 kB / 0.6616 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.1766, allocations: 15.98 kB / 0.6617 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.1768, allocations: 23.97 kB / 0.6617 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.1769, allocations: 43.94 kB / 0.6617 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006872/0.1776, allocations: 449.8 kB / 0.6621 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000717/0.1783, allocations: 0.5338 MB / 0.6627 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002734/0.1786, allocations: 219.9 kB / 0.6629 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001199/0.1787, allocations: 149.5 kB / 0.663 GB, free: 7 MB / 0.4981 GB Notification: Performance of Backend: time 3.1e-07/0.1787, allocations: 4 kB / 0.663 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006718/0.1794, allocations: 261.8 kB / 0.6633 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0008703/0.1803, allocations: 0.8907 MB / 0.6641 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of Templates: time 0.006868/0.1872, allocations: 3.296 MB / 0.6674 GB, free: 2.504 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe 2>&1)