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.001654/0.001653, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002068/0.002068, allocations: 196.5 kB / 16.14 MB, free: 6.695 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.406/1.406, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.81/2.81, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 61.34 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3088, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope): time 0.004556/0.3134, allocations: 3.23 MB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002033/0.3155, allocations: 1.329 MB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.3157, allocations: 8 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.316, allocations: 79.45 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000449/0.3165, allocations: 234.9 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005713/0.3171, allocations: 307.7 kB / 1.073 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008313/0.3179, allocations: 1.017 MB / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004382/0.3184, allocations: 300.7 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.3186, allocations: 274.8 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004109/0.3191, allocations: 402.3 kB / 1.075 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.406e-05/0.3192, allocations: 36 kB / 1.075 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.3193, allocations: 71.98 kB / 1.075 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.3195, allocations: 207.2 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000274/0.3198, allocations: 330 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008481/0.3207, allocations: 1.094 MB / 1.076 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3207, allocations: 0 / 1.076 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3207, allocations: 0 / 1.076 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.3207, allocations: 0 / 1.076 GB, free: 1.93 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.002167/0.3229, allocations: 1.18 MB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3229, allocations: 8.031 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.3231, allocations: 80 kB / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.3242, allocations: 0.684 MB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/0.3242, allocations: 33.38 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.494e-05/0.3243, allocations: 52.11 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009786/0.3253, allocations: 0.5148 MB / 1.079 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3253, allocations: 0 / 1.079 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.425e-05/0.3254, allocations: 16 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.3254, allocations: 8 kB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009599/0.3263, allocations: 371.8 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.3285, allocations: 1.398 MB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008813/0.3294, allocations: 315.4 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004314/0.3298, allocations: 173.7 kB / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.87e-05/0.3299, allocations: 4 kB / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006884/0.3306, allocations: 265.5 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=31): time 1.733e-06/0.3306, allocations: 4 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31): time 0.001466/0.332, allocations: 0.5135 MB / 1.082 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.119e-05/0.3321, allocations: 166.2 kB / 1.082 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000919/0.3331, allocations: 0.7968 MB / 1.083 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.161e-05/0.3331, allocations: 45.7 kB / 1.083 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.3334, allocations: 320.3 kB / 1.083 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.159e-05/0.3335, allocations: 86.91 kB / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.3336, allocations: 89.97 kB / 1.083 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3337, allocations: 382.8 kB / 1.083 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/0.3342, allocations: 160.7 kB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005248/0.3348, allocations: 244.2 kB / 1.084 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008552/0.3356, allocations: 381.6 kB / 1.084 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3356, allocations: 4 kB / 1.084 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001168/0.3368, allocations: 0.5287 MB / 1.085 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.593e-05/0.3369, allocations: 63.34 kB / 1.085 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3369, allocations: 4 kB / 1.085 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3369, allocations: 8.109 kB / 1.085 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.3372, allocations: 67.83 kB / 1.085 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.3372, allocations: 4 kB / 1.085 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000452/0.3377, allocations: 71.53 kB / 1.085 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-05/0.3377, allocations: 16 kB / 1.085 GB, free: 8.555 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.000275/0.338, allocations: 249.8 kB / 1.085 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.976e-05/0.3381, allocations: 59.25 kB / 1.085 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.3392, allocations: 439.8 kB / 1.086 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.3392, allocations: 7.938 kB / 1.086 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3392, allocations: 0 / 1.086 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3392, allocations: 0 / 1.086 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.341, allocations: 1.169 MB / 1.087 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.3411, allocations: 4 kB / 1.087 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.3413, allocations: 47.89 kB / 1.087 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/0.3413, allocations: 4 kB / 1.087 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.3414, allocations: 11.98 kB / 1.087 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3414, allocations: 0 / 1.087 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3414, allocations: 0 / 1.087 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.3425, allocations: 0.5715 MB / 1.087 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.3427, allocations: 160.3 kB / 1.088 GB, free: 5.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.3428, allocations: 20 kB / 1.088 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004718/0.3433, allocations: 43.88 kB / 1.088 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/0.3435, allocations: 71.89 kB / 1.088 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/0.3435, allocations: 11.98 kB / 1.088 GB, free: 5.594 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007199/0.3442, allocations: 0.5576 MB / 1.088 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3443, allocations: 0 / 1.088 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005186/0.3448, allocations: 123.7 kB / 1.088 GB, free: 4.918 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.001084/0.3459, allocations: 406.9 kB / 1.089 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.3471, allocations: 491.9 kB / 1.089 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3471, allocations: 0 / 1.089 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005613/0.3476, allocations: 204.2 kB / 1.089 GB, free: 3.945 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009249/0.3486, allocations: 150.8 kB / 1.09 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.3504, allocations: 1.207 MB / 1.091 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.3509, allocations: 0.9061 MB / 1.092 GB, free: 1.621 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003244/0.3512, allocations: 100.8 kB / 1.092 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.3514, allocations: 55.41 kB / 1.092 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of SimCode: time 5.11e-07/0.3514, allocations: 0 / 1.092 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of Templates: time 0.01484/0.3662, allocations: 8.956 MB / 1.101 GB, free: 8.648 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)