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.0008739/0.0008739, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.0009031/0.0009031, allocations: 169.6 kB / 25.05 MB, free: 9.152 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.9098/0.9098, allocations: 177.1 MB / 205.5 MB, free: 5.453 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.873/1.873, allocations: 389.6 MB / 0.6363 GB, free: 12.25 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.302e-06/1.302e-06, allocations: 0 / 0.7762 GB, free: 5.18 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.703e-05, allocations: 6.25 kB / 0.7762 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002364/0.002381, allocations: 2.15 MB / 0.7783 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008553/0.003236, allocations: 0.6278 MB / 0.7789 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.003337, allocations: 0.625 kB / 0.7789 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.003459, allocations: 32.67 kB / 0.779 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.003572, allocations: 51.03 kB / 0.779 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.003771, allocations: 103.8 kB / 0.7791 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000253/0.004024, allocations: 311.2 kB / 0.7794 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.004205, allocations: 103 kB / 0.7795 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.004386, allocations: 191 kB / 0.7797 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.004511, allocations: 111.7 kB / 0.7798 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.472e-05/0.004556, allocations: 28 kB / 0.7798 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 3.31e-05/0.004589, allocations: 28 kB / 0.7798 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.795e-05/0.004657, allocations: 67.75 kB / 0.7799 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.847e-05/0.004735, allocations: 87.73 kB / 0.78 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.004986, allocations: 227.2 kB / 0.7802 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.004989, allocations: 0 / 0.7802 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.31e-07/0.00499, allocations: 0 / 0.7802 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.004995, allocations: 1.156 kB / 0.7802 GB, free: 1.113 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.0007061/0.005701, allocations: 0.5697 MB / 0.7808 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.005736, allocations: 8.75 kB / 0.7808 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.005791, allocations: 45.42 kB / 0.7808 GB, free: 460 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.005975, allocations: 187.4 kB / 0.781 GB, free: 248 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.005996, allocations: 21.81 kB / 0.781 GB, free: 228 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.006026, allocations: 28.31 kB / 0.781 GB, free: 200 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.006323, allocations: 319.3 kB / 0.7813 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.006332, allocations: 0.75 kB / 0.7813 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.006349, allocations: 8.375 kB / 0.7814 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.006356, allocations: 9.594 kB / 0.7814 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.873e-05/0.006434, allocations: 51.47 kB / 0.7814 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.006977, allocations: 407.6 kB / 0.7818 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.007099, allocations: 90.45 kB / 0.7819 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/0.007135, allocations: 20.84 kB / 0.7819 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.007148, allocations: 5.781 kB / 0.7819 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.007298, allocations: 131.8 kB / 0.782 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/0.0073, allocations: 4.594 kB / 0.782 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0001852/0.007485, allocations: 131.4 kB / 0.7822 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.007545, allocations: 138 kB / 0.7823 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.007669, allocations: 218.4 kB / 0.7825 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.007695, allocations: 37.7 kB / 0.7825 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.00777, allocations: 156.7 kB / 0.7827 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.007803, allocations: 56.38 kB / 0.7827 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.623e-05/0.007879, allocations: 73.64 kB / 0.7828 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.007971, allocations: 339.6 kB / 0.7831 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.359e-05/0.008054, allocations: 117.3 kB / 0.7833 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.008198, allocations: 271.4 kB / 0.7835 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.008335, allocations: 202.2 kB / 0.7837 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.008337, allocations: 0 / 0.7837 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00025/0.008587, allocations: 340.2 kB / 0.784 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.273e-05/0.00865, allocations: 94.12 kB / 0.7841 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.008657, allocations: 0 / 0.7841 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.008669, allocations: 4 kB / 0.7841 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.008801, allocations: 52.97 kB / 0.7842 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.008809, allocations: 11.88 kB / 0.7842 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.008944, allocations: 61.17 kB / 0.7842 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.008961, allocations: 15.98 kB / 0.7843 GB, free: 12.59 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 9.879e-05/0.00906, allocations: 134.1 kB / 0.7844 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.009087, allocations: 31.91 kB / 0.7844 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.68e-05/0.009124, allocations: 27.09 kB / 0.7844 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.009128, allocations: 4 kB / 0.7844 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.009131, allocations: 3.938 kB / 0.7844 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.009136, allocations: 5.422 kB / 0.7845 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.009419, allocations: 308.8 kB / 0.7847 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.00942, allocations: 0 / 0.7847 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.253e-05/0.009483, allocations: 31.92 kB / 0.7848 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.009486, allocations: 5.516 kB / 0.7848 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.009495, allocations: 0 / 0.7848 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.009496, allocations: 4 kB / 0.7848 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.009497, allocations: 0 / 0.7848 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.009627, allocations: 211.4 kB / 0.785 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/0.009647, allocations: 31.72 kB / 0.785 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.009672, allocations: 8 kB / 0.785 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.009784, allocations: 42.11 kB / 0.7851 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.009866, allocations: 51.91 kB / 0.7851 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.009879, allocations: 7.984 kB / 0.7851 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.396e-05/0.009923, allocations: 70.12 kB / 0.7852 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009923, allocations: 4.625 kB / 0.7852 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001661/0.01009, allocations: 59.89 kB / 0.7853 GB, free: 11.53 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 8.199e-05/0.01017, allocations: 103.3 kB / 0.7854 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002504/0.01042, allocations: 372.2 kB / 0.7857 GB, free: 11 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.01043, allocations: 4 kB / 0.7857 GB, free: 11 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.556e-05/0.0105, allocations: 64.75 kB / 0.7858 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.01068, allocations: 41.33 kB / 0.7858 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.01113, allocations: 387.5 kB / 0.7862 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.464e-05/0.01118, allocations: 80.34 kB / 0.7863 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.286e-05/0.01125, allocations: 25.38 kB / 0.7863 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.01139, allocations: 104 kB / 0.7864 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.01139, allocations: 0 / 0.7864 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of Templates: time 0.005406/0.01679, allocations: 4.112 MB / 0.7904 GB, free: 6.379 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.800792647525668]