Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 100.3 kB / 19.72 MB, free: 424 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 224.2 kB / 23.02 MB, free: 2.961 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.713/1.713, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.455/3.455, allocations: 0.5045 GB / 0.8104 GB, free: 2.789 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003763/0.003763, allocations: 67.83 kB / 1.177 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.069, allocations: 180 MB / 1.353 GB, free: 1.617 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope): time 0.006321/1.075, allocations: 3.101 MB / 1.356 GB, free: 14.5 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.003448/1.079, allocations: 1.501 MB / 1.357 GB, free: 12.99 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003475/1.079, allocations: 4 kB / 1.357 GB, free: 12.99 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004828/1.08, allocations: 122.9 kB / 1.358 GB, free: 12.87 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008426/1.081, allocations: 314.3 kB / 1.358 GB, free: 12.56 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008217/1.081, allocations: 358.5 kB / 1.358 GB, free: 12.21 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.001198/1.083, allocations: 0.9039 MB / 1.359 GB, free: 11.3 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005262/1.083, allocations: 224.9 kB / 1.359 GB, free: 11.08 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004804/1.084, allocations: 354.7 kB / 1.36 GB, free: 10.73 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006354/1.084, allocations: 418.2 kB / 1.36 GB, free: 10.32 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001601/1.084, allocations: 92 kB / 1.36 GB, free: 10.23 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004351/1.085, allocations: 127.9 kB / 1.36 GB, free: 10.11 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003195/1.085, allocations: 271.2 kB / 1.361 GB, free: 9.844 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003717/1.086, allocations: 314.4 kB / 1.361 GB, free: 9.535 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.001471/1.087, allocations: 1.217 MB / 1.362 GB, free: 8.316 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.087, allocations: 0 / 1.362 GB, free: 8.316 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.443e-06/1.087, allocations: 3.938 kB / 1.362 GB, free: 8.312 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.118e-05/1.087, allocations: 0 / 1.362 GB, free: 8.312 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00263/1.09, allocations: 1.159 MB / 1.363 GB, free: 7.109 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/1.09, allocations: 12.03 kB / 1.363 GB, free: 7.098 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003343/1.09, allocations: 96.38 kB / 1.363 GB, free: 7.004 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/1.091, allocations: 0.654 MB / 1.364 GB, free: 6.324 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.402e-05/1.092, allocations: 37.36 kB / 1.364 GB, free: 6.289 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-05/1.092, allocations: 51.88 kB / 1.364 GB, free: 6.238 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/1.093, allocations: 0.7359 MB / 1.365 GB, free: 5.422 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/1.093, allocations: 4 kB / 1.365 GB, free: 5.418 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.408e-05/1.093, allocations: 19.98 kB / 1.365 GB, free: 5.398 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/1.093, allocations: 8 kB / 1.365 GB, free: 5.391 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/1.094, allocations: 383.8 kB / 1.365 GB, free: 5.016 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002578/1.097, allocations: 1.141 MB / 1.366 GB, free: 3.84 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/1.098, allocations: 318.8 kB / 1.366 GB, free: 3.52 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000455/1.098, allocations: 156.8 kB / 1.367 GB, free: 3.363 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.186e-05/1.098, allocations: 7.938 kB / 1.367 GB, free: 3.355 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007359/1.099, allocations: 283.1 kB / 1.367 GB, free: 3.059 MB / 1.042 GB Notification: Performance of pre-optimization done (n=33): time 2.966e-06/1.099, allocations: 0 / 1.367 GB, free: 3.059 MB / 1.042 GB Notification: Performance of matching and sorting (n=33): time 0.001836/1.101, allocations: 0.5288 MB / 1.367 GB, free: 2.523 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/1.101, allocations: 166.2 kB / 1.368 GB, free: 2.324 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/1.102, allocations: 0.789 MB / 1.368 GB, free: 1.523 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 7.011e-05/1.102, allocations: 45.7 kB / 1.368 GB, free: 1.473 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003669/1.103, allocations: 344.6 kB / 1.369 GB, free: 1.133 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/1.103, allocations: 99.23 kB / 1.369 GB, free: 1.035 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/1.103, allocations: 86.12 kB / 1.369 GB, free: 0.9453 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002564/1.103, allocations: 382.8 kB / 1.369 GB, free: 0.5625 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005155/1.104, allocations: 224.2 kB / 1.369 GB, free: 340 kB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006698/1.104, allocations: 389.3 kB / 1.37 GB, free: 15.89 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008898/1.105, allocations: 377.1 kB / 1.37 GB, free: 15.49 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.105, allocations: 0 / 1.37 GB, free: 15.49 MB / 1.057 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001354/1.107, allocations: 0.6012 MB / 1.371 GB, free: 14.86 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 7.366e-05/1.107, allocations: 63.39 kB / 1.371 GB, free: 14.79 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.107, allocations: 7.875 kB / 1.371 GB, free: 14.78 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/1.107, allocations: 7.938 kB / 1.371 GB, free: 14.77 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/1.107, allocations: 64.12 kB / 1.371 GB, free: 14.71 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/1.107, allocations: 4 kB / 1.371 GB, free: 14.7 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/1.107, allocations: 75.66 kB / 1.371 GB, free: 14.63 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/1.108, allocations: 12 kB / 1.371 GB, free: 14.62 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 37 (opeEnv.disErr.y,$PRE.opeEnv.disErr.y,ySetOn.y,$PRE.ySetOn.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.canOpe,opeEnv.errAndSetOn.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 (49): * Single equations (assignments): 47 * 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.0003799/1.108, allocations: 253.7 kB / 1.371 GB, free: 14.36 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/1.108, allocations: 67.58 kB / 1.371 GB, free: 14.29 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/1.109, allocations: 427.7 kB / 1.372 GB, free: 13.86 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/1.109, allocations: 4 kB / 1.372 GB, free: 13.86 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.109, allocations: 0 / 1.372 GB, free: 13.86 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.109, allocations: 4 kB / 1.372 GB, free: 13.86 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/1.111, allocations: 0.9752 MB / 1.373 GB, free: 12.84 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.111, allocations: 3.938 kB / 1.373 GB, free: 12.84 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/1.111, allocations: 55.92 kB / 1.373 GB, free: 12.79 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/1.111, allocations: 0 / 1.373 GB, free: 12.79 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/1.111, allocations: 11.98 kB / 1.373 GB, free: 12.77 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/1.111, allocations: 0 / 1.373 GB, free: 12.77 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.111, allocations: 0 / 1.373 GB, free: 12.77 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/1.113, allocations: 0.5755 MB / 1.373 GB, free: 12.18 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/1.113, allocations: 83.44 kB / 1.373 GB, free: 12.1 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.921e-05/1.113, allocations: 19.98 kB / 1.373 GB, free: 12.08 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004557/1.113, allocations: 43.94 kB / 1.373 GB, free: 12.04 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/1.113, allocations: 83.86 kB / 1.374 GB, free: 11.96 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/1.113, allocations: 11.92 kB / 1.374 GB, free: 11.95 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0009517/1.114, allocations: 0.5498 MB / 1.374 GB, free: 11.4 MB / 1.057 GB Notification: Performance of sort global known variables: time 6.1e-08/1.114, allocations: 0 / 1.374 GB, free: 11.4 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0005384/1.115, allocations: 139.7 kB / 1.374 GB, free: 11.27 MB / 1.057 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.errAndSetOn.y,$whenCondition3,$whenCondition2,$whenCondition1,sigBus.hea,hys.y,opeEnv.disErr.y,opeEnv.canOpe,opeEnv.bouMapHea.noErr,opeEnv.bouMapHea.hysLef.y,opeEnv.bouMapHea.hysRig.y,opeEnv.bouMapHea.hysBou.y,opeEnv.bouMapCoo.noErr,opeEnv.bouMapCoo.hysLef.y,opeEnv.bouMapCoo.hysRig.y,opeEnv.bouMapCoo.hysBou.y,TConOutEmu.T_start,TConOutEmu.count,TEvaInEmu.T_start,TEvaInEmu.count,ySetOn.y) * Number of discrete states: 11 (TEvaInEmu.count,TConOutEmu.count,ySetOn.y,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.002648/1.118, allocations: 416.3 kB / 1.375 GB, free: 11 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.001312/1.119, allocations: 0.5257 MB / 1.375 GB, free: 10.44 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/1.119, allocations: 4.375 kB / 1.375 GB, free: 10.44 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.000545/1.119, allocations: 187.8 kB / 1.375 GB, free: 10.25 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009343/1.12, allocations: 177.1 kB / 1.376 GB, free: 10.09 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/1.123, allocations: 1.054 MB / 1.377 GB, free: 9 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/1.123, allocations: 321.3 kB / 1.377 GB, free: 8.656 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0003212/1.123, allocations: 92.73 kB / 1.377 GB, free: 8.566 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/1.124, allocations: 55.41 kB / 1.377 GB, free: 8.512 MB / 1.057 GB Notification: Performance of SimCode: time 7.51e-07/1.124, allocations: 4 kB / 1.377 GB, free: 8.508 MB / 1.057 GB Notification: Performance of Templates: time 0.02163/1.145, allocations: 10.9 MB / 1.388 GB, free: 13.8 MB / 1.073 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.sim & ./Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.953646431677043]