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.0008909/0.0008909, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009855/0.0009855, allocations: 169 kB / 23.02 MB, free: 1.547 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.9719/0.9719, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.001693/0.001693, allocations: 230.3 kB / 260.2 MB, free: 12.83 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.7441/0.7441, allocations: 138.4 MB / 455.2 MB, free: 30.09 MB / 410.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.453e-06/1.453e-06, allocations: 0 / 0.5551 GB, free: 124 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.745e-05, allocations: 5.828 kB / 0.5552 GB, free: 120 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002637/0.002665, allocations: 2.071 MB / 0.5572 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008963/0.003561, allocations: 0.6037 MB / 0.5578 GB, free: 13.42 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.003682, allocations: 3.938 kB / 0.5578 GB, free: 13.41 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.003803, allocations: 23.73 kB / 0.5578 GB, free: 13.39 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.003924, allocations: 43.59 kB / 0.5578 GB, free: 13.35 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.004133, allocations: 103.8 kB / 0.5579 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.004395, allocations: 291.3 kB / 0.5582 GB, free: 12.96 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.004603, allocations: 87.83 kB / 0.5583 GB, free: 12.87 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.004772, allocations: 171.6 kB / 0.5585 GB, free: 12.7 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.004889, allocations: 95.73 kB / 0.5585 GB, free: 12.61 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.397e-05/0.004933, allocations: 28 kB / 0.5586 GB, free: 12.58 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.914e-05/0.004962, allocations: 28 kB / 0.5586 GB, free: 12.55 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.005016, allocations: 63.75 kB / 0.5587 GB, free: 12.49 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.242e-05/0.005098, allocations: 83.81 kB / 0.5587 GB, free: 12.41 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.005339, allocations: 215.2 kB / 0.5589 GB, free: 12.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.005342, allocations: 4 kB / 0.559 GB, free: 12.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.041e-06/0.005343, allocations: 0 / 0.559 GB, free: 12.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.005349, allocations: 4 kB / 0.559 GB, free: 12.19 MB / 490.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.0007707/0.00612, allocations: 0.6694 MB / 0.5596 GB, free: 11.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.006159, allocations: 13.94 kB / 0.5596 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.056e-05/0.00624, allocations: 48.73 kB / 0.5597 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.006487, allocations: 213.6 kB / 0.5599 GB, free: 11.17 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.006512, allocations: 20.88 kB / 0.5599 GB, free: 11.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.006544, allocations: 24.38 kB / 0.5599 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/0.006918, allocations: 330 kB / 0.5602 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.006929, allocations: 192 / 0.5602 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.00695, allocations: 12.12 kB / 0.5602 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.006959, allocations: 4 kB / 0.5602 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.007101, allocations: 62.95 kB / 0.5603 GB, free: 10.69 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007344/0.007835, allocations: 0.5638 MB / 0.5609 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.008002, allocations: 90.41 kB / 0.5609 GB, free: 9.992 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.747e-05/0.00806, allocations: 31.67 kB / 0.561 GB, free: 9.957 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.008076, allocations: 0 / 0.561 GB, free: 9.957 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.008262, allocations: 148.8 kB / 0.5611 GB, free: 9.797 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 2.164e-06/0.008264, allocations: 3.984 kB / 0.5611 GB, free: 9.793 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003109/0.008575, allocations: 177.1 kB / 0.5613 GB, free: 9.617 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.008631, allocations: 140.4 kB / 0.5614 GB, free: 9.449 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.008842, allocations: 266.6 kB / 0.5617 GB, free: 9.172 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.00887, allocations: 45.69 kB / 0.5617 GB, free: 9.121 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.168e-05/0.008961, allocations: 203.4 kB / 0.5619 GB, free: 8.918 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.008994, allocations: 51.62 kB / 0.562 GB, free: 8.867 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.774e-05/0.009082, allocations: 75.62 kB / 0.562 GB, free: 8.785 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.009203, allocations: 0.5039 MB / 0.5625 GB, free: 8.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.009318, allocations: 125.4 kB / 0.5626 GB, free: 8.129 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.009495, allocations: 292.7 kB / 0.5629 GB, free: 7.766 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.009677, allocations: 218.1 kB / 0.5631 GB, free: 7.512 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.00968, allocations: 3.938 kB / 0.5631 GB, free: 7.508 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004872/0.01017, allocations: 405.2 kB / 0.5635 GB, free: 7.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.727e-05/0.01021, allocations: 85.11 kB / 0.5636 GB, free: 6.969 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.01022, allocations: 7.984 kB / 0.5636 GB, free: 6.961 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.01024, allocations: 4 kB / 0.5636 GB, free: 6.957 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.01039, allocations: 48.06 kB / 0.5637 GB, free: 6.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.01039, allocations: 11.98 kB / 0.5637 GB, free: 6.898 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.01054, allocations: 59.69 kB / 0.5637 GB, free: 6.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.01056, allocations: 12 kB / 0.5637 GB, free: 6.828 MB / 490.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,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.0001118/0.01067, allocations: 183.1 kB / 0.5639 GB, free: 6.637 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.0107, allocations: 23.91 kB / 0.5639 GB, free: 6.613 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.01074, allocations: 29.8 kB / 0.564 GB, free: 6.582 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.01075, allocations: 8 kB / 0.564 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.01075, allocations: 0 / 0.564 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01076, allocations: 0 / 0.564 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004309/0.01119, allocations: 485.1 kB / 0.5644 GB, free: 6.059 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01119, allocations: 0 / 0.5644 GB, free: 6.059 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.01125, allocations: 15.98 kB / 0.5645 GB, free: 6.043 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.01126, allocations: 7.984 kB / 0.5645 GB, free: 6.035 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.01127, allocations: 4 kB / 0.5645 GB, free: 6.031 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01127, allocations: 0 / 0.5645 GB, free: 6.031 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.01127, allocations: 3.938 kB / 0.5645 GB, free: 6.027 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.0115, allocations: 317.5 kB / 0.5648 GB, free: 5.699 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.01151, allocations: 19.84 kB / 0.5648 GB, free: 5.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.01155, allocations: 8 kB / 0.5648 GB, free: 5.672 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.01167, allocations: 39.95 kB / 0.5648 GB, free: 5.633 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.852e-05/0.01177, allocations: 51.84 kB / 0.5649 GB, free: 5.582 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.01179, allocations: 7.984 kB / 0.5649 GB, free: 5.574 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.411e-05/0.01187, allocations: 179.3 kB / 0.5651 GB, free: 5.398 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01187, allocations: 0 / 0.5651 GB, free: 5.398 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.01209, allocations: 63.89 kB / 0.5651 GB, free: 5.336 MB / 490.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 0.0001113/0.0122, allocations: 115.9 kB / 0.5652 GB, free: 5.215 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003276/0.01253, allocations: 385.7 kB / 0.5656 GB, free: 4.781 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.01253, allocations: 4 kB / 0.5656 GB, free: 4.777 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.786e-05/0.01263, allocations: 63.59 kB / 0.5657 GB, free: 4.711 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.0129, allocations: 41.59 kB / 0.5657 GB, free: 4.672 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.01346, allocations: 369.8 kB / 0.5661 GB, free: 4.285 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.768e-05/0.01351, allocations: 76.22 kB / 0.5661 GB, free: 4.191 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.196e-05/0.01357, allocations: 21.95 kB / 0.5662 GB, free: 4.172 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.617e-05/0.01365, allocations: 32.48 kB / 0.5662 GB, free: 4.141 MB / 490.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01365, allocations: 0 / 0.5662 GB, free: 4.141 MB / 490.7 MB Notification: Performance of Templates: time 0.006002/0.01965, allocations: 3.871 MB / 0.57 GB, free: 388 kB / 490.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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.967989303637296]