Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 111.2 kB / 18.7 MB, free: 3.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008072/0.008072, allocations: 189.6 kB / 21.96 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 250.7 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003649/0.003649, allocations: 287.9 kB / 306.1 MB, free: 8.562 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.226/1.226, allocations: 180.9 MB / 0.5295 GB, free: 14.51 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff,tolerance=1e-08,outputFormat="empty",numberOfIntervals=7200,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff") translateModel(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff,tolerance=1e-08,outputFormat="empty",numberOfIntervals=7200,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002842/0.002842, allocations: 104.8 kB / 0.7301 GB, free: 38.9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1502, allocations: 94.15 MB / 0.8221 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff): time 0.003993/0.1542, allocations: 2.418 MB / 0.8244 GB, free: 192 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1555, allocations: 0.7324 MB / 0.8251 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.1557, allocations: 7.938 kB / 0.8252 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.1558, allocations: 47.52 kB / 0.8252 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.156, allocations: 43.53 kB / 0.8252 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.1564, allocations: 159.7 kB / 0.8254 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004256/0.1568, allocations: 392.2 kB / 0.8258 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003482/0.1572, allocations: 177.2 kB / 0.8259 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.1574, allocations: 147.5 kB / 0.8261 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.1576, allocations: 159.2 kB / 0.8262 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.516e-05/0.1576, allocations: 48 kB / 0.8263 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.916e-05/0.1577, allocations: 48 kB / 0.8263 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.479e-05/0.1578, allocations: 95.75 kB / 0.8264 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.158, allocations: 175.2 kB / 0.8266 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005764/0.1585, allocations: 0.5175 MB / 0.8271 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1586, allocations: 0 / 0.8271 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1586, allocations: 4 kB / 0.8271 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.1586, allocations: 0 / 0.8271 GB, free: 13.45 MB / 0.5762 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.001097/0.1597, allocations: 0.6823 MB / 0.8278 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.1597, allocations: 8.031 kB / 0.8278 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.135e-05/0.1598, allocations: 44.69 kB / 0.8278 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.1602, allocations: 312.3 kB / 0.8281 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.966e-05/0.1602, allocations: 33.03 kB / 0.8281 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-05/0.1603, allocations: 40.36 kB / 0.8282 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006459/0.161, allocations: 374.1 kB / 0.8285 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.161, allocations: 0 / 0.8285 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/0.161, allocations: 19.98 kB / 0.8285 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.161, allocations: 4 kB / 0.8286 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004694/0.1615, allocations: 238.5 kB / 0.8288 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.163, allocations: 0.9248 MB / 0.8297 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005997/0.1636, allocations: 246.8 kB / 0.8299 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.1638, allocations: 112.8 kB / 0.83 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.1639, allocations: 4 kB / 0.83 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004143/0.1643, allocations: 237.3 kB / 0.8303 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.853e-06/0.1643, allocations: 0 / 0.8303 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.0008711/0.1652, allocations: 470.9 kB / 0.8307 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.1652, allocations: 118.7 kB / 0.8308 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.1655, allocations: 217 kB / 0.831 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.1655, allocations: 45.69 kB / 0.8311 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.1657, allocations: 168.7 kB / 0.8312 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-05/0.1657, allocations: 87.36 kB / 0.8313 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.1659, allocations: 90.06 kB / 0.8314 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.166, allocations: 346.7 kB / 0.8317 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.1662, allocations: 92.84 kB / 0.8318 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.1665, allocations: 162.3 kB / 0.832 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.1668, allocations: 208 kB / 0.8322 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1668, allocations: 0 / 0.8322 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005394/0.1674, allocations: 313 kB / 0.8325 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1674, allocations: 4 kB / 0.8325 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1674, allocations: 4 kB / 0.8325 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1674, allocations: 0 / 0.8325 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.1676, allocations: 39.92 kB / 0.8325 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1676, allocations: 3.938 kB / 0.8325 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.1678, allocations: 43.81 kB / 0.8326 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.1678, allocations: 12 kB / 0.8326 GB, free: 7.535 MB / 0.5762 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.0002059/0.168, allocations: 187 kB / 0.8327 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.1681, allocations: 23.86 kB / 0.8328 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.004e-05/0.1681, allocations: 34.64 kB / 0.8328 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.1681, allocations: 0 / 0.8328 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1681, allocations: 0 / 0.8328 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.636e-05/0.1682, allocations: 108.8 kB / 0.8329 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.898e-05/0.1683, allocations: 8 kB / 0.8329 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.1684, allocations: 27.97 kB / 0.8329 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.1685, allocations: 47.94 kB / 0.833 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007362/0.1693, allocations: 449.8 kB / 0.8334 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006877/0.17, allocations: 0.5296 MB / 0.8339 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000244/0.1702, allocations: 143.9 kB / 0.8341 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001336/0.1703, allocations: 149.5 kB / 0.8342 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of Backend: time 4.41e-07/0.1703, allocations: 0 / 0.8342 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006617/0.171, allocations: 248.2 kB / 0.8345 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of SimCode: time 0.0009897/0.172, allocations: 0.8947 MB / 0.8353 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of Templates: time 0.007603/0.1796, allocations: 3.421 MB / 0.8387 GB, free: 1.227 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.071995679056272] Failed to read output from testmodel.py, exit status != 0: 0.18665744713507593 0.20115068500000002 0.039628555 Calling exit ...