Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.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.001377/0.001377, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001521/0.001521, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.454/1.454, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002446/0.002446, allocations: 276.8 kB / 303.6 MB, free: 3.699 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.065/1.065, allocations: 180.9 MB / 0.5268 GB, free: 2.715 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") translateModel(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002768/0.002768, allocations: 107.8 kB / 0.726 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5846/0.5874, allocations: 94.16 MB / 0.8179 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.003442/0.5908, allocations: 2.034 MB / 0.8199 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.592, allocations: 0.577 MB / 0.8205 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.5921, allocations: 6.312 kB / 0.8205 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.5923, allocations: 22.97 kB / 0.8205 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.5924, allocations: 43.72 kB / 0.8205 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.5926, allocations: 96.73 kB / 0.8206 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003667/0.593, allocations: 285.3 kB / 0.8209 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.5932, allocations: 104.8 kB / 0.821 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.5934, allocations: 116.4 kB / 0.8211 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.5935, allocations: 129.1 kB / 0.8212 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.726e-05/0.5936, allocations: 29 kB / 0.8213 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.118e-05/0.5936, allocations: 28.34 kB / 0.8213 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.5937, allocations: 63.61 kB / 0.8213 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.5938, allocations: 125.1 kB / 0.8215 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.5942, allocations: 298.5 kB / 0.8218 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5942, allocations: 0.5625 kB / 0.8218 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5942, allocations: 0 / 0.8218 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.5942, allocations: 4 kB / 0.8218 GB, free: 4.941 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.00123/0.5954, allocations: 0.6647 MB / 0.8224 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.5955, allocations: 9.5 kB / 0.8224 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.82e-05/0.5956, allocations: 31.89 kB / 0.8224 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.5959, allocations: 263.7 kB / 0.8227 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.596, allocations: 23.58 kB / 0.8227 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.727e-05/0.596, allocations: 21.09 kB / 0.8227 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006652/0.5967, allocations: 293.5 kB / 0.823 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.5967, allocations: 0 / 0.823 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.5967, allocations: 7.281 kB / 0.823 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.5967, allocations: 12.45 kB / 0.823 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006797/0.5974, allocations: 201.1 kB / 0.8232 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.5986, allocations: 0.6475 MB / 0.8239 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.5992, allocations: 193.6 kB / 0.824 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.5996, allocations: 84.81 kB / 0.8241 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.5996, allocations: 1.125 kB / 0.8241 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005133/0.6001, allocations: 202.8 kB / 0.8243 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 1.713e-06/0.6001, allocations: 0 / 0.8243 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001101/0.6012, allocations: 335.1 kB / 0.8246 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.6012, allocations: 147.4 kB / 0.8248 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.6014, allocations: 211.3 kB / 0.825 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.6015, allocations: 42.8 kB / 0.825 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.906e-05/0.6016, allocations: 154.6 kB / 0.8252 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.6016, allocations: 54.47 kB / 0.8252 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.6017, allocations: 65.56 kB / 0.8253 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.919e-05/0.6018, allocations: 336.2 kB / 0.8256 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/0.6022, allocations: 114.4 kB / 0.8257 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.6026, allocations: 186.1 kB / 0.8259 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006497/0.6032, allocations: 312.4 kB / 0.8262 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.6032, allocations: 0 / 0.8262 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008551/0.6041, allocations: 428.4 kB / 0.8266 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.625e-05/0.6041, allocations: 87.78 kB / 0.8267 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.6041, allocations: 0 / 0.8267 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.6042, allocations: 7.641 kB / 0.8267 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.6044, allocations: 48.12 kB / 0.8267 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.6044, allocations: 2.859 kB / 0.8267 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/0.6048, allocations: 67.45 kB / 0.8268 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.6048, allocations: 13.97 kB / 0.8268 GB, free: 1.633 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 28 (minFloRatSaf.disErr.y,$PRE.minFloRatSaf.disErr.y,mEvaEmu_flow.count,$PRE.mEvaEmu_flow.count,mEvaEmu_flow.T_start,$PRE.mEvaEmu_flow.T_start,mConEmu_flow.count,$PRE.mConEmu_flow.count,mConEmu_flow.T_start,$PRE.mConEmu_flow.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,minFloRatSaf.hysEva.y,$PRE.minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,$PRE.minFloRatSaf.hysCon.y,minFloRatSaf.booPasThr.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,minFloRatSaf.intConOne.y,minFloRatSaf.disErr.local_set,minFloRatSaf.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 3 * 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.0001268/0.6049, allocations: 152.7 kB / 0.827 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.605, allocations: 23.25 kB / 0.827 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.213e-05/0.605, allocations: 27.17 kB / 0.827 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.605, allocations: 2.812 kB / 0.827 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.605, allocations: 0.6562 kB / 0.827 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.605, allocations: 0.6562 kB / 0.827 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.6061, allocations: 0.6195 MB / 0.8276 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.6061, allocations: 0 / 0.8276 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.6063, allocations: 30.22 kB / 0.8276 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.6063, allocations: 4.609 kB / 0.8277 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.6063, allocations: 6.109 kB / 0.8277 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.6063, allocations: 1.625 kB / 0.8277 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6063, allocations: 0.75 kB / 0.8277 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007238/0.607, allocations: 358.2 kB / 0.828 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.6071, allocations: 91.05 kB / 0.8281 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.6071, allocations: 10.53 kB / 0.8281 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003222/0.6074, allocations: 45.16 kB / 0.8281 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.6076, allocations: 51.7 kB / 0.8282 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.6076, allocations: 11.64 kB / 0.8282 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001005/0.6077, allocations: 144.6 kB / 0.8283 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.6077, allocations: 4 kB / 0.8283 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003048/0.608, allocations: 59.94 kB / 0.8284 GB, free: 0.625 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (minFloRatSaf.booPasThr.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,minFloRatSaf.disErr.y,minFloRatSaf.hysCon.y,minFloRatSaf.hysEva.y,ySetPul.T_start,ySetPul.count,mConEmu_flow.T_start,mConEmu_flow.count,mEvaEmu_flow.T_start,mEvaEmu_flow.count) * Number of discrete states: 7 (mEvaEmu_flow.count,mConEmu_flow.count,ySetPul.count,minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,hys.y,minFloRatSaf.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0001341/0.6081, allocations: 120 kB / 0.8285 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000884/0.609, allocations: 424.7 kB / 0.8289 GB, free: 272 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.609, allocations: 0 / 0.8289 GB, free: 272 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003567/0.6094, allocations: 105.4 kB / 0.829 GB, free: 252 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.6098, allocations: 42.02 kB / 0.8291 GB, free: 228 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009213/0.6107, allocations: 416.2 kB / 0.8295 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.6111, allocations: 0.7417 MB / 0.8302 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.6112, allocations: 29 kB / 0.8302 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.6112, allocations: 0 / 0.8302 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of Templates: time 0.006142/0.6173, allocations: 3.11 MB / 0.8332 GB, free: 14.91 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.842609575018287] Failed to read output from testmodel.py, exit status != 0: 0.6253446289338171 0.639965108 0.042797156 Calling exit ...