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.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.001718/0.001718, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.00206/0.00206, allocations: 159.6 kB / 22.45 MB, free: 5.375 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.479/1.479, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.004157/0.004157, allocations: 229.6 kB / 259.4 MB, free: 492 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.081/1.081, allocations: 138.4 MB / 454.3 MB, free: 1.957 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(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 1.513e-06/1.513e-06, allocations: 0 / 0.6468 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.747e-05, allocations: 9.797 kB / 0.6469 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.003396/0.003423, allocations: 2.005 MB / 0.6488 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.004672, allocations: 0.5844 MB / 0.6494 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.004789, allocations: 4 kB / 0.6494 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.004926, allocations: 23.67 kB / 0.6494 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.005082, allocations: 43.59 kB / 0.6495 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.00534, allocations: 99.8 kB / 0.6495 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003594/0.0057, allocations: 287.2 kB / 0.6498 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.005946, allocations: 91.92 kB / 0.6499 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.006186, allocations: 171.6 kB / 0.6501 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.006336, allocations: 95.73 kB / 0.6502 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.671e-05/0.006393, allocations: 28 kB / 0.6502 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.674e-05/0.006439, allocations: 28 kB / 0.6502 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.131e-05/0.006531, allocations: 63.75 kB / 0.6503 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.006644, allocations: 87.78 kB / 0.6504 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.007043, allocations: 323 kB / 0.6507 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.007047, allocations: 0 / 0.6507 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.393e-06/0.007048, allocations: 7.938 kB / 0.6507 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.007058, allocations: 4 kB / 0.6507 GB, free: 0.9922 MB / 0.5606 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.001238/0.008295, allocations: 0.5851 MB / 0.6513 GB, free: 368 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.008334, allocations: 13.34 kB / 0.6513 GB, free: 356 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.05e-05/0.008415, allocations: 32.75 kB / 0.6513 GB, free: 324 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.008787, allocations: 206.7 kB / 0.6515 GB, free: 88 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.008811, allocations: 24.88 kB / 0.6515 GB, free: 64 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.681e-05/0.008858, allocations: 20.38 kB / 0.6515 GB, free: 44 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2749/0.2837, allocations: 357 kB / 0.6519 GB, free: 56.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.2837, allocations: 192 / 0.6519 GB, free: 56.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.2838, allocations: 12.53 kB / 0.6519 GB, free: 56.89 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2838, allocations: 3.469 kB / 0.6519 GB, free: 56.89 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006519/0.2844, allocations: 206.2 kB / 0.6521 GB, free: 56.89 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009788/0.2854, allocations: 0.5129 MB / 0.6526 GB, free: 56.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006037/0.286, allocations: 190.4 kB / 0.6528 GB, free: 56.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.2863, allocations: 89.06 kB / 0.6529 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.2863, allocations: 3.5 kB / 0.6529 GB, free: 56.65 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004351/0.2867, allocations: 196.1 kB / 0.653 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 2.174e-06/0.2867, allocations: 0 / 0.653 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.0009786/0.2877, allocations: 345.6 kB / 0.6534 GB, free: 56.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.2878, allocations: 135.7 kB / 0.6535 GB, free: 56.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.2879, allocations: 221.4 kB / 0.6537 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.2879, allocations: 38.92 kB / 0.6538 GB, free: 56.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.788e-05/0.288, allocations: 160.5 kB / 0.6539 GB, free: 56.13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.288, allocations: 48.86 kB / 0.654 GB, free: 56.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-05/0.2881, allocations: 65.47 kB / 0.654 GB, free: 56.06 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.511e-05/0.2882, allocations: 340.4 kB / 0.6543 GB, free: 55.74 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003449/0.2885, allocations: 197.8 kB / 0.6545 GB, free: 55.62 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/0.2889, allocations: 351.5 kB / 0.6549 GB, free: 55.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005781/0.2895, allocations: 305.2 kB / 0.6552 GB, free: 55.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2895, allocations: 0.6875 kB / 0.6552 GB, free: 55.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008293/0.2903, allocations: 0.5101 MB / 0.6557 GB, free: 54.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.2903, allocations: 95.77 kB / 0.6557 GB, free: 54.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.2903, allocations: 3.938 kB / 0.6557 GB, free: 54.72 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.2904, allocations: 3.719 kB / 0.6558 GB, free: 54.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.2906, allocations: 47.12 kB / 0.6558 GB, free: 54.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2906, allocations: 3.156 kB / 0.6558 GB, free: 54.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.2909, allocations: 74.59 kB / 0.6559 GB, free: 54.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.2909, allocations: 9.875 kB / 0.6559 GB, free: 54.7 MB / 0.5606 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.0001263/0.2911, allocations: 153.9 kB / 0.656 GB, free: 54.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.2911, allocations: 21.94 kB / 0.656 GB, free: 54.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.484e-05/0.2912, allocations: 32.39 kB / 0.6561 GB, free: 54.53 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2912, allocations: 3.344 kB / 0.6561 GB, free: 54.53 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2912, allocations: 0 / 0.6561 GB, free: 54.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2912, allocations: 0 / 0.6561 GB, free: 54.53 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008936/0.2921, allocations: 0.5157 MB / 0.6566 GB, free: 54.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2921, allocations: 0 / 0.6566 GB, free: 54.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.2922, allocations: 44.22 kB / 0.6566 GB, free: 54.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2922, allocations: 0 / 0.6566 GB, free: 54.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.2922, allocations: 6.422 kB / 0.6566 GB, free: 54.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2922, allocations: 0 / 0.6566 GB, free: 54.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2922, allocations: 2.5 kB / 0.6566 GB, free: 54.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000668/0.2929, allocations: 362.8 kB / 0.657 GB, free: 54.03 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.609e-05/0.2929, allocations: 22.25 kB / 0.657 GB, free: 54.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.293, allocations: 9.797 kB / 0.657 GB, free: 54.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.2933, allocations: 50.23 kB / 0.6571 GB, free: 54.01 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.2934, allocations: 48.16 kB / 0.6571 GB, free: 54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.2934, allocations: 10.8 kB / 0.6571 GB, free: 54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.432e-05/0.2935, allocations: 149.8 kB / 0.6573 GB, free: 53.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2935, allocations: 0 / 0.6573 GB, free: 53.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003132/0.2938, allocations: 59.31 kB / 0.6573 GB, free: 53.89 MB / 0.5606 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.0001504/0.294, allocations: 114.1 kB / 0.6574 GB, free: 53.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008334/0.2948, allocations: 0.4956 MB / 0.6579 GB, free: 53.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.2948, allocations: 0 / 0.6579 GB, free: 53.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.2952, allocations: 117 kB / 0.658 GB, free: 53.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.2956, allocations: 28.78 kB / 0.658 GB, free: 53.42 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007673/0.2963, allocations: 374.9 kB / 0.6584 GB, free: 53.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.094e-05/0.2964, allocations: 134.1 kB / 0.6585 GB, free: 53.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.647e-05/0.2965, allocations: 22.89 kB / 0.6586 GB, free: 53.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.128e-05/0.2966, allocations: 31.88 kB / 0.6586 GB, free: 53.09 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.2966, allocations: 480 / 0.6586 GB, free: 53.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.006731/0.3033, allocations: 3.824 MB / 0.6623 GB, free: 52.8 MB / 0.5606 GB " [Timeout remaining time 660] 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: 6.0526573322713375] Failed to read output from testmodel.py, exit status != 0: 0.31122031807899475 0.320678899 0.311173861 Calling exit ...