Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.0008445/0.0008447, allocations: 97.56 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.007073/0.007073, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.402/1.402, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.835/2.835, allocations: 473.4 MB / 0.7469 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003952, allocations: 13.78 kB / 0.9158 GB, free: 33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3404, allocations: 162.2 MB / 1.074 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope): time 0.003687/0.3442, allocations: 2.827 MB / 1.077 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002286/0.3465, allocations: 1.322 MB / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.3467, allocations: 4 kB / 1.078 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.347, allocations: 83.47 kB / 1.078 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004953/0.3476, allocations: 230.9 kB / 1.079 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006178/0.3482, allocations: 314.5 kB / 1.079 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001049/0.3492, allocations: 1.009 MB / 1.08 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000533/0.3498, allocations: 308.6 kB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002969/0.3501, allocations: 230.8 kB / 1.08 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000457/0.3506, allocations: 354.3 kB / 1.081 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.51e-05/0.3506, allocations: 24 kB / 1.081 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.3508, allocations: 55.98 kB / 1.081 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.351, allocations: 183.3 kB / 1.081 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003162/0.3513, allocations: 323.8 kB / 1.081 GB, free: 192 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.3524, allocations: 1.059 MB / 1.082 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3524, allocations: 0 / 1.082 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3524, allocations: 0 / 1.082 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.3525, allocations: 0 / 1.082 GB, free: 15.12 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.002228/0.3547, allocations: 1.089 MB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.3547, allocations: 12.03 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.3549, allocations: 80 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.3561, allocations: 0.6916 MB / 1.084 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/0.3561, allocations: 37.36 kB / 1.084 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.353e-05/0.3562, allocations: 48.12 kB / 1.084 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.3573, allocations: 0.5265 MB / 1.085 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3573, allocations: 0 / 1.085 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.682e-05/0.3574, allocations: 24 kB / 1.085 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.3574, allocations: 11.94 kB / 1.085 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.3585, allocations: 407.8 kB / 1.085 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/0.3609, allocations: 1.418 MB / 1.086 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009431/0.3618, allocations: 359.4 kB / 1.087 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004789/0.3623, allocations: 193.7 kB / 1.087 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.202e-05/0.3624, allocations: 8 kB / 1.087 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000708/0.3631, allocations: 277.4 kB / 1.087 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=31): time 2.284e-06/0.3631, allocations: 4 kB / 1.087 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31): time 0.001651/0.3648, allocations: 0.5721 MB / 1.088 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.3649, allocations: 162.2 kB / 1.088 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.366, allocations: 0.8007 MB / 1.089 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.499e-05/0.366, allocations: 41.7 kB / 1.089 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.3663, allocations: 316.5 kB / 1.089 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.3664, allocations: 94.81 kB / 1.089 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.853e-05/0.3665, allocations: 53.69 kB / 1.089 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.3667, allocations: 374.8 kB / 1.09 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005434/0.3673, allocations: 184.6 kB / 1.09 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005564/0.3679, allocations: 268.2 kB / 1.09 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009141/0.3688, allocations: 417.6 kB / 1.09 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3688, allocations: 3.938 kB / 1.09 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001268/0.3701, allocations: 0.5756 MB / 1.091 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.245e-05/0.3701, allocations: 59.41 kB / 1.091 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3701, allocations: 4 kB / 1.091 GB, free: 5.695 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3702, allocations: 7.938 kB / 1.091 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.3705, allocations: 63.89 kB / 1.091 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.3705, allocations: 12.11 kB / 1.091 GB, free: 5.613 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005111/0.371, allocations: 71.64 kB / 1.091 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/0.3711, allocations: 19.98 kB / 1.091 GB, free: 5.523 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.0003269/0.3714, allocations: 257.7 kB / 1.091 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.074e-05/0.3715, allocations: 67.16 kB / 1.092 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.3727, allocations: 467.8 kB / 1.092 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3727, allocations: 11.92 kB / 1.092 GB, free: 4.715 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/0.3727, allocations: 7.938 kB / 1.092 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3727, allocations: 0 / 1.092 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.3746, allocations: 1.204 MB / 1.093 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3746, allocations: 4 kB / 1.093 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.3748, allocations: 55.95 kB / 1.093 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3748, allocations: 4.031 kB / 1.093 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.3749, allocations: 11.94 kB / 1.093 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3749, allocations: 3.938 kB / 1.093 GB, free: 3.367 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3749, allocations: 7.984 kB / 1.093 GB, free: 3.359 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.376, allocations: 0.6068 MB / 1.094 GB, free: 2.738 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.3762, allocations: 160.3 kB / 1.094 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.644e-05/0.3763, allocations: 16 kB / 1.094 GB, free: 2.547 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005093/0.3768, allocations: 59.94 kB / 1.094 GB, free: 2.488 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.377, allocations: 71.88 kB / 1.094 GB, free: 2.418 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.377, allocations: 12 kB / 1.094 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006921/0.3777, allocations: 0.5537 MB / 1.095 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3777, allocations: 0 / 1.095 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005181/0.3783, allocations: 131.6 kB / 1.095 GB, free: 1.727 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.0009332/0.3792, allocations: 391.5 kB / 1.095 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.3804, allocations: 0.5197 MB / 1.096 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3805, allocations: 3.938 kB / 1.096 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005765/0.381, allocations: 223.9 kB / 1.096 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.3821, allocations: 157.5 kB / 1.096 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.3842, allocations: 1.218 MB / 1.097 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.3847, allocations: 0.9139 MB / 1.098 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003099/0.385, allocations: 96.8 kB / 1.098 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.3852, allocations: 51.41 kB / 1.098 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of SimCode: time 3.6e-07/0.3852, allocations: 0 / 1.098 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of Templates: time 0.01668/0.4019, allocations: 8.854 MB / 1.107 GB, free: 5.496 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe 2>&1)