Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001304/0.001304, allocations: 79.28 kB / 19.93 MB, free: 1.77 MB / 14.72 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.001525/0.001525, allocations: 169.4 kB / 23.22 MB, free: 4.887 MB / 14.72 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.367/1.367, allocations: 177.1 MB / 203.5 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.8859/0.8859, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.5547 GB, free: 2.59 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.142e-05, allocations: 5.375 kB / 0.5547 GB, free: 2.586 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope): time 0.004505/0.004526, allocations: 3.082 MB / 0.5577 GB, free: 15.48 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.007129, allocations: 1.493 MB / 0.5592 GB, free: 13.99 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.007338, allocations: 11.94 kB / 0.5592 GB, free: 13.98 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003636/0.007702, allocations: 114.9 kB / 0.5593 GB, free: 13.86 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006779/0.00838, allocations: 326 kB / 0.5596 GB, free: 13.54 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006575/0.009037, allocations: 362.8 kB / 0.56 GB, free: 13.19 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009491/0.009986, allocations: 0.9193 MB / 0.5609 GB, free: 12.27 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004217/0.01041, allocations: 233 kB / 0.5611 GB, free: 12.04 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005563/0.01096, allocations: 491 kB / 0.5616 GB, free: 11.56 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005006/0.01147, allocations: 366.9 kB / 0.5619 GB, free: 11.2 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.0116, allocations: 92 kB / 0.562 GB, free: 11.11 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.01181, allocations: 127.9 kB / 0.5621 GB, free: 10.98 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002789/0.01209, allocations: 279.1 kB / 0.5624 GB, free: 10.71 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002839/0.01237, allocations: 259.3 kB / 0.5626 GB, free: 10.46 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.01359, allocations: 1.227 MB / 0.5638 GB, free: 9.227 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.0136, allocations: 4 kB / 0.5638 GB, free: 9.223 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.0136, allocations: 0 / 0.5638 GB, free: 9.223 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.01361, allocations: 0 / 0.5638 GB, free: 9.223 MB / 478.1 MB 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.002293/0.0159, allocations: 1.159 MB / 0.565 GB, free: 8.016 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.01594, allocations: 23.91 kB / 0.565 GB, free: 7.992 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002785/0.01622, allocations: 96.36 kB / 0.5651 GB, free: 7.898 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.01746, allocations: 0.6415 MB / 0.5657 GB, free: 7.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/0.01751, allocations: 41.12 kB / 0.5658 GB, free: 7.191 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.489e-05/0.01758, allocations: 40 kB / 0.5658 GB, free: 7.152 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.01876, allocations: 0.7437 MB / 0.5665 GB, free: 6.328 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.01877, allocations: 0 / 0.5665 GB, free: 6.328 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.975e-05/0.01882, allocations: 20 kB / 0.5665 GB, free: 6.309 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.01883, allocations: 8 kB / 0.5666 GB, free: 6.301 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.01987, allocations: 387.7 kB / 0.5669 GB, free: 5.922 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002238/0.02211, allocations: 1.137 MB / 0.568 GB, free: 4.758 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.02316, allocations: 318.7 kB / 0.5683 GB, free: 4.438 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004582/0.02362, allocations: 160.8 kB / 0.5685 GB, free: 4.277 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.02366, allocations: 4 kB / 0.5685 GB, free: 4.273 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006633/0.02432, allocations: 285.5 kB / 0.5688 GB, free: 3.977 MB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 1.763e-06/0.02432, allocations: 0 / 0.5688 GB, free: 3.977 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.001551/0.02587, allocations: 0.529 MB / 0.5693 GB, free: 3.441 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.784e-05/0.02597, allocations: 158.2 kB / 0.5694 GB, free: 3.25 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009942/0.02696, allocations: 0.7968 MB / 0.5702 GB, free: 2.445 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.528e-05/0.02703, allocations: 45.7 kB / 0.5703 GB, free: 2.395 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.02732, allocations: 344.6 kB / 0.5706 GB, free: 2.051 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.031e-05/0.02741, allocations: 95.2 kB / 0.5707 GB, free: 1.957 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.02757, allocations: 94.17 kB / 0.5708 GB, free: 1.859 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.02776, allocations: 374.8 kB / 0.5711 GB, free: 1.484 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005346/0.02829, allocations: 228.3 kB / 0.5713 GB, free: 1.246 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006306/0.02892, allocations: 389.9 kB / 0.5717 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009009/0.02982, allocations: 380.9 kB / 0.5721 GB, free: 412 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.02983, allocations: 0 / 0.5721 GB, free: 412 kB / 478.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001279/0.03111, allocations: 0.5971 MB / 0.5727 GB, free: 15.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.443e-05/0.03116, allocations: 63.34 kB / 0.5727 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.03117, allocations: 4 kB / 0.5727 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.03119, allocations: 4.188 kB / 0.5727 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.03148, allocations: 67.86 kB / 0.5728 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.03149, allocations: 4 kB / 0.5728 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.03196, allocations: 75.66 kB / 0.5729 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.032, allocations: 16 kB / 0.5729 GB, free: 15.53 MB / 494.1 MB 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.0003035/0.03231, allocations: 251 kB / 0.5731 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.03241, allocations: 71.58 kB / 0.5732 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.03355, allocations: 427.7 kB / 0.5736 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.03356, allocations: 11.94 kB / 0.5736 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.03356, allocations: 0 / 0.5736 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.03357, allocations: 3.984 kB / 0.5736 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.0353, allocations: 0.9739 MB / 0.5746 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.03531, allocations: 3.938 kB / 0.5746 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.03554, allocations: 55.92 kB / 0.5746 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.03554, allocations: 0 / 0.5746 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.03557, allocations: 11.98 kB / 0.5746 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.03558, allocations: 0 / 0.5746 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.03558, allocations: 0 / 0.5746 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.0367, allocations: 0.5669 MB / 0.5752 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.03683, allocations: 83.44 kB / 0.5753 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.03694, allocations: 19.94 kB / 0.5753 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004856/0.03742, allocations: 43.94 kB / 0.5753 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.03762, allocations: 83.86 kB / 0.5754 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.776e-05/0.03766, allocations: 15.98 kB / 0.5754 GB, free: 12.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006933/0.03835, allocations: 0.5498 MB / 0.576 GB, free: 12.31 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.03835, allocations: 4 kB / 0.576 GB, free: 12.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004874/0.03884, allocations: 131.6 kB / 0.5761 GB, free: 12.18 MB / 494.1 MB 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.001435/0.04028, allocations: 413.4 kB / 0.5765 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.04148, allocations: 0.5298 MB / 0.577 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.04148, allocations: 0 / 0.577 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000541/0.04202, allocations: 187.7 kB / 0.5772 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008904/0.04291, allocations: 179.6 kB / 0.5773 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.04471, allocations: 1.052 MB / 0.5784 GB, free: 9.949 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.04505, allocations: 321.4 kB / 0.5787 GB, free: 9.609 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002668/0.04532, allocations: 92.73 kB / 0.5788 GB, free: 9.516 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.04551, allocations: 56.47 kB / 0.5788 GB, free: 9.461 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.04551, allocations: 8 kB / 0.5788 GB, free: 9.453 MB / 494.1 MB Notification: Performance of Templates: time 0.01819/0.0637, allocations: 10.21 MB / 0.5888 GB, free: 15.47 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.383284892886877] Failed to read output from testmodel.py, exit status != 0: 0.07196220755577087 0.08528621600000001 0.068839839 Calling exit ...