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.001187/0.001187, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 71.38 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3171, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope): time 0.004872/0.322, allocations: 3.193 MB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002292/0.3244, allocations: 1.349 MB / 1.073 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/0.3246, allocations: 8 kB / 1.073 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.325, allocations: 111 kB / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005388/0.3256, allocations: 258.5 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006767/0.3263, allocations: 339.4 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008258/0.3271, allocations: 0.8497 MB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005079/0.3276, allocations: 320.6 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004349/0.3281, allocations: 326.8 kB / 1.075 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005123/0.3286, allocations: 422.3 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.3287, allocations: 88 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002375/0.329, allocations: 131.9 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002414/0.3292, allocations: 247.3 kB / 1.076 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003228/0.3295, allocations: 386 kB / 1.076 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.3306, allocations: 1.129 MB / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.3306, allocations: 3.984 kB / 1.077 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3306, allocations: 0 / 1.077 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.3306, allocations: 0 / 1.077 GB, free: 1.254 MB / 0.8262 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.002385/0.333, allocations: 1.176 MB / 1.078 GB, free: 16 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3331, allocations: 12.03 kB / 1.078 GB, free: 4 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.3332, allocations: 84.05 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.3344, allocations: 0.6799 MB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.3344, allocations: 33.38 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-05/0.3345, allocations: 44.12 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009424/0.3354, allocations: 0.5109 MB / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.3355, allocations: 0 / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-05/0.3355, allocations: 20 kB / 1.08 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.3355, allocations: 19.94 kB / 1.08 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009904/0.3365, allocations: 371.7 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.3388, allocations: 1.394 MB / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008941/0.3397, allocations: 309.3 kB / 1.082 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004526/0.3402, allocations: 177.6 kB / 1.082 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-05/0.3402, allocations: 11.98 kB / 1.082 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007446/0.341, allocations: 269.4 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=31): time 2.465e-06/0.341, allocations: 0 / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31): time 0.001486/0.3425, allocations: 0.522 MB / 1.083 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.3426, allocations: 162.3 kB / 1.083 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.3437, allocations: 0.7968 MB / 1.083 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-05/0.3438, allocations: 45.69 kB / 1.084 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.3442, allocations: 320.4 kB / 1.084 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.469e-05/0.3443, allocations: 86.92 kB / 1.084 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.3444, allocations: 89.95 kB / 1.084 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3446, allocations: 374.8 kB / 1.084 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004831/0.3451, allocations: 168.7 kB / 1.085 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005125/0.3456, allocations: 248.1 kB / 1.085 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008361/0.3465, allocations: 385.6 kB / 1.085 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3465, allocations: 0 / 1.085 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001148/0.3477, allocations: 0.5403 MB / 1.086 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.499e-05/0.3477, allocations: 59.41 kB / 1.086 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3477, allocations: 0 / 1.086 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.3478, allocations: 7.938 kB / 1.086 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.3481, allocations: 55.89 kB / 1.086 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.3481, allocations: 8.172 kB / 1.086 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/0.3485, allocations: 67.55 kB / 1.086 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/0.3486, allocations: 16 kB / 1.086 GB, free: 7.879 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.0003024/0.3489, allocations: 249.8 kB / 1.086 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.972e-05/0.349, allocations: 63.25 kB / 1.086 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.3501, allocations: 435.8 kB / 1.087 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.3501, allocations: 7.938 kB / 1.087 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3501, allocations: 0 / 1.087 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.3501, allocations: 0 / 1.087 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.3519, allocations: 1.169 MB / 1.088 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3519, allocations: 0 / 1.088 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.3521, allocations: 51.92 kB / 1.088 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3522, allocations: 0 / 1.088 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.3522, allocations: 8 kB / 1.088 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.3522, allocations: 3.984 kB / 1.088 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3522, allocations: 4 kB / 1.088 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.3532, allocations: 0.5795 MB / 1.088 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.3534, allocations: 152.4 kB / 1.089 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.3535, allocations: 16 kB / 1.089 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005529/0.3541, allocations: 51.88 kB / 1.089 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.3542, allocations: 71.89 kB / 1.089 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.3543, allocations: 11.98 kB / 1.089 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006634/0.3549, allocations: 0.5576 MB / 1.089 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.355, allocations: 0 / 1.089 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004997/0.3555, allocations: 131.6 kB / 1.089 GB, free: 4.23 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.0008906/0.3564, allocations: 395.6 kB / 1.09 GB, free: 3.973 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001154/0.3575, allocations: 0.5032 MB / 1.09 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3575, allocations: 0 / 1.09 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005112/0.3581, allocations: 191.8 kB / 1.09 GB, free: 3.258 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008787/0.3589, allocations: 177.6 kB / 1.091 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.3607, allocations: 1.024 MB / 1.092 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.3612, allocations: 0.91 MB / 1.092 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000307/0.3615, allocations: 88.8 kB / 1.093 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.3617, allocations: 59.41 kB / 1.093 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3617, allocations: 0 / 1.093 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of Templates: time 0.01815/0.3799, allocations: 9.737 MB / 1.102 GB, free: 7.359 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)