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.001168/0.001168, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001316/0.001316, allocations: 197.6 kB / 16.14 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.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.883/2.883, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 75.22 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3091, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope): time 0.005095/0.3143, allocations: 3.228 MB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002303/0.3166, allocations: 1.333 MB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003444/0.3169, allocations: 7.938 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003982/0.3174, allocations: 83.45 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005852/0.318, allocations: 223 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007032/0.3187, allocations: 324.8 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001022/0.3197, allocations: 1.006 MB / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005001/0.3202, allocations: 308.6 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000377/0.3206, allocations: 274.8 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005279/0.3212, allocations: 398.3 kB / 1.075 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.3213, allocations: 36 kB / 1.075 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.3215, allocations: 67.98 kB / 1.075 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.3217, allocations: 215.2 kB / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003239/0.3221, allocations: 326 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009452/0.323, allocations: 1.09 MB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.323, allocations: 0 / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.12e-07/0.323, allocations: 0 / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.3231, allocations: 0 / 1.076 GB, free: 1.969 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.002245/0.3253, allocations: 1.18 MB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3254, allocations: 8.031 kB / 1.077 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.3255, allocations: 84 kB / 1.077 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.3266, allocations: 0.68 MB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/0.3267, allocations: 45.3 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.541e-05/0.3267, allocations: 44.12 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009777/0.3277, allocations: 0.5148 MB / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3278, allocations: 0 / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/0.3278, allocations: 16 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.3278, allocations: 12 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009755/0.3288, allocations: 367.8 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.331, allocations: 1.398 MB / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008558/0.3318, allocations: 305.2 kB / 1.081 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004363/0.3323, allocations: 177.7 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.253e-05/0.3323, allocations: 11.92 kB / 1.081 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007023/0.333, allocations: 269.4 kB / 1.081 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=31): time 1.824e-06/0.3331, allocations: 0 / 1.081 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31): time 0.001522/0.3346, allocations: 0.5136 MB / 1.082 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.372e-05/0.3347, allocations: 158.2 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009823/0.3357, allocations: 0.8007 MB / 1.083 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.572e-05/0.3357, allocations: 41.7 kB / 1.083 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.336, allocations: 324.4 kB / 1.083 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.105e-05/0.3361, allocations: 86.92 kB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.3363, allocations: 85.97 kB / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.3364, allocations: 382.8 kB / 1.083 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000508/0.337, allocations: 168.7 kB / 1.084 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005549/0.3375, allocations: 244.1 kB / 1.084 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008936/0.3384, allocations: 381.6 kB / 1.084 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3384, allocations: 0 / 1.084 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00122/0.3397, allocations: 0.5365 MB / 1.085 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.896e-05/0.3397, allocations: 63.39 kB / 1.085 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3397, allocations: 3.984 kB / 1.085 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3398, allocations: 16.06 kB / 1.085 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/0.3401, allocations: 55.89 kB / 1.085 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.3401, allocations: 4 kB / 1.085 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/0.3406, allocations: 75.53 kB / 1.085 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/0.3406, allocations: 8 kB / 1.085 GB, free: 8.594 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.0002921/0.3409, allocations: 249.8 kB / 1.085 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.341, allocations: 63.25 kB / 1.085 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.3422, allocations: 439.8 kB / 1.086 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.3422, allocations: 7.938 kB / 1.086 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3422, allocations: 0 / 1.086 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.3422, allocations: 7.922 kB / 1.086 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.3441, allocations: 1.165 MB / 1.087 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3441, allocations: 4 kB / 1.087 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.3444, allocations: 43.89 kB / 1.087 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3444, allocations: 0 / 1.087 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.3444, allocations: 11.98 kB / 1.087 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.3444, allocations: 4 kB / 1.087 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3444, allocations: 0 / 1.087 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.3455, allocations: 0.5754 MB / 1.087 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.3457, allocations: 156.4 kB / 1.088 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.3458, allocations: 20 kB / 1.088 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004975/0.3463, allocations: 43.94 kB / 1.088 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.3465, allocations: 71.88 kB / 1.088 GB, free: 5.641 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.3466, allocations: 12 kB / 1.088 GB, free: 5.629 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007308/0.3473, allocations: 0.5576 MB / 1.088 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3473, allocations: 0 / 1.088 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005527/0.3479, allocations: 131.6 kB / 1.088 GB, free: 4.945 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.0009762/0.3489, allocations: 390.9 kB / 1.089 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.35, allocations: 495.9 kB / 1.089 GB, free: 4.184 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.3501, allocations: 0 / 1.089 GB, free: 4.184 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005331/0.3506, allocations: 204.1 kB / 1.089 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000927/0.3515, allocations: 166.2 kB / 1.09 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.3535, allocations: 1.209 MB / 1.091 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.354, allocations: 0.91 MB / 1.092 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000349/0.3544, allocations: 92.8 kB / 1.092 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.3546, allocations: 51.42 kB / 1.092 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of SimCode: time 4.81e-07/0.3546, allocations: 0 / 1.092 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of Templates: time 0.01592/0.3705, allocations: 8.948 MB / 1.101 GB, free: 8.688 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)