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.000993/0.000993, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 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.001291/0.001291, allocations: 177 kB / 23.36 MB, free: 1.137 MB / 18.57 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 0.9642/0.9642, allocations: 177.1 MB / 203.8 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] 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.001664/0.001664, allocations: 246 kB / 260.5 MB, free: 12.67 MB / 250.7 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 0.7307/0.7307, allocations: 138.4 MB / 402.2 MB, free: 0.5547 MB / 362.7 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.343e-06/1.343e-06, allocations: 0.6562 kB / 462.4 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006e-05/1.14e-05, allocations: 6.844 kB / 462.4 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002368/0.002379, allocations: 2.098 MB / 464.5 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.003519, allocations: 0.6248 MB / 465.1 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.00364, allocations: 5.531 kB / 465.1 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.003762, allocations: 25.09 kB / 465.2 MB, free: 15.09 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.003908, allocations: 46.08 kB / 465.2 MB, free: 15.07 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.004167, allocations: 100.4 kB / 465.3 MB, free: 15.01 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003136/0.00448, allocations: 285.5 kB / 465.6 MB, free: 14.87 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.004684, allocations: 89 kB / 465.7 MB, free: 14.83 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.004909, allocations: 176.9 kB / 465.9 MB, free: 14.74 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.005052, allocations: 99.83 kB / 465.9 MB, free: 14.7 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.775e-05/0.0051, allocations: 27.19 kB / 466 MB, free: 14.7 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.689e-05/0.005137, allocations: 27.91 kB / 466 MB, free: 14.7 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.883e-05/0.005196, allocations: 65.05 kB / 466.1 MB, free: 14.66 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.819e-05/0.005284, allocations: 82.2 kB / 466.1 MB, free: 14.62 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.005547, allocations: 207.6 kB / 466.3 MB, free: 14.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.00555, allocations: 2.312 kB / 466.4 MB, free: 14.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.00555, allocations: 0 / 466.4 MB, free: 14.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.005554, allocations: 0 / 466.4 MB, free: 14.5 MB / 426.7 MB 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.0007931/0.006348, allocations: 0.5512 MB / 466.9 MB, free: 14.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.006381, allocations: 10.41 kB / 466.9 MB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.086e-05/0.006452, allocations: 37.55 kB / 466.9 MB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.006685, allocations: 180 kB / 467.1 MB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.006709, allocations: 17.72 kB / 467.1 MB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.006743, allocations: 26.31 kB / 467.2 MB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/0.007108, allocations: 316.7 kB / 467.5 MB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.007118, allocations: 192 / 467.5 MB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.007139, allocations: 8.375 kB / 467.5 MB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.007149, allocations: 7.938 kB / 467.5 MB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.007253, allocations: 47.47 kB / 467.5 MB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006852/0.007938, allocations: 386.5 kB / 467.9 MB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.00808, allocations: 72.53 kB / 468 MB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.008132, allocations: 28.78 kB / 468 MB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.008144, allocations: 4.875 kB / 468 MB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.008338, allocations: 129.6 kB / 468.1 MB, free: 12.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.008339, allocations: 0 / 468.1 MB, free: 12.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.000229/0.008568, allocations: 120.5 kB / 468.3 MB, free: 12.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.008633, allocations: 141.2 kB / 468.4 MB, free: 12.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.008779, allocations: 203.8 kB / 468.6 MB, free: 12.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.00881, allocations: 42.69 kB / 468.6 MB, free: 12.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.008886, allocations: 140.4 kB / 468.8 MB, free: 12.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.008926, allocations: 55.61 kB / 468.8 MB, free: 12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.201e-05/0.009018, allocations: 67.81 kB / 468.9 MB, free: 11.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.486e-05/0.009113, allocations: 338.7 kB / 469.2 MB, free: 11.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.557e-05/0.009208, allocations: 117.4 kB / 469.3 MB, free: 11.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.009363, allocations: 255.9 kB / 469.6 MB, free: 11.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.009513, allocations: 199.2 kB / 469.8 MB, free: 10.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.009517, allocations: 6.188 kB / 469.8 MB, free: 10.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002169/0.009734, allocations: 324.6 kB / 470.1 MB, free: 10.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/0.009777, allocations: 89.11 kB / 470.2 MB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.009784, allocations: 5.891 kB / 470.2 MB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.009796, allocations: 4 kB / 470.2 MB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.009921, allocations: 52.52 kB / 470.3 MB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.009925, allocations: 5.406 kB / 470.3 MB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.01006, allocations: 60.7 kB / 470.3 MB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.01007, allocations: 8 kB / 470.3 MB, free: 10.32 MB / 426.7 MB 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,minFloRatSaf.disErr.local_reset,minFloRatSaf.disErr.local_set,minFloRatSaf.intConOne.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) * 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 8.972e-05/0.01016, allocations: 146.1 kB / 470.5 MB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.01018, allocations: 29.06 kB / 470.5 MB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.01021, allocations: 24.81 kB / 470.5 MB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.01022, allocations: 0 / 470.5 MB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.01022, allocations: 0.75 kB / 470.5 MB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.01022, allocations: 5.859 kB / 470.5 MB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.01049, allocations: 311.2 kB / 470.8 MB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01049, allocations: 4 kB / 470.8 MB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.015e-05/0.01054, allocations: 16.86 kB / 470.9 MB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01054, allocations: 5.469 kB / 470.9 MB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.01055, allocations: 7.984 kB / 470.9 MB, free: 9.762 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01056, allocations: 0 / 470.9 MB, free: 9.762 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01056, allocations: 0 / 470.9 MB, free: 9.762 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.01068, allocations: 205.8 kB / 471.1 MB, free: 9.547 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.642e-05/0.0107, allocations: 15.86 kB / 471.1 MB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.01072, allocations: 8 kB / 471.1 MB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.01083, allocations: 42.14 kB / 471.1 MB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.953e-05/0.01091, allocations: 47.91 kB / 471.2 MB, free: 9.438 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.01092, allocations: 8.812 kB / 471.2 MB, free: 9.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.993e-05/0.01096, allocations: 57.81 kB / 471.3 MB, free: 9.371 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01096, allocations: 0 / 471.3 MB, free: 9.371 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001653/0.01113, allocations: 59.89 kB / 471.3 MB, free: 9.312 MB / 426.7 MB 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 7.753e-05/0.0112, allocations: 102.8 kB / 471.4 MB, free: 9.203 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002393/0.01144, allocations: 362.7 kB / 471.8 MB, free: 8.793 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.01145, allocations: 0 / 471.8 MB, free: 8.793 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.156e-05/0.01152, allocations: 63 kB / 471.8 MB, free: 8.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.01169, allocations: 35.41 kB / 471.9 MB, free: 8.699 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.01212, allocations: 361.5 kB / 472.2 MB, free: 8.324 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.024e-05/0.01216, allocations: 76.22 kB / 472.3 MB, free: 8.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.716e-05/0.01223, allocations: 28.73 kB / 472.3 MB, free: 8.207 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.01236, allocations: 99.34 kB / 472.4 MB, free: 8.109 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01237, allocations: 3.938 kB / 472.4 MB, free: 8.105 MB / 426.7 MB Notification: Performance of Templates: time 0.005094/0.01746, allocations: 3.877 MB / 476.3 MB, free: 4.586 MB / 426.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.360257132910192]