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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff,tolerance=1e-08,outputFormat="empty",numberOfIntervals=14400,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=14400,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 110 kB / 16.64 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 183.5 kB / 17.56 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8261/0.8261, allocations: 126.1 MB / 417.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 63.89 kB / 0.4951 GB, free: 3.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4456, allocations: 78.71 MB / 0.572 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff): time 0.004205/0.4499, allocations: 2.392 MB / 0.5743 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.4513, allocations: 0.6986 MB / 0.575 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.4515, allocations: 5.312 kB / 0.575 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.4518, allocations: 25.44 kB / 0.5751 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.4519, allocations: 27.39 kB / 0.5751 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004668/0.4523, allocations: 143.5 kB / 0.5752 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004166/0.4528, allocations: 391.7 kB / 0.5756 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004515/0.4532, allocations: 237.5 kB / 0.5758 GB, free: 29.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.4534, allocations: 149.9 kB / 0.576 GB, free: 29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.4536, allocations: 165 kB / 0.5761 GB, free: 28.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.583e-05/0.4537, allocations: 47.5 kB / 0.5762 GB, free: 28.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.425e-05/0.4538, allocations: 47.34 kB / 0.5762 GB, free: 28.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.801e-05/0.4539, allocations: 93.17 kB / 0.5763 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.4541, allocations: 183.5 kB / 0.5765 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005606/0.4546, allocations: 414.4 kB / 0.5769 GB, free: 28.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.4546, allocations: 5.875 kB / 0.5769 GB, free: 28.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4546, allocations: 4.812 kB / 0.5769 GB, free: 28.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.4547, allocations: 0.6094 kB / 0.5769 GB, free: 28.59 MB / 446.1 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.001033/0.4557, allocations: 0.6694 MB / 0.5775 GB, free: 28.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.4557, allocations: 9.625 kB / 0.5775 GB, free: 28.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.208e-05/0.4558, allocations: 44.69 kB / 0.5776 GB, free: 28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.4562, allocations: 304.8 kB / 0.5779 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/0.4562, allocations: 31.41 kB / 0.5779 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.111e-05/0.4563, allocations: 38.75 kB / 0.5779 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005968/0.4569, allocations: 383.2 kB / 0.5783 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.4569, allocations: 0 / 0.5783 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.457, allocations: 13.5 kB / 0.5783 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.457, allocations: 6.875 kB / 0.5783 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00043/0.4574, allocations: 242.1 kB / 0.5786 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.4588, allocations: 0.9318 MB / 0.5795 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006109/0.4594, allocations: 321 kB / 0.5798 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.4597, allocations: 180.8 kB / 0.5799 GB, free: 26.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.4597, allocations: 7.344 kB / 0.5799 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005127/0.4603, allocations: 238.3 kB / 0.5802 GB, free: 26.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.013e-06/0.4603, allocations: 0 / 0.5802 GB, free: 26.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008196/0.4611, allocations: 469.1 kB / 0.5806 GB, free: 25.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.4612, allocations: 114.1 kB / 0.5807 GB, free: 25.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.4614, allocations: 224.5 kB / 0.5809 GB, free: 25.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.4614, allocations: 39.89 kB / 0.581 GB, free: 25.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.251e-05/0.4615, allocations: 176.5 kB / 0.5812 GB, free: 25.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.946e-05/0.4616, allocations: 75.77 kB / 0.5812 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.4617, allocations: 84.84 kB / 0.5813 GB, free: 25.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.143e-05/0.4618, allocations: 337.3 kB / 0.5816 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.462, allocations: 98.23 kB / 0.5817 GB, free: 24.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.4622, allocations: 164.7 kB / 0.5819 GB, free: 24.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.4625, allocations: 206.2 kB / 0.5821 GB, free: 24.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4625, allocations: 3.188 kB / 0.5821 GB, free: 24.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004839/0.463, allocations: 310.8 kB / 0.5824 GB, free: 24.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.4631, allocations: 6.25 kB / 0.5824 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.4631, allocations: 1.688 kB / 0.5824 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.4631, allocations: 12.95 kB / 0.5824 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.4633, allocations: 37.39 kB / 0.5824 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.4633, allocations: 6.156 kB / 0.5824 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.4635, allocations: 43.84 kB / 0.5825 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.4635, allocations: 13.38 kB / 0.5825 GB, free: 24.43 MB / 446.1 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.0001744/0.4637, allocations: 175.5 kB / 0.5827 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.4637, allocations: 31.05 kB / 0.5827 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.92e-05/0.4638, allocations: 33.44 kB / 0.5827 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.4638, allocations: 2.719 kB / 0.5827 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.4638, allocations: 5.297 kB / 0.5827 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4638, allocations: 0 / 0.5827 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.4649, allocations: 0.8698 MB / 0.5836 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.4649, allocations: 0 / 0.5836 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.465, allocations: 24.23 kB / 0.5836 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.465, allocations: 2.688 kB / 0.5836 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.465, allocations: 10.55 kB / 0.5836 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.465, allocations: 3 kB / 0.5836 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4651, allocations: 0 / 0.5836 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000564/0.4656, allocations: 462.6 kB / 0.5841 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.4657, allocations: 104.4 kB / 0.5842 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/0.4657, allocations: 16.7 kB / 0.5842 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.4659, allocations: 28.25 kB / 0.5842 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.466, allocations: 42.19 kB / 0.5842 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.4661, allocations: 18.14 kB / 0.5843 GB, free: 23.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.4662, allocations: 148.2 kB / 0.5844 GB, free: 22.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4662, allocations: 0 / 0.5844 GB, free: 22.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003645/0.4666, allocations: 81.09 kB / 0.5845 GB, free: 22.95 MB / 446.1 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.0001749/0.4668, allocations: 132.3 kB / 0.5846 GB, free: 22.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005909/0.4674, allocations: 292.6 kB / 0.5849 GB, free: 22.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4674, allocations: 0.5938 kB / 0.5849 GB, free: 22.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.4677, allocations: 235.2 kB / 0.5851 GB, free: 22.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.468, allocations: 31.58 kB / 0.5851 GB, free: 22.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.469, allocations: 0.6604 MB / 0.5858 GB, free: 22.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.4692, allocations: 0.7694 MB / 0.5865 GB, free: 21.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.4694, allocations: 34.61 kB / 0.5866 GB, free: 21.35 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4694, allocations: 0 / 0.5866 GB, free: 21.35 MB / 446.1 MB Notification: Performance of Templates: time 0.005989/0.4754, allocations: 3.531 MB / 0.59 GB, free: 19.54 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OnOff.makefile (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)