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.001861/0.001861, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001937/0.001937, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.663/1.663, allocations: 177.1 MB / 203.5 MB, free: 5.621 MB / 186.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.219/3.219, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 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 1.934e-06/1.934e-06, allocations: 0 / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.85e-05, allocations: 2.281 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope): time 0.005309/0.005338, allocations: 3.093 MB / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003034/0.008371, allocations: 1.5 MB / 1.006 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002416/0.008613, allocations: 11.94 kB / 1.006 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003776/0.008991, allocations: 114.9 kB / 1.006 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0007969/0.009788, allocations: 330 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008041/0.01059, allocations: 365.2 kB / 1.006 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001155/0.01175, allocations: 0.9037 MB / 1.007 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000478/0.01222, allocations: 233.1 kB / 1.008 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006522/0.01288, allocations: 490.9 kB / 1.008 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005909/0.01347, allocations: 366.9 kB / 1.008 GB, free: 5.531 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.01362, allocations: 92 kB / 1.008 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002526/0.01387, allocations: 127.9 kB / 1.009 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.000349/0.01422, allocations: 275.2 kB / 1.009 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003511/0.01457, allocations: 267.2 kB / 1.009 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.01608, allocations: 1.223 MB / 1.01 GB, free: 3.559 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.01608, allocations: 0 / 1.01 GB, free: 3.559 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.363e-06/0.01608, allocations: 0 / 1.01 GB, free: 3.559 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.01609, allocations: 0 / 1.01 GB, free: 3.559 MB / 0.9636 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.002467/0.01856, allocations: 1.17 MB / 1.011 GB, free: 2.344 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.0186, allocations: 12.75 kB / 1.011 GB, free: 2.332 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002782/0.01888, allocations: 96.36 kB / 1.012 GB, free: 2.238 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.02019, allocations: 0.6416 MB / 1.012 GB, free: 1.566 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.235e-05/0.02024, allocations: 37.38 kB / 1.012 GB, free: 1.527 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-05/0.02032, allocations: 40.38 kB / 1.012 GB, free: 1.488 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.02163, allocations: 0.744 MB / 1.013 GB, free: 0.668 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.02165, allocations: 4 kB / 1.013 GB, free: 0.6641 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.993e-05/0.02169, allocations: 23.94 kB / 1.013 GB, free: 0.6406 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.02171, allocations: 8 kB / 1.013 GB, free: 0.6328 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.02279, allocations: 387.7 kB / 1.013 GB, free: 256 kB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002375/0.02516, allocations: 1.137 MB / 1.014 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.02623, allocations: 329.2 kB / 1.015 GB, free: 14.76 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004741/0.02671, allocations: 160.7 kB / 1.015 GB, free: 14.6 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/0.02675, allocations: 4 kB / 1.015 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007464/0.0275, allocations: 275.1 kB / 1.015 GB, free: 14.3 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/0.0275, allocations: 0 / 1.015 GB, free: 14.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=33): time 0.001635/0.02913, allocations: 0.5283 MB / 1.016 GB, free: 13.77 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.02926, allocations: 162.2 kB / 1.016 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.03038, allocations: 0.793 MB / 1.017 GB, free: 12.77 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.489e-05/0.03045, allocations: 45.7 kB / 1.017 GB, free: 12.72 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/0.03079, allocations: 352.5 kB / 1.017 GB, free: 12.37 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 9.852e-05/0.03089, allocations: 87.33 kB / 1.017 GB, free: 12.28 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.03107, allocations: 90.17 kB / 1.017 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002245/0.03129, allocations: 378.8 kB / 1.018 GB, free: 11.8 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005506/0.03185, allocations: 228.3 kB / 1.018 GB, free: 11.57 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006907/0.03254, allocations: 393.7 kB / 1.018 GB, free: 11.13 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009334/0.03347, allocations: 373.1 kB / 1.019 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.03347, allocations: 4 kB / 1.019 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001345/0.03482, allocations: 0.6089 MB / 1.019 GB, free: 10.09 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 7.067e-05/0.03489, allocations: 59.41 kB / 1.019 GB, free: 10.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.03489, allocations: 0 / 1.019 GB, free: 10.02 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/0.03492, allocations: 4 kB / 1.019 GB, free: 10.01 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.03522, allocations: 68.06 kB / 1.019 GB, free: 9.945 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.03523, allocations: 7.938 kB / 1.019 GB, free: 9.938 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.0357, allocations: 71.66 kB / 1.019 GB, free: 9.867 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/0.03574, allocations: 16 kB / 1.019 GB, free: 9.852 MB / 0.9792 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.0004495/0.03619, allocations: 253.7 kB / 1.02 GB, free: 9.594 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.0363, allocations: 67.58 kB / 1.02 GB, free: 9.527 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.03745, allocations: 425.1 kB / 1.02 GB, free: 9.098 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.03746, allocations: 4 kB / 1.02 GB, free: 9.094 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.03747, allocations: 3.938 kB / 1.02 GB, free: 9.09 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.03747, allocations: 7.984 kB / 1.02 GB, free: 9.082 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.03935, allocations: 0.9751 MB / 1.021 GB, free: 8.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.03935, allocations: 0 / 1.021 GB, free: 8.07 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.03959, allocations: 47.89 kB / 1.021 GB, free: 8.023 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.03959, allocations: 8.031 kB / 1.021 GB, free: 8.016 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/0.03963, allocations: 15.92 kB / 1.021 GB, free: 8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.03963, allocations: 0 / 1.021 GB, free: 8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.03963, allocations: 0 / 1.021 GB, free: 8 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.0408, allocations: 0.5715 MB / 1.022 GB, free: 7.41 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.04093, allocations: 75.55 kB / 1.022 GB, free: 7.336 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.04106, allocations: 23.94 kB / 1.022 GB, free: 7.312 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007163/0.04178, allocations: 43.94 kB / 1.022 GB, free: 7.27 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002137/0.04199, allocations: 79.86 kB / 1.022 GB, free: 7.191 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-05/0.04203, allocations: 11.98 kB / 1.022 GB, free: 7.18 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0007808/0.04281, allocations: 0.5498 MB / 1.022 GB, free: 6.637 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.04281, allocations: 0 / 1.022 GB, free: 6.637 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005064/0.04331, allocations: 135.7 kB / 1.023 GB, free: 6.504 MB / 0.9792 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.002545/0.04586, allocations: 435.6 kB / 1.023 GB, free: 6.23 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.04714, allocations: 0.5218 MB / 1.023 GB, free: 5.672 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.04714, allocations: 0 / 1.023 GB, free: 5.672 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0005371/0.04768, allocations: 184.2 kB / 1.024 GB, free: 5.492 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009151/0.04859, allocations: 163.9 kB / 1.024 GB, free: 5.336 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.05073, allocations: 1.057 MB / 1.025 GB, free: 4.246 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.05112, allocations: 321.4 kB / 1.025 GB, free: 3.906 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003063/0.05142, allocations: 88.73 kB / 1.025 GB, free: 3.82 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.0516, allocations: 68.41 kB / 1.025 GB, free: 3.754 MB / 0.9792 GB Notification: Performance of SimCode: time 5.01e-07/0.0516, allocations: 0 / 1.025 GB, free: 3.754 MB / 0.9792 GB Notification: Performance of Templates: time 0.0197/0.07131, allocations: 10.24 MB / 1.035 GB, free: 9.719 MB / 0.9948 GB " [Timeout remaining time 300] 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: 9.731552233919501]