Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.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.00194/0.00194, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.002216/0.002216, allocations: 213 kB / 23.02 MB, free: 2.949 MB / 13.93 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.726/1.726, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.452/3.452, allocations: 0.5045 GB / 0.8104 GB, free: 2.766 MB / 0.6511 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.MinimalFlowRate,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003596/0.003596, allocations: 67.88 kB / 1.177 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1/1.004, allocations: 180 MB / 1.353 GB, free: 1.547 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.00417/1.008, allocations: 2.04 MB / 1.355 GB, free: 15.5 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001367/1.01, allocations: 0.6001 MB / 1.356 GB, free: 14.89 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/1.01, allocations: 7.938 kB / 1.356 GB, free: 14.88 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001437/1.01, allocations: 23.67 kB / 1.356 GB, free: 14.86 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001553/1.01, allocations: 51.56 kB / 1.356 GB, free: 14.81 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/1.01, allocations: 99.89 kB / 1.356 GB, free: 14.71 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0004108/1.011, allocations: 311.2 kB / 1.356 GB, free: 14.41 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/1.011, allocations: 100.3 kB / 1.356 GB, free: 14.31 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/1.011, allocations: 131.5 kB / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/1.011, allocations: 127.4 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 6.512e-05/1.011, allocations: 32 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.975e-05/1.011, allocations: 28 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 8.364e-05/1.012, allocations: 79.69 kB / 1.356 GB, free: 13.92 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002511/1.012, allocations: 107.5 kB / 1.357 GB, free: 13.81 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004255/1.012, allocations: 325.7 kB / 1.357 GB, free: 13.5 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.012, allocations: 0 / 1.357 GB, free: 13.5 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.847e-06/1.012, allocations: 7.984 kB / 1.357 GB, free: 13.49 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.815e-06/1.012, allocations: 0 / 1.357 GB, free: 13.49 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001489/1.014, allocations: 0.6199 MB / 1.358 GB, free: 12.82 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.014, allocations: 8.031 kB / 1.358 GB, free: 12.81 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.091e-05/1.014, allocations: 36.75 kB / 1.358 GB, free: 12.77 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/1.014, allocations: 206.7 kB / 1.358 GB, free: 12.55 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/1.014, allocations: 24.8 kB / 1.358 GB, free: 12.52 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.18e-05/1.014, allocations: 24.38 kB / 1.358 GB, free: 12.5 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007736/1.015, allocations: 419.2 kB / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/1.015, allocations: 0 / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/1.015, allocations: 8 kB / 1.358 GB, free: 12.04 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/1.015, allocations: 7.984 kB / 1.358 GB, free: 12.03 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000702/1.016, allocations: 217.6 kB / 1.358 GB, free: 11.82 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/1.017, allocations: 0.5408 MB / 1.359 GB, free: 11.25 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006925/1.018, allocations: 202.2 kB / 1.359 GB, free: 11.04 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/1.018, allocations: 96.78 kB / 1.359 GB, free: 10.94 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/1.018, allocations: 0 / 1.359 GB, free: 10.94 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005807/1.019, allocations: 213.1 kB / 1.359 GB, free: 10.72 MB / 1.042 GB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/1.019, allocations: 3.938 kB / 1.359 GB, free: 10.72 MB / 1.042 GB Notification: Performance of matching and sorting (n=21): time 0.001181/1.02, allocations: 357.2 kB / 1.36 GB, free: 10.36 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/1.02, allocations: 132.5 kB / 1.36 GB, free: 10.2 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/1.02, allocations: 227.1 kB / 1.36 GB, free: 9.973 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/1.02, allocations: 41.69 kB / 1.36 GB, free: 9.926 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/1.021, allocations: 168.7 kB / 1.36 GB, free: 9.758 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 6.035e-05/1.021, allocations: 47.64 kB / 1.36 GB, free: 9.711 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/1.021, allocations: 81.62 kB / 1.36 GB, free: 9.625 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001904/1.021, allocations: 342.8 kB / 1.361 GB, free: 9.281 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004577/1.021, allocations: 197.3 kB / 1.361 GB, free: 9.066 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005601/1.022, allocations: 359.3 kB / 1.361 GB, free: 8.652 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007388/1.023, allocations: 311.2 kB / 1.362 GB, free: 8.309 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/1.023, allocations: 0 / 1.362 GB, free: 8.309 MB / 1.042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001131/1.024, allocations: 0.5228 MB / 1.362 GB, free: 7.746 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 8.273e-05/1.024, allocations: 93.09 kB / 1.362 GB, free: 7.637 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.024, allocations: 0 / 1.362 GB, free: 7.637 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/1.024, allocations: 4 kB / 1.362 GB, free: 7.633 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/1.024, allocations: 48.05 kB / 1.362 GB, free: 7.586 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/1.024, allocations: 4 kB / 1.362 GB, free: 7.582 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/1.025, allocations: 75.72 kB / 1.362 GB, free: 7.508 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/1.025, allocations: 8 kB / 1.362 GB, free: 7.5 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 (minFloRatSaf.disErr.y,$PRE.minFloRatSaf.disErr.y,ySetOn.y,$PRE.ySetOn.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.canOpe,minFloRatSaf.errAndSetOn.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 (36): * Single equations (assignments): 33 * 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.0001951/1.025, allocations: 168.9 kB / 1.362 GB, free: 7.324 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/1.025, allocations: 23.86 kB / 1.363 GB, free: 7.301 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.679e-05/1.025, allocations: 29.95 kB / 1.363 GB, free: 7.27 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/1.025, allocations: 0 / 1.363 GB, free: 7.27 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.025, allocations: 4 kB / 1.363 GB, free: 7.266 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.025, allocations: 0 / 1.363 GB, free: 7.266 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/1.026, allocations: 0.547 MB / 1.363 GB, free: 6.684 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.026, allocations: 0 / 1.363 GB, free: 6.684 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/1.026, allocations: 31.97 kB / 1.363 GB, free: 6.652 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/1.026, allocations: 0 / 1.363 GB, free: 6.652 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/1.026, allocations: 15.92 kB / 1.363 GB, free: 6.637 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.026, allocations: 0 / 1.363 GB, free: 6.637 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/1.026, allocations: 0 / 1.363 GB, free: 6.637 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009477/1.027, allocations: 373.8 kB / 1.363 GB, free: 6.258 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/1.027, allocations: 19.84 kB / 1.364 GB, free: 6.238 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/1.027, allocations: 8 kB / 1.364 GB, free: 6.23 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/1.028, allocations: 51.92 kB / 1.364 GB, free: 6.18 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/1.028, allocations: 51.91 kB / 1.364 GB, free: 6.129 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/1.028, allocations: 15.98 kB / 1.364 GB, free: 6.113 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001719/1.028, allocations: 156.6 kB / 1.364 GB, free: 5.961 MB / 1.042 GB Notification: Performance of sort global known variables: time 2.1e-07/1.028, allocations: 3.938 kB / 1.364 GB, free: 5.957 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003244/1.028, allocations: 63.84 kB / 1.364 GB, free: 5.895 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 (minFloRatSaf.errAndSetOn.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,minFloRatSaf.disErr.y,minFloRatSaf.canOpe,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,ySetOn.y) * Number of discrete states: 8 (mEvaEmu_flow.count,mConEmu_flow.count,ySetPul.count,minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,ySetOn.y,hys.y,minFloRatSaf.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 14 * 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.0002005/1.029, allocations: 131.4 kB / 1.364 GB, free: 5.754 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.001067/1.03, allocations: 0.4957 MB / 1.364 GB, free: 5.203 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.03, allocations: 4 kB / 1.364 GB, free: 5.199 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003958/1.03, allocations: 115.8 kB / 1.365 GB, free: 5.086 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/1.03, allocations: 45.64 kB / 1.365 GB, free: 5.043 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/1.031, allocations: 402.9 kB / 1.365 GB, free: 4.625 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/1.032, allocations: 146 kB / 1.365 GB, free: 4.465 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0001242/1.032, allocations: 25.94 kB / 1.365 GB, free: 4.438 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/1.032, allocations: 27.42 kB / 1.365 GB, free: 4.41 MB / 1.042 GB Notification: Performance of SimCode: time 1.112e-06/1.032, allocations: 0 / 1.365 GB, free: 4.41 MB / 1.042 GB Notification: Performance of Templates: time 0.009709/1.042, allocations: 4.176 MB / 1.369 GB, free: 340 kB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.sim & ./Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.611002434045076]