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.001923/0.001923, allocations: 92.72 kB / 20.21 MB, free: 4.219 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.002552/0.002552, allocations: 157.7 kB / 23.52 MB, free: 0.9141 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.528/1.528, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.9529/0.9529, allocations: 115 MB / 375.3 MB, free: 7.594 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 1.433e-06/1.433e-06, allocations: 0 / 480.8 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.469e-05, allocations: 6.453 kB / 480.8 MB, free: 11.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff): time 0.003345/0.00337, allocations: 2.336 MB / 483.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.004803, allocations: 0.7608 MB / 483.9 MB, free: 9.793 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002531/0.005056, allocations: 9.906 kB / 484 MB, free: 9.789 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.005253, allocations: 43.11 kB / 484 MB, free: 9.754 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.005391, allocations: 43.34 kB / 484 MB, free: 9.723 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.005904, allocations: 173.3 kB / 484.2 MB, free: 9.613 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004569/0.006361, allocations: 400.7 kB / 484.6 MB, free: 9.402 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003627/0.006724, allocations: 152.2 kB / 484.7 MB, free: 9.324 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003737/0.007097, allocations: 240 kB / 485 MB, free: 9.195 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.007302, allocations: 112.5 kB / 485.1 MB, free: 9.148 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.783e-05/0.0074, allocations: 47.62 kB / 485.1 MB, free: 9.148 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.007528, allocations: 54.44 kB / 485.2 MB, free: 9.145 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.97e-05/0.007608, allocations: 100.8 kB / 485.3 MB, free: 9.074 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.007763, allocations: 125.8 kB / 485.4 MB, free: 9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000616/0.008379, allocations: 0.5353 MB / 485.9 MB, free: 8.793 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.474e-05/0.008394, allocations: 0 / 485.9 MB, free: 8.793 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.008396, allocations: 0.5 kB / 485.9 MB, free: 8.793 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.082e-05/0.008416, allocations: 2.875 kB / 485.9 MB, free: 8.793 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.001162/0.009578, allocations: 0.6064 MB / 486.6 MB, free: 8.305 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.009621, allocations: 9.469 kB / 486.6 MB, free: 8.305 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002589/0.009879, allocations: 85.44 kB / 486.6 MB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.0103, allocations: 250.7 kB / 486.9 MB, free: 8.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.01033, allocations: 31.89 kB / 486.9 MB, free: 8.059 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/0.01039, allocations: 38.02 kB / 487 MB, free: 8.051 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006263/0.01101, allocations: 428.5 kB / 487.4 MB, free: 7.812 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.01103, allocations: 1.031 kB / 487.4 MB, free: 7.812 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.01107, allocations: 15.88 kB / 487.4 MB, free: 7.805 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.01108, allocations: 13 kB / 487.4 MB, free: 7.801 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000481/0.01156, allocations: 239 kB / 487.6 MB, free: 7.711 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.01289, allocations: 0.7442 MB / 488.4 MB, free: 7.242 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005832/0.01347, allocations: 245.2 kB / 488.6 MB, free: 7.141 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.01367, allocations: 111.6 kB / 488.7 MB, free: 7.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.0137, allocations: 10.41 kB / 488.7 MB, free: 7.086 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003819/0.01408, allocations: 230 kB / 489 MB, free: 6.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.445e-06/0.01409, allocations: 0.625 kB / 489 MB, free: 6.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.000935/0.01502, allocations: 496.7 kB / 489.5 MB, free: 6.781 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.01507, allocations: 109.3 kB / 489.6 MB, free: 6.656 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.0153, allocations: 228.4 kB / 489.8 MB, free: 6.504 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.01534, allocations: 40.02 kB / 489.8 MB, free: 6.465 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.645e-05/0.01543, allocations: 173.9 kB / 490 MB, free: 6.316 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.951e-05/0.0155, allocations: 87.08 kB / 490.1 MB, free: 6.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.01563, allocations: 93.3 kB / 490.2 MB, free: 6.199 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002363/0.01587, allocations: 334.6 kB / 490.5 MB, free: 21.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.01607, allocations: 102 kB / 490.6 MB, free: 21.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.01631, allocations: 214.5 kB / 490.8 MB, free: 21.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/0.01665, allocations: 207.5 kB / 491 MB, free: 21.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.01665, allocations: 0.5 kB / 491 MB, free: 21.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005632/0.01722, allocations: 325.8 kB / 491.3 MB, free: 21.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.01724, allocations: 5.781 kB / 491.3 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.01724, allocations: 1.094 kB / 491.3 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.01727, allocations: 3.375 kB / 491.3 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.01745, allocations: 43.3 kB / 491.4 MB, free: 21.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.01746, allocations: 8.594 kB / 491.4 MB, free: 21.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.01765, allocations: 45 kB / 491.4 MB, free: 21.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.01768, allocations: 8.625 kB / 491.4 MB, free: 21.38 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.0002088/0.01789, allocations: 179.8 kB / 491.6 MB, free: 21.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.024e-05/0.01797, allocations: 44.31 kB / 491.7 MB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.354e-05/0.01804, allocations: 34.27 kB / 491.7 MB, free: 21.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.01805, allocations: 3.438 kB / 491.7 MB, free: 21.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.01806, allocations: 1.156 kB / 491.7 MB, free: 21.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.01806, allocations: 5.312 kB / 491.7 MB, free: 21.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.01919, allocations: 0.7518 MB / 492.5 MB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.0192, allocations: 4.156 kB / 492.5 MB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.0193, allocations: 19.25 kB / 492.5 MB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.01931, allocations: 1.312 kB / 492.5 MB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.01933, allocations: 15.41 kB / 492.5 MB, free: 20.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.01934, allocations: 3.047 kB / 492.5 MB, free: 20.72 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01934, allocations: 1.469 kB / 492.5 MB, free: 20.72 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006613/0.02, allocations: 488.7 kB / 493 MB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.044e-05/0.02005, allocations: 31.92 kB / 493 MB, free: 20.44 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.225e-05/0.0201, allocations: 14.33 kB / 493 MB, free: 20.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.02029, allocations: 25.97 kB / 493 MB, free: 20.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.0204, allocations: 43.12 kB / 493.1 MB, free: 20.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.02044, allocations: 21.38 kB / 493.1 MB, free: 20.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001486/0.02059, allocations: 147.3 kB / 493.3 MB, free: 20.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02059, allocations: 2.219 kB / 493.3 MB, free: 20.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000382/0.02097, allocations: 84.03 kB / 493.3 MB, free: 20.29 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.0001948/0.02117, allocations: 126.9 kB / 493.5 MB, free: 20.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005402/0.02171, allocations: 271.5 kB / 493.7 MB, free: 20.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.02171, allocations: 1.5 kB / 493.7 MB, free: 20.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.02197, allocations: 148.8 kB / 493.9 MB, free: 20.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.02229, allocations: 27.17 kB / 493.9 MB, free: 20.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.02336, allocations: 0.5354 MB / 494.4 MB, free: 19.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.02353, allocations: 165.5 kB / 494.6 MB, free: 19.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.02364, allocations: 33.42 kB / 494.6 MB, free: 19.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.02375, allocations: 34.83 kB / 494.7 MB, free: 19.61 MB / 426.7 MB Notification: Performance of SimCode: time 6.92e-07/0.02375, allocations: 0 / 494.7 MB, free: 19.61 MB / 426.7 MB Notification: Performance of Templates: time 0.007701/0.03145, allocations: 3.053 MB / 497.7 MB, free: 19.36 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.633212349028327]