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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 121.7 kB / 17.81 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 187.8 kB / 20.74 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8196/0.8196, allocations: 128.4 MB / 432.4 MB, free: 13.45 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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 0.001852/0.001852, allocations: 67.89 kB / 0.5988 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4127, allocations: 83.26 MB / 0.6801 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope): time 0.004048/0.4167, allocations: 3.203 MB / 0.6832 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00182/0.4185, allocations: 1.365 MB / 0.6845 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.4187, allocations: 6.688 kB / 0.6846 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.4191, allocations: 108.2 kB / 0.6847 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004864/0.4196, allocations: 269.1 kB / 0.6849 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005747/0.4201, allocations: 347.1 kB / 0.6852 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007117/0.4208, allocations: 0.8413 MB / 0.6861 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000357/0.4212, allocations: 235.6 kB / 0.6863 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002761/0.4215, allocations: 325.6 kB / 0.6866 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004033/0.4219, allocations: 436.9 kB / 0.687 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.422, allocations: 86.38 kB / 0.6871 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/0.4222, allocations: 129 kB / 0.6872 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.4224, allocations: 262.9 kB / 0.6875 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002563/0.4227, allocations: 377.8 kB / 0.6878 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009047/0.4236, allocations: 1.158 MB / 0.689 GB, free: 264 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4236, allocations: 0 / 0.689 GB, free: 264 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4236, allocations: 0 / 0.689 GB, free: 264 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.4236, allocations: 1.219 kB / 0.689 GB, free: 264 kB / 0.4981 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.002277/0.4259, allocations: 1.209 MB / 0.6901 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.4259, allocations: 13.64 kB / 0.6902 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.4261, allocations: 85.27 kB / 0.6902 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.4273, allocations: 0.6925 MB / 0.6909 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.779e-05/0.4274, allocations: 31.75 kB / 0.6909 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.858e-05/0.4275, allocations: 45.22 kB / 0.691 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.4285, allocations: 0.5089 MB / 0.6915 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.4285, allocations: 5.125 kB / 0.6915 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/0.4285, allocations: 16.47 kB / 0.6915 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.4286, allocations: 13.28 kB / 0.6915 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009911/0.4295, allocations: 373.2 kB / 0.6919 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.4318, allocations: 1.377 MB / 0.6932 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008726/0.4327, allocations: 302.8 kB / 0.6935 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004291/0.4331, allocations: 161.2 kB / 0.6937 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.123e-05/0.4331, allocations: 11.09 kB / 0.6937 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006116/0.4337, allocations: 272 kB / 0.6939 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=31): time 1.753e-06/0.4337, allocations: 0 / 0.6939 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31): time 0.001474/0.4352, allocations: 0.5159 MB / 0.6944 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.4353, allocations: 163 kB / 0.6946 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.4364, allocations: 0.7972 MB / 0.6954 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.588e-05/0.4365, allocations: 46.25 kB / 0.6954 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.4368, allocations: 324.5 kB / 0.6957 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.4369, allocations: 87.11 kB / 0.6958 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.437, allocations: 94.56 kB / 0.6959 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.4372, allocations: 371.2 kB / 0.6963 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/0.4377, allocations: 167.2 kB / 0.6964 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005281/0.4382, allocations: 247.1 kB / 0.6966 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008651/0.4391, allocations: 387.3 kB / 0.697 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4391, allocations: 0 / 0.697 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001196/0.4403, allocations: 0.5392 MB / 0.6975 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.427e-05/0.4404, allocations: 66.67 kB / 0.6976 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.4404, allocations: 10.45 kB / 0.6976 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.4404, allocations: 3.625 kB / 0.6976 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.4407, allocations: 57.86 kB / 0.6977 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.4407, allocations: 2.938 kB / 0.6977 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/0.4412, allocations: 80.73 kB / 0.6978 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.4412, allocations: 16.5 kB / 0.6978 GB, free: 9.914 MB / 0.5137 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.0002987/0.4415, allocations: 252 kB / 0.698 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.4416, allocations: 71.14 kB / 0.6981 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.4427, allocations: 423.8 kB / 0.6985 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.4427, allocations: 4 kB / 0.6985 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.4427, allocations: 3.984 kB / 0.6985 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4427, allocations: 1.406 kB / 0.6985 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.4446, allocations: 1.169 MB / 0.6996 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4446, allocations: 0 / 0.6996 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.4448, allocations: 37.34 kB / 0.6997 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.4448, allocations: 10.3 kB / 0.6997 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.4449, allocations: 6.875 kB / 0.6997 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.4449, allocations: 2.375 kB / 0.6997 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4449, allocations: 3.938 kB / 0.6997 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.4459, allocations: 0.5815 MB / 0.7003 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.4461, allocations: 156 kB / 0.7004 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-05/0.4462, allocations: 18.88 kB / 0.7004 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004508/0.4466, allocations: 41.94 kB / 0.7005 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.4468, allocations: 78.12 kB / 0.7005 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.4468, allocations: 16.23 kB / 0.7006 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007609/0.4476, allocations: 0.5578 MB / 0.7011 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.4476, allocations: 0 / 0.7011 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005711/0.4482, allocations: 132 kB / 0.7012 GB, free: 7.551 MB / 0.5137 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.00143/0.4496, allocations: 398.9 kB / 0.7016 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.4507, allocations: 476.9 kB / 0.7021 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4507, allocations: 0 / 0.7021 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005102/0.4512, allocations: 174.2 kB / 0.7022 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000872/0.4521, allocations: 168.8 kB / 0.7024 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.454, allocations: 1.085 MB / 0.7034 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005431/0.4546, allocations: 0.9121 MB / 0.7043 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.4547, allocations: 55.17 kB / 0.7044 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of SimCode: time 4e-07/0.4547, allocations: 0 / 0.7044 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of Templates: time 0.01456/0.4693, allocations: 9.39 MB / 0.7136 GB, free: 12.5 MB / 0.5294 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: 9.313836609013379] Failed to read output from testmodel.py, exit status != 0: 0.4767476450651884 0.488231382 0.06206091700000001 Calling exit ...