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.001041/0.001041, allocations: 72.83 kB / 20.72 MB, free: 3.77 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.001866/0.001866, allocations: 169 kB / 24.14 MB, free: 360 kB / 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.038/1.038, allocations: 177.2 MB / 204.6 MB, free: 5.496 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.6475/0.6475, allocations: 115 MB / 376 MB, free: 7.504 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 2.414e-06/2.414e-06, allocations: 0 / 428.8 MB, free: 2.699 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.734e-05, allocations: 6.25 kB / 428.8 MB, free: 2.691 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff): time 0.004464/0.004491, allocations: 2.45 MB / 431.3 MB, free: 232 kB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.00572, allocations: 0.7867 MB / 432.1 MB, free: 15.44 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.005851, allocations: 7.938 kB / 432.1 MB, free: 15.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.005994, allocations: 39.47 kB / 432.1 MB, free: 15.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.758e-05/0.006081, allocations: 47.47 kB / 432.2 MB, free: 15.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.006407, allocations: 175.7 kB / 432.3 MB, free: 15.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.006694, allocations: 392.2 kB / 432.7 MB, free: 14.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/0.006949, allocations: 177.5 kB / 432.9 MB, free: 14.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.007193, allocations: 231.5 kB / 433.1 MB, free: 14.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.00731, allocations: 111.6 kB / 433.2 MB, free: 14.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.036e-05/0.00735, allocations: 48 kB / 433.3 MB, free: 14.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.932e-05/0.00742, allocations: 48 kB / 433.3 MB, free: 14.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.362e-05/0.007473, allocations: 99.66 kB / 433.4 MB, free: 14.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.106e-05/0.007564, allocations: 127.7 kB / 433.5 MB, free: 13.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.007857, allocations: 278.9 kB / 433.8 MB, free: 13.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.007859, allocations: 0 / 433.8 MB, free: 13.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.00786, allocations: 0 / 433.8 MB, free: 13.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.007864, allocations: 0 / 433.8 MB, free: 13.69 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.0006385/0.008502, allocations: 0.5786 MB / 434.4 MB, free: 13.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.008533, allocations: 12.03 kB / 434.4 MB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/0.008733, allocations: 68.88 kB / 434.5 MB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.00895, allocations: 205 kB / 434.7 MB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.008979, allocations: 29.03 kB / 434.7 MB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.009008, allocations: 36.36 kB / 434.7 MB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.009291, allocations: 346 kB / 435.1 MB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.009303, allocations: 3.984 kB / 435.1 MB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.009324, allocations: 23.98 kB / 435.1 MB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.009333, allocations: 8 kB / 435.1 MB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.009447, allocations: 88.55 kB / 435.2 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007042/0.01015, allocations: 0.5397 MB / 435.7 MB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.01037, allocations: 158.4 kB / 435.9 MB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.919e-05/0.01043, allocations: 64.77 kB / 435.9 MB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.01045, allocations: 12 kB / 436 MB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.01063, allocations: 185.3 kB / 436.1 MB, free: 11.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.532e-06/0.01063, allocations: 0 / 436.1 MB, free: 11.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0003795/0.01101, allocations: 231.2 kB / 436.4 MB, free: 10.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.01106, allocations: 114.8 kB / 436.5 MB, free: 10.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.01117, allocations: 207.3 kB / 436.7 MB, free: 10.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.01119, allocations: 45.69 kB / 436.7 MB, free: 10.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.01126, allocations: 156.7 kB / 436.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.01131, allocations: 87.39 kB / 437 MB, free: 10.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.67e-05/0.01138, allocations: 90.12 kB / 437.1 MB, free: 10.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.083e-05/0.01147, allocations: 342.7 kB / 437.4 MB, free: 9.898 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.398e-05/0.01151, allocations: 36.97 kB / 437.4 MB, free: 9.863 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.358e-05/0.0116, allocations: 154.3 kB / 437.6 MB, free: 9.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.01172, allocations: 132.1 kB / 437.7 MB, free: 9.535 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01172, allocations: 0 / 437.7 MB, free: 9.535 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0001738/0.01189, allocations: 185.1 kB / 437.9 MB, free: 9.348 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.01191, allocations: 4 kB / 437.9 MB, free: 9.344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.01191, allocations: 4 kB / 437.9 MB, free: 9.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.01192, allocations: 0 / 437.9 MB, free: 9.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.01203, allocations: 47.91 kB / 437.9 MB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.01203, allocations: 4 kB / 437.9 MB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.987e-05/0.0121, allocations: 43.7 kB / 438 MB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.01212, allocations: 19.92 kB / 438 MB, free: 9.227 MB / 410.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.triAdd.local_reset,onOffCtr.cycRatBou.triAdd.local_set,onOffCtr.cycRatBou.intConPluOne.y) * 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 9.849e-05/0.01222, allocations: 155.1 kB / 438.2 MB, free: 9.062 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.01225, allocations: 39.91 kB / 438.2 MB, free: 9.023 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.01229, allocations: 30.64 kB / 438.2 MB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.01229, allocations: 4 kB / 438.2 MB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.01229, allocations: 0 / 438.2 MB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.0123, allocations: 0 / 438.2 MB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/0.01273, allocations: 459.9 kB / 438.7 MB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01273, allocations: 3.984 kB / 438.7 MB, free: 8.512 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.371e-05/0.01278, allocations: 19.98 kB / 438.7 MB, free: 8.492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.01279, allocations: 4 kB / 438.7 MB, free: 8.488 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.0128, allocations: 11.98 kB / 438.7 MB, free: 8.477 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.0128, allocations: 0 / 438.7 MB, free: 8.477 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.0128, allocations: 3.938 kB / 438.7 MB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.01299, allocations: 296.5 kB / 439 MB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.814e-05/0.01301, allocations: 23.8 kB / 439 MB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.01303, allocations: 11.98 kB / 439 MB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.0131, allocations: 19.98 kB / 439.1 MB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.01317, allocations: 47.84 kB / 439.1 MB, free: 8.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.01319, allocations: 11.98 kB / 439.1 MB, free: 8.051 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.103e-05/0.01323, allocations: 57.78 kB / 439.2 MB, free: 7.992 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01323, allocations: 0 / 439.2 MB, free: 7.992 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001747/0.01341, allocations: 87.77 kB / 439.3 MB, free: 7.906 MB / 410.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 9.852e-05/0.01351, allocations: 107 kB / 439.4 MB, free: 7.797 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.01369, allocations: 173.3 kB / 439.5 MB, free: 7.625 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.01369, allocations: 0 / 439.5 MB, free: 7.625 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.714e-05/0.01379, allocations: 108.7 kB / 439.6 MB, free: 7.516 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.01394, allocations: 36.22 kB / 439.7 MB, free: 7.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009973/0.01494, allocations: 0.506 MB / 440.2 MB, free: 6.949 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.126e-05/0.01499, allocations: 93.56 kB / 440.3 MB, free: 6.832 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.868e-05/0.01506, allocations: 26.28 kB / 440.3 MB, free: 6.805 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.01516, allocations: 99.36 kB / 440.4 MB, free: 6.707 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01516, allocations: 0 / 440.4 MB, free: 6.707 MB / 410.7 MB Notification: Performance of Templates: time 0.004967/0.02013, allocations: 3.259 MB / 443.7 MB, free: 3.461 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.584295022767037]