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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 96.2 kB / 20.43 MB, free: 4.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 169 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.235/1.235, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.7383/0.7383, allocations: 115 MB / 375.7 MB, free: 7.648 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff,tolerance=1e-08,outputFormat="empty",numberOfIntervals=7200,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=7200,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.316e-06/3.316e-06, allocations: 0.5312 kB / 481.6 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.084e-05/5.415e-05, allocations: 2.312 kB / 481.6 MB, free: 11.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff): time 0.006155/0.006209, allocations: 2.453 MB / 484 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.008644, allocations: 0.7824 MB / 484.8 MB, free: 9.723 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003639/0.009008, allocations: 6.156 kB / 484.8 MB, free: 9.723 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.009331, allocations: 42.56 kB / 484.8 MB, free: 9.691 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.00951, allocations: 43.61 kB / 484.9 MB, free: 9.656 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009623/0.01047, allocations: 173.5 kB / 485.1 MB, free: 9.551 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006727/0.01115, allocations: 401.2 kB / 485.5 MB, free: 9.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005555/0.0117, allocations: 157.2 kB / 485.6 MB, free: 9.258 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005755/0.01228, allocations: 235.6 kB / 485.8 MB, free: 9.133 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.01257, allocations: 111.7 kB / 485.9 MB, free: 9.086 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.01269, allocations: 47.81 kB / 486 MB, free: 9.086 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.01286, allocations: 51.5 kB / 486 MB, free: 9.086 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.01299, allocations: 104.9 kB / 486.1 MB, free: 9.012 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.01316, allocations: 120 kB / 486.3 MB, free: 8.941 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006997/0.01386, allocations: 284.4 kB / 486.5 MB, free: 8.777 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.01387, allocations: 0 / 486.5 MB, free: 8.777 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.01387, allocations: 0 / 486.5 MB, free: 8.777 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.01388, allocations: 0 / 486.5 MB, free: 8.777 MB / 410.7 MB 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.001456/0.01534, allocations: 0.7003 MB / 487.2 MB, free: 8.184 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.932e-05/0.01542, allocations: 11.38 kB / 487.3 MB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004296/0.01585, allocations: 76.77 kB / 487.3 MB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005544/0.0164, allocations: 250 kB / 487.6 MB, free: 7.949 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.119e-05/0.01647, allocations: 36.97 kB / 487.6 MB, free: 7.934 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.42e-05/0.01656, allocations: 37.88 kB / 487.6 MB, free: 7.926 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008192/0.01738, allocations: 372.3 kB / 488 MB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.0174, allocations: 0 / 488 MB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/0.01745, allocations: 15.59 kB / 488 MB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/0.01748, allocations: 7.938 kB / 488 MB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.01792, allocations: 133.9 kB / 488.2 MB, free: 7.688 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.01976, allocations: 0.773 MB / 488.9 MB, free: 7.172 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000714/0.02047, allocations: 203.6 kB / 489.1 MB, free: 7.102 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.02068, allocations: 83.7 kB / 489.2 MB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.505e-05/0.02073, allocations: 7.109 kB / 489.2 MB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004619/0.02119, allocations: 194.8 kB / 489.4 MB, free: 6.988 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 5.441e-06/0.0212, allocations: 0 / 489.4 MB, free: 6.988 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.00103/0.02223, allocations: 392.9 kB / 489.8 MB, free: 6.875 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.266e-05/0.02232, allocations: 112.6 kB / 489.9 MB, free: 6.746 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.02263, allocations: 273.5 kB / 490.2 MB, free: 6.535 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.998e-05/0.02268, allocations: 39.08 kB / 490.2 MB, free: 6.496 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004623/0.02314, allocations: 224.5 kB / 490.4 MB, free: 22.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.979e-05/0.02323, allocations: 82.59 kB / 490.5 MB, free: 22.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.0234, allocations: 92.53 kB / 490.6 MB, free: 22.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002491/0.02365, allocations: 0.5041 MB / 491.1 MB, free: 21.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.02381, allocations: 56.5 kB / 491.2 MB, free: 21.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.02406, allocations: 189.2 kB / 491.3 MB, free: 21.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.02436, allocations: 156.1 kB / 491.5 MB, free: 21.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.02437, allocations: 0.7812 kB / 491.5 MB, free: 21.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005877/0.02496, allocations: 255.9 kB / 491.7 MB, free: 21.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.025, allocations: 6 kB / 491.8 MB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.02501, allocations: 0 / 491.8 MB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.858e-05/0.02505, allocations: 3.531 kB / 491.8 MB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.02531, allocations: 50.78 kB / 491.8 MB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/0.02532, allocations: 7.312 kB / 491.8 MB, free: 21.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.0255, allocations: 35.44 kB / 491.8 MB, free: 21.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.02554, allocations: 16.83 kB / 491.9 MB, free: 21.27 MB / 426.7 MB 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.0002508/0.02579, allocations: 199.4 kB / 492.1 MB, free: 21.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.623e-05/0.02588, allocations: 45.67 kB / 492.1 MB, free: 21.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.247e-05/0.02597, allocations: 30.47 kB / 492.1 MB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.02598, allocations: 6.094 kB / 492.1 MB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.02599, allocations: 0 / 492.1 MB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.026, allocations: 11.11 kB / 492.2 MB, free: 21.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.02744, allocations: 0.7301 MB / 492.9 MB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.02744, allocations: 0 / 492.9 MB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.02758, allocations: 20.34 kB / 492.9 MB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.02759, allocations: 3.031 kB / 492.9 MB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.02762, allocations: 16.27 kB / 492.9 MB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.02763, allocations: 1.188 kB / 492.9 MB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.02763, allocations: 0 / 492.9 MB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007618/0.02839, allocations: 478.2 kB / 493.4 MB, free: 20.31 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.02845, allocations: 38.69 kB / 493.4 MB, free: 20.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.923e-05/0.02851, allocations: 13.94 kB / 493.4 MB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.02867, allocations: 21.34 kB / 493.5 MB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.02883, allocations: 42.94 kB / 493.5 MB, free: 20.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.303e-05/0.02889, allocations: 17.53 kB / 493.5 MB, free: 20.26 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001837/0.02907, allocations: 181.8 kB / 493.7 MB, free: 20.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02907, allocations: 0.7812 kB / 493.7 MB, free: 20.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005171/0.02959, allocations: 77.56 kB / 493.8 MB, free: 20.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 26 (onOffCtr.onOffFuzLog.staOn,onOffCtr.onOffFuzLog.staOff,onOffCtr.notIsOn.y,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition2,$whenCondition1,hys.y,onOffCtr.ySetOn.y,onOffCtr.isAblToTurOff.y,onOffCtr.preOnOff.u,onOffCtr.cycRatBou.y,onOffCtr.cycRatBou.triAdd.y,onOffCtr.locTimCtr.y,onOffCtr.locTimCtr.runTim.entryTime,onOffCtr.runTimCtr.runTim.entryTime,onOffCtr.andIsAblToTurOn.y,onOffCtr.onOffFuzLog.turOn,onOffCtr.onOffFuzLog.turOff,onOffCtr.onOffFuzLog.devRunMin,onOffCtr.onOffFuzLog.devTurOff,onOffCtr.onOffFuzLog.devNorOpe) * Number of discrete states: 6 (onOffCtr.preOnOff.u,onOffCtr.ySetOn.y,onOffCtr.onOffFuzLog.turOn,onOffCtr.onOffFuzLog.turOff,onOffCtr.cycRatBou.triAdd.y,hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002565/0.02984, allocations: 124.9 kB / 493.9 MB, free: 20 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005695/0.03041, allocations: 208.5 kB / 494.1 MB, free: 19.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.03042, allocations: 1.75 kB / 494.1 MB, free: 19.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.0307, allocations: 131 kB / 494.2 MB, free: 19.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.0311, allocations: 32.05 kB / 494.3 MB, free: 19.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.03301, allocations: 0.5302 MB / 494.8 MB, free: 19.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.03312, allocations: 92.88 kB / 494.9 MB, free: 19.51 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.03325, allocations: 31.05 kB / 494.9 MB, free: 19.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.03338, allocations: 35.05 kB / 494.9 MB, free: 19.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.694e-06/0.03338, allocations: 0 / 494.9 MB, free: 19.5 MB / 426.7 MB Notification: Performance of Templates: time 0.01146/0.04484, allocations: 3.044 MB / 498 MB, free: 19.26 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.makefile [Timeout 660] (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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.530392087996006]