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.0008791/0.0008791, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009592/0.0009592, allocations: 161.4 kB / 24.17 MB, free: 328 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.8968/0.8968, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.924/1.924, allocations: 389.6 MB / 0.6354 GB, free: 12.32 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.312e-06/1.312e-06, allocations: 0 / 0.7752 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003e-05/1.134e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002134/0.002146, allocations: 2.103 MB / 0.7773 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008575/0.003003, allocations: 0.6352 MB / 0.7779 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.045e-05/0.003094, allocations: 0 / 0.7779 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.0032, allocations: 32.55 kB / 0.7779 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.003308, allocations: 50.22 kB / 0.778 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.003495, allocations: 99.86 kB / 0.7781 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.003728, allocations: 319.2 kB / 0.7784 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.003896, allocations: 95.08 kB / 0.7785 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.004068, allocations: 191.5 kB / 0.7787 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.827e-05/0.004166, allocations: 103.7 kB / 0.7788 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.004202, allocations: 31.94 kB / 0.7788 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.544e-05/0.004228, allocations: 31.19 kB / 0.7788 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.004274, allocations: 67.8 kB / 0.7789 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.689e-05/0.004341, allocations: 91.73 kB / 0.779 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.004532, allocations: 223.1 kB / 0.7792 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.004534, allocations: 0 / 0.7792 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004534, allocations: 0 / 0.7792 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.004538, allocations: 0 / 0.7792 GB, free: 1.332 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.0005912/0.005129, allocations: 0.5761 MB / 0.7797 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.717e-05/0.005156, allocations: 8.75 kB / 0.7797 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.005211, allocations: 40.91 kB / 0.7798 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.005385, allocations: 178.9 kB / 0.78 GB, free: 480 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.005404, allocations: 20.88 kB / 0.78 GB, free: 460 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.005434, allocations: 28.38 kB / 0.78 GB, free: 432 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.005701, allocations: 326.6 kB / 0.7803 GB, free: 68 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.005709, allocations: 3.375 kB / 0.7803 GB, free: 68 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.005729, allocations: 12.38 kB / 0.7803 GB, free: 56 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.005736, allocations: 7.938 kB / 0.7803 GB, free: 48 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.053e-05/0.005816, allocations: 51.47 kB / 0.7804 GB, free: 0 / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005192/0.006336, allocations: 401.9 kB / 0.7808 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.006452, allocations: 83.09 kB / 0.7809 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.714e-05/0.006489, allocations: 29.34 kB / 0.7809 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.006501, allocations: 0.5312 kB / 0.7809 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.006635, allocations: 136.6 kB / 0.781 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=21): time 1.212e-06/0.006637, allocations: 0.875 kB / 0.781 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0004037/0.00704, allocations: 131.4 kB / 0.7811 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.00709, allocations: 146.2 kB / 0.7813 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.007198, allocations: 210.4 kB / 0.7815 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.007223, allocations: 41.69 kB / 0.7815 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.007284, allocations: 152.7 kB / 0.7817 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.007316, allocations: 59.56 kB / 0.7817 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.776e-05/0.007383, allocations: 78.25 kB / 0.7818 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.843e-05/0.007452, allocations: 338.8 kB / 0.7821 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.132e-05/0.007523, allocations: 118.1 kB / 0.7822 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.007635, allocations: 259.4 kB / 0.7825 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.007764, allocations: 206 kB / 0.7827 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.007766, allocations: 0 / 0.7827 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002024/0.007969, allocations: 336.3 kB / 0.783 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/0.008005, allocations: 95.44 kB / 0.7831 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.00801, allocations: 4.812 kB / 0.7831 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.008021, allocations: 0 / 0.7831 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.00813, allocations: 48.78 kB / 0.7831 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.008134, allocations: 3.938 kB / 0.7831 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.008261, allocations: 65.08 kB / 0.7832 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.008275, allocations: 9.094 kB / 0.7832 GB, free: 12.83 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.894e-05/0.008354, allocations: 145.9 kB / 0.7833 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.008375, allocations: 15.98 kB / 0.7834 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.211e-05/0.008407, allocations: 29.95 kB / 0.7834 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.00841, allocations: 4.875 kB / 0.7834 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.008413, allocations: 7.938 kB / 0.7834 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.008415, allocations: 0 / 0.7834 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.008677, allocations: 325.8 kB / 0.7837 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.008679, allocations: 0 / 0.7837 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.768e-05/0.008726, allocations: 20.83 kB / 0.7837 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.008728, allocations: 0 / 0.7837 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.008738, allocations: 8.922 kB / 0.7837 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.008741, allocations: 7.938 kB / 0.7838 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.008741, allocations: 0 / 0.7838 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.00886, allocations: 202.9 kB / 0.7839 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.735e-05/0.008877, allocations: 31.73 kB / 0.784 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.008905, allocations: 9.062 kB / 0.784 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.009014, allocations: 37.05 kB / 0.784 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.757e-05/0.009092, allocations: 55.89 kB / 0.7841 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.009105, allocations: 7.984 kB / 0.7841 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.118e-05/0.009146, allocations: 67.08 kB / 0.7841 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009146, allocations: 0 / 0.7841 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001628/0.009309, allocations: 64.61 kB / 0.7842 GB, free: 11.77 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.012e-05/0.009389, allocations: 106.4 kB / 0.7843 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.00962, allocations: 380.1 kB / 0.7847 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.009623, allocations: 1.469 kB / 0.7847 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.396e-05/0.009697, allocations: 64.75 kB / 0.7847 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.009868, allocations: 48.03 kB / 0.7848 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.0103, allocations: 379.8 kB / 0.7851 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.134e-05/0.01034, allocations: 85.98 kB / 0.7852 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.535e-05/0.01041, allocations: 22.42 kB / 0.7852 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.01054, allocations: 111.3 kB / 0.7854 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.01054, allocations: 0 / 0.7854 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of Templates: time 0.005232/0.01578, allocations: 4.094 MB / 0.7893 GB, free: 6.621 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.853699329774827]