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.001385/0.001385, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.00106/0.00106, allocations: 169.1 kB / 25.17 MB, free: 8.324 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.9132/0.9132, allocations: 177.2 MB / 205.6 MB, free: 4.012 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.952/1.952, allocations: 389.6 MB / 0.6364 GB, free: 13.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.653e-06/1.653e-06, allocations: 0 / 0.7756 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.149e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002726/0.002748, allocations: 2.152 MB / 0.7777 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.003904, allocations: 0.6271 MB / 0.7784 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.00404, allocations: 3.938 kB / 0.7784 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.004189, allocations: 27.66 kB / 0.7784 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.004321, allocations: 51.47 kB / 0.7784 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.004572, allocations: 103.8 kB / 0.7785 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000279/0.004851, allocations: 311.2 kB / 0.7788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.005043, allocations: 95.12 kB / 0.7789 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.00528, allocations: 191.6 kB / 0.7791 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.005395, allocations: 107.7 kB / 0.7792 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.402e-05/0.005439, allocations: 28 kB / 0.7792 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.106e-05/0.00547, allocations: 28 kB / 0.7793 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.428e-05/0.005524, allocations: 75.73 kB / 0.7793 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.81e-05/0.005602, allocations: 87.73 kB / 0.7794 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.005836, allocations: 223.2 kB / 0.7796 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.005839, allocations: 0 / 0.7796 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.41e-07/0.00584, allocations: 4 kB / 0.7796 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.005843, allocations: 0 / 0.7796 GB, free: 10.39 MB / 0.7448 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.0006881/0.006531, allocations: 0.5682 MB / 0.7802 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.006564, allocations: 8.031 kB / 0.7802 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/0.006629, allocations: 48.83 kB / 0.7802 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.006835, allocations: 181.3 kB / 0.7804 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.006856, allocations: 20.88 kB / 0.7804 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.006885, allocations: 28.38 kB / 0.7805 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.0072, allocations: 314.7 kB / 0.7808 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.007208, allocations: 4.125 kB / 0.7808 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.007225, allocations: 12.38 kB / 0.7808 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.007234, allocations: 7.938 kB / 0.7808 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.378e-05/0.007318, allocations: 51.47 kB / 0.7808 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005991/0.007917, allocations: 405.9 kB / 0.7812 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.008044, allocations: 86.5 kB / 0.7813 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.008084, allocations: 24.84 kB / 0.7813 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.008096, allocations: 4 kB / 0.7813 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.008257, allocations: 135.1 kB / 0.7815 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=21): time 1.663e-06/0.008259, allocations: 4 kB / 0.7815 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0003441/0.008603, allocations: 125.6 kB / 0.7816 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.008661, allocations: 148.4 kB / 0.7817 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.008785, allocations: 222.3 kB / 0.7819 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.008812, allocations: 37.7 kB / 0.782 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/0.008883, allocations: 152.7 kB / 0.7821 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.008917, allocations: 59.55 kB / 0.7822 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.539e-05/0.008992, allocations: 73.64 kB / 0.7822 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.887e-05/0.009081, allocations: 338.8 kB / 0.7826 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-05/0.009166, allocations: 113.4 kB / 0.7827 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.009296, allocations: 266.5 kB / 0.7829 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.009442, allocations: 199.2 kB / 0.7831 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.009445, allocations: 0 / 0.7831 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002431/0.009689, allocations: 342.1 kB / 0.7835 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.555e-05/0.009734, allocations: 93.09 kB / 0.7835 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.009739, allocations: 0 / 0.7835 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.557e-06/0.009749, allocations: 4.156 kB / 0.7835 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.009876, allocations: 51.91 kB / 0.7836 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.009882, allocations: 11.88 kB / 0.7836 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.01002, allocations: 59.8 kB / 0.7837 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.01004, allocations: 11.98 kB / 0.7837 GB, free: 5.84 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.0001017/0.01014, allocations: 136.4 kB / 0.7838 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.01017, allocations: 23.98 kB / 0.7838 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.832e-05/0.01021, allocations: 29.95 kB / 0.7839 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01021, allocations: 0 / 0.7839 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.01021, allocations: 7.938 kB / 0.7839 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.01022, allocations: 3.984 kB / 0.7839 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.01054, allocations: 326.8 kB / 0.7842 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01054, allocations: 0 / 0.7842 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.448e-05/0.01061, allocations: 19.98 kB / 0.7842 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01061, allocations: 0 / 0.7842 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.01062, allocations: 7.984 kB / 0.7842 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.01062, allocations: 4 kB / 0.7842 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.01062, allocations: 4 kB / 0.7842 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.01077, allocations: 208.9 kB / 0.7844 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.147e-05/0.01079, allocations: 31.77 kB / 0.7844 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.01082, allocations: 11.98 kB / 0.7845 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.01093, allocations: 35.95 kB / 0.7845 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.009e-05/0.01102, allocations: 51.91 kB / 0.7845 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.01104, allocations: 11.98 kB / 0.7845 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.383e-05/0.01108, allocations: 58.19 kB / 0.7846 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01108, allocations: 4 kB / 0.7846 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001865/0.01127, allocations: 63.89 kB / 0.7847 GB, free: 4.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 0.0001154/0.01138, allocations: 96.67 kB / 0.7848 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002652/0.01165, allocations: 384.3 kB / 0.7851 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.01166, allocations: 4 kB / 0.7851 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.899e-05/0.01174, allocations: 60.75 kB / 0.7852 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.01194, allocations: 44.95 kB / 0.7852 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/0.01251, allocations: 423.2 kB / 0.7856 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.204e-05/0.0126, allocations: 138 kB / 0.7858 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.01275, allocations: 107.3 kB / 0.7859 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.01275, allocations: 0 / 0.7859 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of Templates: time 0.003874/0.01663, allocations: 3.312 MB / 0.7891 GB, free: 116 kB / 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 > Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.476352523081005]