Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope,tolerance=1e-08,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope,tolerance=1e-08,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008322/0.0008322, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006113/0.006113, allocations: 169.1 kB / 16.26 MB, free: 6.66 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.401/1.401, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.85/2.85, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003702, allocations: 15.22 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3428, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope): time 0.004017/0.3469, allocations: 2.831 MB / 1.077 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002483/0.3494, allocations: 1.314 MB / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.3497, allocations: 4 kB / 1.078 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003529/0.35, allocations: 79.47 kB / 1.078 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004964/0.3505, allocations: 234.9 kB / 1.079 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000618/0.3512, allocations: 315.6 kB / 1.079 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009565/0.3521, allocations: 1.009 MB / 1.08 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004929/0.3526, allocations: 304.6 kB / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002606/0.3529, allocations: 226.8 kB / 1.08 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004112/0.3533, allocations: 358.3 kB / 1.081 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.266e-05/0.3534, allocations: 24 kB / 1.081 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.3536, allocations: 55.98 kB / 1.081 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.3538, allocations: 179.3 kB / 1.081 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003024/0.3541, allocations: 323.8 kB / 1.081 GB, free: 292 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009211/0.355, allocations: 1.055 MB / 1.082 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.355, allocations: 7.984 kB / 1.082 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.435e-06/0.355, allocations: 0 / 1.082 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.355, allocations: 0 / 1.082 GB, free: 15.21 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.002139/0.3572, allocations: 1.087 MB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3572, allocations: 8.031 kB / 1.083 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.3574, allocations: 83.94 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.3585, allocations: 0.6955 MB / 1.084 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.637e-05/0.3586, allocations: 33.38 kB / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.282e-05/0.3587, allocations: 48.11 kB / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.3597, allocations: 0.5343 MB / 1.085 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.3597, allocations: 4 kB / 1.085 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/0.3598, allocations: 16 kB / 1.085 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.3598, allocations: 8 kB / 1.085 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.3608, allocations: 411.8 kB / 1.085 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002247/0.3631, allocations: 1.422 MB / 1.086 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009435/0.3641, allocations: 355.4 kB / 1.087 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004681/0.3645, allocations: 193.7 kB / 1.087 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.156e-05/0.3646, allocations: 8 kB / 1.087 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000722/0.3653, allocations: 281.4 kB / 1.087 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=31): time 1.813e-06/0.3653, allocations: 0 / 1.087 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31): time 0.001562/0.3669, allocations: 0.5682 MB / 1.088 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.367, allocations: 174.2 kB / 1.088 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.3681, allocations: 0.7968 MB / 1.089 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.704e-05/0.3682, allocations: 45.7 kB / 1.089 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.3684, allocations: 308.5 kB / 1.089 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.188e-05/0.3685, allocations: 90.81 kB / 1.089 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.23e-05/0.3686, allocations: 57.62 kB / 1.089 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3688, allocations: 374.8 kB / 1.09 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/0.3693, allocations: 188.7 kB / 1.09 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005522/0.3699, allocations: 264.2 kB / 1.09 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009068/0.3708, allocations: 421.6 kB / 1.09 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.3708, allocations: 4 kB / 1.09 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001303/0.3721, allocations: 0.5678 MB / 1.091 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.3722, allocations: 63.39 kB / 1.091 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.3722, allocations: 0 / 1.091 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.3722, allocations: 7.938 kB / 1.091 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.3725, allocations: 68.02 kB / 1.091 GB, free: 5.715 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.3726, allocations: 4 kB / 1.091 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004842/0.3731, allocations: 87.62 kB / 1.091 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.3731, allocations: 8 kB / 1.091 GB, free: 5.617 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 34 (opeEnv.disErr.y,$PRE.opeEnv.disErr.y,TEvaInEmu.count,$PRE.TEvaInEmu.count,TEvaInEmu.T_start,$PRE.TEvaInEmu.T_start,TConOutEmu.count,$PRE.TConOutEmu.count,TConOutEmu.T_start,$PRE.TConOutEmu.T_start,opeEnv.bouMapCoo.hysBou.y,$PRE.opeEnv.bouMapCoo.hysBou.y,opeEnv.bouMapCoo.hysRig.y,$PRE.opeEnv.bouMapCoo.hysRig.y,opeEnv.bouMapCoo.hysLef.y,$PRE.opeEnv.bouMapCoo.hysLef.y,opeEnv.bouMapCoo.noErr,opeEnv.bouMapHea.hysBou.y,$PRE.opeEnv.bouMapHea.hysBou.y,opeEnv.bouMapHea.hysRig.y,$PRE.opeEnv.bouMapHea.hysRig.y,opeEnv.bouMapHea.hysLef.y,$PRE.opeEnv.bouMapHea.hysLef.y,opeEnv.bouMapHea.noErr,opeEnv.booPasThr.y,hys.y,$PRE.hys.y,sigBus.hea,$whenCondition1,$whenCondition2,$whenCondition3,opeEnv.intConOne.y,opeEnv.disErr.local_set,opeEnv.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 2 * 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.0003087/0.3734, allocations: 253.7 kB / 1.091 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.998e-05/0.3735, allocations: 67.16 kB / 1.092 GB, free: 5.293 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.3747, allocations: 471.8 kB / 1.092 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.3747, allocations: 11.88 kB / 1.092 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.3747, allocations: 3.938 kB / 1.092 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.3747, allocations: 3.984 kB / 1.092 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.3766, allocations: 1.204 MB / 1.093 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.3766, allocations: 4 kB / 1.093 GB, free: 3.535 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.3768, allocations: 51.98 kB / 1.093 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.3768, allocations: 0 / 1.093 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.3769, allocations: 15.92 kB / 1.093 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3769, allocations: 4 kB / 1.093 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3769, allocations: 0 / 1.093 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.3779, allocations: 0.6107 MB / 1.094 GB, free: 2.84 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.3781, allocations: 164.3 kB / 1.094 GB, free: 2.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.884e-05/0.3782, allocations: 12 kB / 1.094 GB, free: 2.648 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004789/0.3787, allocations: 67.94 kB / 1.094 GB, free: 2.582 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.3789, allocations: 63.89 kB / 1.094 GB, free: 2.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.3789, allocations: 15.98 kB / 1.094 GB, free: 2.504 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006818/0.3796, allocations: 0.5615 MB / 1.095 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3796, allocations: 0 / 1.095 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005005/0.3801, allocations: 127.6 kB / 1.095 GB, free: 1.82 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 21 (opeEnv.booPasThr.y,opeEnv.bouMapHea.noErr,opeEnv.bouMapCoo.noErr,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,sigBus.hea,hys.y,opeEnv.disErr.y,opeEnv.bouMapHea.hysLef.y,opeEnv.bouMapHea.hysRig.y,opeEnv.bouMapHea.hysBou.y,opeEnv.bouMapCoo.hysLef.y,opeEnv.bouMapCoo.hysRig.y,opeEnv.bouMapCoo.hysBou.y,TConOutEmu.T_start,TConOutEmu.count,TEvaInEmu.T_start,TEvaInEmu.count) * Number of discrete states: 10 (TEvaInEmu.count,TConOutEmu.count,opeEnv.bouMapCoo.hysLef.y,opeEnv.bouMapCoo.hysRig.y,opeEnv.bouMapHea.hysLef.y,opeEnv.bouMapHea.hysRig.y,opeEnv.bouMapCoo.hysBou.y,opeEnv.bouMapHea.hysBou.y,hys.y,opeEnv.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0009509/0.3811, allocations: 395.2 kB / 1.095 GB, free: 1.562 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.3823, allocations: 0.5197 MB / 1.096 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3823, allocations: 3.938 kB / 1.096 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005323/0.3828, allocations: 223.9 kB / 1.096 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009767/0.3838, allocations: 162 kB / 1.096 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.3857, allocations: 1.21 MB / 1.097 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.3862, allocations: 0.9178 MB / 1.098 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003183/0.3865, allocations: 96.78 kB / 1.098 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.3867, allocations: 47.42 kB / 1.098 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of SimCode: time 8.12e-07/0.3867, allocations: 4 kB / 1.098 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of Templates: time 0.01592/0.4027, allocations: 8.85 MB / 1.107 GB, free: 5.59 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe 2>&1)