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.0008764/0.0008764, 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.0009119/0.0009119, allocations: 169 kB / 24.14 MB, free: 356 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 0.9235/0.9235, allocations: 177.1 MB / 204.5 MB, free: 5.086 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.6259/0.6259, allocations: 115 MB / 376 MB, free: 7.438 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.122e-06/1.122e-06, allocations: 0 / 428.8 MB, free: 2.773 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.192e-05, allocations: 2.312 kB / 428.8 MB, free: 2.77 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff): time 0.002732/0.002754, allocations: 2.403 MB / 431.2 MB, free: 360 kB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009297/0.003684, allocations: 0.7944 MB / 432 MB, free: 15.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.0038, allocations: 7.938 kB / 432 MB, free: 15.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.003931, allocations: 43.53 kB / 432 MB, free: 15.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.474e-05/0.004006, allocations: 43.53 kB / 432.1 MB, free: 15.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.004319, allocations: 179.6 kB / 432.2 MB, free: 15.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000246/0.004565, allocations: 396.1 kB / 432.6 MB, free: 14.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002314/0.004797, allocations: 165.5 kB / 432.8 MB, free: 14.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.005004, allocations: 235.5 kB / 433 MB, free: 14.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.005114, allocations: 111.6 kB / 433.1 MB, free: 14.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.869e-05/0.005153, allocations: 44 kB / 433.2 MB, free: 14.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.649e-05/0.005209, allocations: 60 kB / 433.2 MB, free: 14.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.176e-05/0.005261, allocations: 99.7 kB / 433.3 MB, free: 14.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.511e-05/0.005336, allocations: 119.7 kB / 433.4 MB, free: 14.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.00557, allocations: 275 kB / 433.7 MB, free: 13.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.005572, allocations: 4 kB / 433.7 MB, free: 13.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.4e-07/0.005572, allocations: 0 / 433.7 MB, free: 13.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.005576, allocations: 0 / 433.7 MB, free: 13.8 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.0005572/0.006133, allocations: 0.5786 MB / 434.3 MB, free: 13.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.006164, allocations: 12.03 kB / 434.3 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.006286, allocations: 76.81 kB / 434.4 MB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.00648, allocations: 193 kB / 434.6 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.006507, allocations: 29.03 kB / 434.6 MB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.00654, allocations: 44.36 kB / 434.6 MB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.006806, allocations: 342 kB / 435 MB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.006816, allocations: 0 / 435 MB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.006838, allocations: 23.92 kB / 435 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.006845, allocations: 4 kB / 435 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.006949, allocations: 92.55 kB / 435.1 MB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006289/0.007578, allocations: 0.5358 MB / 435.6 MB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.007797, allocations: 166.5 kB / 435.8 MB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.501e-05/0.007852, allocations: 56.78 kB / 435.8 MB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.00787, allocations: 4 kB / 435.8 MB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.008037, allocations: 185.4 kB / 436 MB, free: 11.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.332e-06/0.008038, allocations: 0 / 436 MB, free: 11.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0002408/0.008279, allocations: 235.1 kB / 436.3 MB, free: 11.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.008327, allocations: 114.8 kB / 436.4 MB, free: 10.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.008441, allocations: 215.3 kB / 436.6 MB, free: 10.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.008466, allocations: 37.7 kB / 436.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.008533, allocations: 164.7 kB / 436.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.008579, allocations: 87.33 kB / 436.9 MB, free: 10.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/0.00865, allocations: 86.12 kB / 436.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.728e-05/0.008738, allocations: 346.7 kB / 437.3 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.349e-05/0.008781, allocations: 36.97 kB / 437.3 MB, free: 9.984 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.722e-05/0.008868, allocations: 154.3 kB / 437.5 MB, free: 9.801 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.008979, allocations: 131.8 kB / 437.6 MB, free: 9.656 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.008981, allocations: 0 / 437.6 MB, free: 9.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000157/0.009138, allocations: 181 kB / 437.8 MB, free: 9.473 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.009149, allocations: 15.28 kB / 437.8 MB, free: 9.461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.009153, allocations: 0 / 437.8 MB, free: 9.461 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.009166, allocations: 4 kB / 437.8 MB, free: 9.457 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.118e-05/0.009257, allocations: 47.91 kB / 437.8 MB, free: 9.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.367e-06/0.009261, allocations: 0 / 437.8 MB, free: 9.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.363e-05/0.009324, allocations: 39.77 kB / 437.9 MB, free: 9.371 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.009336, allocations: 11.94 kB / 437.9 MB, free: 9.359 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.132e-05/0.009427, allocations: 151 kB / 438 MB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.009457, allocations: 39.95 kB / 438.1 MB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.009494, allocations: 34.64 kB / 438.1 MB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.009496, allocations: 4 kB / 438.1 MB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.009498, allocations: 4 kB / 438.1 MB, free: 9.117 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.009502, allocations: 4 kB / 438.1 MB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006499/0.01015, allocations: 451.9 kB / 438.6 MB, free: 8.648 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.01015, allocations: 3.938 kB / 438.6 MB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.401e-05/0.0102, allocations: 19.98 kB / 438.6 MB, free: 8.625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.0102, allocations: 4 kB / 438.6 MB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.01021, allocations: 11.92 kB / 438.6 MB, free: 8.609 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.01021, allocations: 8 kB / 438.6 MB, free: 8.602 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01022, allocations: 3.938 kB / 438.6 MB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.01039, allocations: 296.5 kB / 438.9 MB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.01041, allocations: 23.8 kB / 438.9 MB, free: 8.266 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.01043, allocations: 11.98 kB / 438.9 MB, free: 8.254 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.503e-05/0.0105, allocations: 15.98 kB / 439 MB, free: 8.238 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.01056, allocations: 43.86 kB / 439 MB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.01057, allocations: 15.98 kB / 439 MB, free: 8.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.181e-05/0.01061, allocations: 53.78 kB / 439.1 MB, free: 8.125 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01061, allocations: 0 / 439.1 MB, free: 8.125 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001694/0.01078, allocations: 87.78 kB / 439.2 MB, free: 8.039 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 8.91e-05/0.01087, allocations: 107 kB / 439.3 MB, free: 7.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000173/0.01105, allocations: 169.6 kB / 439.4 MB, free: 7.762 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.01105, allocations: 8 kB / 439.4 MB, free: 7.754 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.849e-05/0.01114, allocations: 104.7 kB / 439.5 MB, free: 7.648 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.01127, allocations: 31.59 kB / 439.6 MB, free: 7.621 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006693/0.01194, allocations: 0.5179 MB / 440.1 MB, free: 7.078 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.99e-05/0.01199, allocations: 93.56 kB / 440.2 MB, free: 6.961 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.258e-05/0.01205, allocations: 26.28 kB / 440.2 MB, free: 6.934 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.802e-05/0.01215, allocations: 95.34 kB / 440.3 MB, free: 6.84 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01215, allocations: 4 kB / 440.3 MB, free: 6.836 MB / 410.7 MB Notification: Performance of Templates: time 0.004741/0.01689, allocations: 3.252 MB / 443.5 MB, free: 3.59 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 -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.4703215649351478]