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.0009264/0.0009264, allocations: 80.81 kB / 21.55 MB, free: 2.949 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.001301/0.001301, allocations: 165.8 kB / 24.97 MB, free: 8.227 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 0.9852/0.9852, allocations: 177.1 MB / 205.4 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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 1.952/1.952, allocations: 389.6 MB / 0.6362 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 178] 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.994e-06/1.994e-06, allocations: 0 / 0.776 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.36e-05, allocations: 5.688 kB / 0.776 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope): time 0.005147/0.00517, allocations: 3.264 MB / 0.7792 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002843/0.008013, allocations: 1.562 MB / 0.7808 GB, free: 500 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002865/0.0083, allocations: 9.656 kB / 0.7808 GB, free: 492 kB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003995/0.008699, allocations: 122.9 kB / 0.7809 GB, free: 368 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0007682/0.009467, allocations: 326.2 kB / 0.7812 GB, free: 44 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007319/0.0102, allocations: 359.3 kB / 0.7815 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001025/0.01122, allocations: 0.9037 MB / 0.7824 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004594/0.01168, allocations: 239 kB / 0.7826 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006887/0.01237, allocations: 0.5065 MB / 0.7831 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004942/0.01287, allocations: 333.8 kB / 0.7835 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.01298, allocations: 76 kB / 0.7835 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.01319, allocations: 112 kB / 0.7836 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002373/0.01342, allocations: 251.2 kB / 0.7839 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.01368, allocations: 235.3 kB / 0.7841 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007885/0.01447, allocations: 0.6187 MB / 0.7847 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.01447, allocations: 2.25 kB / 0.7847 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.72e-07/0.01448, allocations: 0 / 0.7847 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.01449, allocations: 0 / 0.7847 GB, free: 12.44 MB / 0.7448 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.001142/0.01563, allocations: 1.047 MB / 0.7857 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.01566, allocations: 8.75 kB / 0.7857 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.01586, allocations: 96.84 kB / 0.7858 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.01629, allocations: 437.8 kB / 0.7863 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.01632, allocations: 38.5 kB / 0.7863 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.01636, allocations: 48.36 kB / 0.7863 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004076/0.01676, allocations: 457.7 kB / 0.7868 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.01678, allocations: 3.938 kB / 0.7868 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.0168, allocations: 16.53 kB / 0.7868 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.01681, allocations: 12.94 kB / 0.7868 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.01696, allocations: 105.7 kB / 0.7869 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009849/0.01794, allocations: 0.7476 MB / 0.7876 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.01815, allocations: 127.8 kB / 0.7878 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.796e-05/0.01821, allocations: 56.78 kB / 0.7878 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.01824, allocations: 4.5 kB / 0.7878 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.01843, allocations: 180.3 kB / 0.788 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=33): time 1.502e-06/0.01843, allocations: 4 kB / 0.788 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.0002719/0.0187, allocations: 196.1 kB / 0.7882 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.01876, allocations: 170.1 kB / 0.7883 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/0.01914, allocations: 0.5531 MB / 0.7889 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.01918, allocations: 49.64 kB / 0.7889 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.0193, allocations: 254.5 kB / 0.7892 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/0.01935, allocations: 95.84 kB / 0.7893 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.332e-05/0.01945, allocations: 94.8 kB / 0.7894 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.01955, allocations: 386.6 kB / 0.7897 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.345e-05/0.01964, allocations: 101.3 kB / 0.7898 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.01978, allocations: 258 kB / 0.7901 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.01995, allocations: 218.5 kB / 0.7903 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01995, allocations: 0 / 0.7903 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002714/0.02022, allocations: 337.6 kB / 0.7906 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.02026, allocations: 63.41 kB / 0.7907 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.02026, allocations: 1.75 kB / 0.7907 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.02027, allocations: 4 kB / 0.7907 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.02041, allocations: 67.83 kB / 0.7907 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.02042, allocations: 4 kB / 0.7907 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.0206, allocations: 56.84 kB / 0.7908 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.02062, allocations: 17.02 kB / 0.7908 GB, free: 5.832 MB / 0.7448 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,opeEnv.disErr.local_reset,opeEnv.disErr.local_set,opeEnv.intConOne.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) * 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.0001272/0.02075, allocations: 158.1 kB / 0.7909 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.0208, allocations: 51.94 kB / 0.791 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.02103, allocations: 209 kB / 0.7912 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.02103, allocations: 5.266 kB / 0.7912 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.02104, allocations: 0 / 0.7912 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.02109, allocations: 59.56 kB / 0.7913 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.02115, allocations: 21.3 kB / 0.7913 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.02128, allocations: 31.97 kB / 0.7913 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.0214, allocations: 89 kB / 0.7914 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002006/0.0216, allocations: 292.1 kB / 0.7917 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002488/0.02185, allocations: 436 kB / 0.7921 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.62e-05/0.02194, allocations: 85.81 kB / 0.7922 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001934/0.02214, allocations: 252.6 kB / 0.7924 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of Backend: time 2.51e-07/0.02214, allocations: 2.469 kB / 0.7924 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.02359, allocations: 0.7958 MB / 0.7932 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of SimCode: time 0.001521/0.02511, allocations: 1.656 MB / 0.7948 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of Templates: time 0.01379/0.0389, allocations: 11.91 MB / 0.8064 GB, free: 6.301 MB / 0.7605 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: 5.068347413092852]