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.0009489/0.0009489, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.0009845/0.0009845, allocations: 165 kB / 24.25 MB, free: 208 kB / 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.9122/0.9122, allocations: 177.2 MB / 204.7 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] 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 1.84/1.84, allocations: 389.6 MB / 0.6355 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.052e-06/1.052e-06, allocations: 0 / 0.7754 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.479e-05, allocations: 4.281 kB / 0.7754 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002476/0.002491, allocations: 2.15 MB / 0.7775 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008059/0.003296, allocations: 0.6306 MB / 0.7782 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.022e-05/0.003387, allocations: 4 kB / 0.7782 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.348e-05/0.00348, allocations: 28.7 kB / 0.7782 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.523e-05/0.003575, allocations: 48.94 kB / 0.7782 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.003737, allocations: 108.3 kB / 0.7783 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.003938, allocations: 312 kB / 0.7786 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.004079, allocations: 101.1 kB / 0.7787 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.004221, allocations: 187.6 kB / 0.7789 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.917e-05/0.004311, allocations: 107.6 kB / 0.779 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.004344, allocations: 28 kB / 0.779 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.745e-05/0.004371, allocations: 32 kB / 0.7791 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.004411, allocations: 67.75 kB / 0.7791 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.804e-05/0.004469, allocations: 94.48 kB / 0.7792 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.004642, allocations: 215.2 kB / 0.7794 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.004643, allocations: 0 / 0.7794 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.5e-07/0.004644, allocations: 0 / 0.7794 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.975e-06/0.004647, allocations: 0 / 0.7794 GB, free: 1.188 MB / 0.7292 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.0005222/0.005169, allocations: 0.5711 MB / 0.78 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.682e-05/0.005196, allocations: 8.75 kB / 0.78 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.005245, allocations: 40.91 kB / 0.78 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.005407, allocations: 186.8 kB / 0.7802 GB, free: 328 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.005424, allocations: 24.86 kB / 0.7802 GB, free: 304 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.005449, allocations: 25.97 kB / 0.7803 GB, free: 280 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.005714, allocations: 318.7 kB / 0.7806 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.005721, allocations: 4.125 kB / 0.7806 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.005735, allocations: 9.219 kB / 0.7806 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.005741, allocations: 7.938 kB / 0.7806 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.44e-05/0.005815, allocations: 55.41 kB / 0.7806 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.006279, allocations: 408.9 kB / 0.781 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.978e-05/0.006379, allocations: 82.53 kB / 0.7811 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.006411, allocations: 24.84 kB / 0.7811 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.006423, allocations: 3.984 kB / 0.7811 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.006556, allocations: 137 kB / 0.7813 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/0.006557, allocations: 0.6562 kB / 0.7813 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0001552/0.006712, allocations: 127.4 kB / 0.7814 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.006753, allocations: 141.6 kB / 0.7815 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.629e-05/0.006849, allocations: 218.4 kB / 0.7817 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.006872, allocations: 37.7 kB / 0.7818 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.006929, allocations: 153.5 kB / 0.7819 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.006958, allocations: 59.56 kB / 0.782 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-05/0.007021, allocations: 78.14 kB / 0.782 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.169e-05/0.007083, allocations: 335.5 kB / 0.7824 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-05/0.007151, allocations: 121.2 kB / 0.7825 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.007261, allocations: 268 kB / 0.7827 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.00738, allocations: 201.6 kB / 0.7829 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.007382, allocations: 4.531 kB / 0.7829 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001989/0.007581, allocations: 336.5 kB / 0.7833 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.00762, allocations: 93.09 kB / 0.7833 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.007625, allocations: 4 kB / 0.7833 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.712e-06/0.007632, allocations: 2.969 kB / 0.7833 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.007746, allocations: 55.91 kB / 0.7834 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.007751, allocations: 7.875 kB / 0.7834 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.007874, allocations: 63.73 kB / 0.7835 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.007887, allocations: 8 kB / 0.7835 GB, free: 12.66 MB / 0.7448 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,minFloRatSaf.disErr.local_reset,minFloRatSaf.disErr.local_set,minFloRatSaf.intConOne.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) * 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 7.356e-05/0.007961, allocations: 143.4 kB / 0.7836 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.007982, allocations: 19.92 kB / 0.7836 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/0.008016, allocations: 33.95 kB / 0.7837 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.008018, allocations: 4 kB / 0.7837 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.00802, allocations: 3.938 kB / 0.7837 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.008024, allocations: 0 / 0.7837 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.008262, allocations: 314.3 kB / 0.784 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.008264, allocations: 4 kB / 0.784 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.165e-05/0.008315, allocations: 27.92 kB / 0.784 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.008317, allocations: 1 kB / 0.784 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.008328, allocations: 7.984 kB / 0.784 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.008329, allocations: 3.984 kB / 0.784 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.00833, allocations: 1.094 kB / 0.784 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.008554, allocations: 205.9 kB / 0.7842 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.008609, allocations: 27.73 kB / 0.7842 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.769e-05/0.008657, allocations: 17.14 kB / 0.7843 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.00885, allocations: 37 kB / 0.7843 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-05/0.008945, allocations: 51.89 kB / 0.7843 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.008964, allocations: 13.3 kB / 0.7844 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.576e-05/0.009019, allocations: 66.14 kB / 0.7844 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009019, allocations: 0 / 0.7844 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001992/0.009219, allocations: 63.88 kB / 0.7845 GB, free: 11.6 MB / 0.7448 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.000114/0.009333, allocations: 103.4 kB / 0.7846 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002927/0.009625, allocations: 376.1 kB / 0.7849 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.009632, allocations: 4 kB / 0.7849 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.106e-05/0.009713, allocations: 62.17 kB / 0.785 GB, free: 11 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.009921, allocations: 47.39 kB / 0.785 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005206/0.01044, allocations: 387.6 kB / 0.7854 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.548e-05/0.01049, allocations: 84.33 kB / 0.7855 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.651e-05/0.01056, allocations: 22.95 kB / 0.7855 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.01071, allocations: 107.3 kB / 0.7856 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.01071, allocations: 0 / 0.7856 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of Templates: time 0.00556/0.01627, allocations: 4.108 MB / 0.7896 GB, free: 6.438 MB / 0.7448 GB " [Timeout remaining time 300] 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: 4.929795754142106]