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.00129/0.00129, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009662/0.0009662, allocations: 161 kB / 24.16 MB, free: 336 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.9184/0.9184, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.944/1.944, allocations: 389.6 MB / 0.6354 GB, free: 12.31 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.482e-06/1.482e-06, allocations: 0 / 0.7753 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.389e-05, allocations: 2.844 kB / 0.7753 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.003853/0.003877, allocations: 2.145 MB / 0.7774 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.005057, allocations: 0.6379 MB / 0.778 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.005203, allocations: 4 kB / 0.778 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.005344, allocations: 25.81 kB / 0.778 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.005486, allocations: 49.17 kB / 0.7781 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.005776, allocations: 108.3 kB / 0.7782 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003981/0.006174, allocations: 312.9 kB / 0.7785 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.006417, allocations: 99.08 kB / 0.7786 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/0.006707, allocations: 191.6 kB / 0.7787 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.006862, allocations: 107.7 kB / 0.7788 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.733e-05/0.006919, allocations: 28.81 kB / 0.7789 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.021e-05/0.006959, allocations: 32 kB / 0.7789 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.617e-05/0.007025, allocations: 64.5 kB / 0.779 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.737e-05/0.007123, allocations: 87.8 kB / 0.7791 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.007422, allocations: 229.8 kB / 0.7793 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.007425, allocations: 0 / 0.7793 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.032e-06/0.007426, allocations: 0 / 0.7793 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.007433, allocations: 4 kB / 0.7793 GB, free: 1.234 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.0008442/0.008277, allocations: 0.567 MB / 0.7798 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.008314, allocations: 8.75 kB / 0.7798 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.106e-05/0.008395, allocations: 40.89 kB / 0.7799 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.00866, allocations: 182.9 kB / 0.78 GB, free: 384 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.008686, allocations: 20.88 kB / 0.7801 GB, free: 364 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/0.008726, allocations: 28.38 kB / 0.7801 GB, free: 336 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/0.009169, allocations: 324.9 kB / 0.7804 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.009179, allocations: 192 / 0.7804 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.009204, allocations: 12.36 kB / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.009214, allocations: 7.938 kB / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.00935, allocations: 55.47 kB / 0.7805 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007907/0.01014, allocations: 403.6 kB / 0.7809 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.0103, allocations: 83.41 kB / 0.7809 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.759e-05/0.01036, allocations: 32.78 kB / 0.781 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.01037, allocations: 0.625 kB / 0.781 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.01059, allocations: 134.4 kB / 0.7811 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=21): time 2.154e-06/0.01059, allocations: 0 / 0.7811 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0002699/0.01086, allocations: 127.6 kB / 0.7812 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002655/0.01113, allocations: 140.4 kB / 0.7814 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.0113, allocations: 222.4 kB / 0.7816 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.01134, allocations: 34.3 kB / 0.7816 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.896e-05/0.01143, allocations: 156.7 kB / 0.7818 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.01147, allocations: 56.56 kB / 0.7818 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.01158, allocations: 81.62 kB / 0.7819 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.01168, allocations: 331.3 kB / 0.7822 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.0118, allocations: 121.3 kB / 0.7823 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.01198, allocations: 264.5 kB / 0.7826 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.01217, allocations: 201.1 kB / 0.7828 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.01218, allocations: 4.938 kB / 0.7828 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003281/0.01251, allocations: 335.3 kB / 0.7831 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.49e-05/0.01256, allocations: 89.81 kB / 0.7832 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.01257, allocations: 4 kB / 0.7832 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.01258, allocations: 0.5938 kB / 0.7832 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.01278, allocations: 61.34 kB / 0.7832 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.01279, allocations: 3.938 kB / 0.7832 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.01301, allocations: 64.67 kB / 0.7833 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.01303, allocations: 8.719 kB / 0.7833 GB, free: 12.73 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 0.0001196/0.01315, allocations: 145.3 kB / 0.7834 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.01318, allocations: 21.05 kB / 0.7835 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.01323, allocations: 29.95 kB / 0.7835 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.01324, allocations: 4 kB / 0.7835 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.01324, allocations: 4.625 kB / 0.7835 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.01325, allocations: 3.938 kB / 0.7835 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.01366, allocations: 313.9 kB / 0.7838 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.01366, allocations: 3.984 kB / 0.7838 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.064e-05/0.01375, allocations: 25.8 kB / 0.7838 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.01375, allocations: 0 / 0.7838 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.01377, allocations: 7.984 kB / 0.7838 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01377, allocations: 0 / 0.7838 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01377, allocations: 3.984 kB / 0.7838 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.01397, allocations: 209.1 kB / 0.784 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.014, allocations: 27.73 kB / 0.7841 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.01404, allocations: 12 kB / 0.7841 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.01423, allocations: 38.58 kB / 0.7841 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.01435, allocations: 55.89 kB / 0.7842 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.01437, allocations: 7.984 kB / 0.7842 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.953e-05/0.01444, allocations: 66.14 kB / 0.7842 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01444, allocations: 0 / 0.7842 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003091/0.01475, allocations: 69.12 kB / 0.7843 GB, free: 11.66 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.0001282/0.01488, allocations: 100.8 kB / 0.7844 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003418/0.01522, allocations: 371.4 kB / 0.7848 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.01523, allocations: 4 kB / 0.7848 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.01533, allocations: 64.75 kB / 0.7848 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.01562, allocations: 46.67 kB / 0.7849 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006645/0.01628, allocations: 387 kB / 0.7852 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.014e-05/0.01634, allocations: 80.33 kB / 0.7853 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000113/0.01646, allocations: 30.09 kB / 0.7853 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.01666, allocations: 107.3 kB / 0.7854 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/0.01666, allocations: 1.031 kB / 0.7854 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of Templates: time 0.008174/0.02484, allocations: 4.097 MB / 0.7894 GB, free: 6.516 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 -s gbode -gbm=radauIIA3 -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.706683803815395]