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.001027/0.001027, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.01043/0.01043, allocations: 161.8 kB / 24.97 MB, free: 8.711 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.8933/0.8933, allocations: 177.1 MB / 205.4 MB, free: 4.465 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.99/1.99, allocations: 389.6 MB / 0.6361 GB, free: 13.35 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.472e-06/1.472e-06, allocations: 0 / 0.7761 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.121e-05/1.268e-05, allocations: 6.312 kB / 0.7761 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002322/0.002335, allocations: 2.156 MB / 0.7782 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008248/0.00316, allocations: 0.6193 MB / 0.7788 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.56e-05/0.003255, allocations: 4 kB / 0.7788 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.003363, allocations: 27.61 kB / 0.7788 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.003475, allocations: 59.52 kB / 0.7789 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.003658, allocations: 107.7 kB / 0.779 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.003901, allocations: 311.2 kB / 0.7793 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.004072, allocations: 95.12 kB / 0.7793 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.004254, allocations: 187.6 kB / 0.7795 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.004364, allocations: 111.6 kB / 0.7796 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.004401, allocations: 32 kB / 0.7797 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.824e-05/0.004429, allocations: 28 kB / 0.7797 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.712e-05/0.004477, allocations: 63.75 kB / 0.7797 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.034e-05/0.004547, allocations: 91.8 kB / 0.7798 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.004748, allocations: 223.2 kB / 0.78 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.004751, allocations: 0 / 0.78 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.01e-07/0.004751, allocations: 0 / 0.78 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.004756, allocations: 0 / 0.78 GB, free: 9.73 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.0006156/0.005371, allocations: 0.572 MB / 0.7806 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.005403, allocations: 16.03 kB / 0.7806 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/0.00546, allocations: 36.91 kB / 0.7807 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.005643, allocations: 185 kB / 0.7808 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.005665, allocations: 24.86 kB / 0.7809 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.005691, allocations: 24.38 kB / 0.7809 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.005977, allocations: 318.7 kB / 0.7812 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.005986, allocations: 192 / 0.7812 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.006002, allocations: 12.31 kB / 0.7812 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.006009, allocations: 11.94 kB / 0.7812 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.524e-05/0.006094, allocations: 59.41 kB / 0.7813 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005357/0.00663, allocations: 405.9 kB / 0.7817 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.006747, allocations: 82.12 kB / 0.7817 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/0.006783, allocations: 24.86 kB / 0.7818 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.006796, allocations: 7.984 kB / 0.7818 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.006948, allocations: 131.2 kB / 0.7819 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=21): time 1.293e-06/0.006949, allocations: 0 / 0.7819 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.000185/0.007134, allocations: 137.5 kB / 0.782 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.007179, allocations: 132.5 kB / 0.7821 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.007295, allocations: 222.3 kB / 0.7824 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.007319, allocations: 37.7 kB / 0.7824 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.007384, allocations: 156.6 kB / 0.7825 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.007417, allocations: 55.59 kB / 0.7826 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.269e-05/0.007489, allocations: 73.64 kB / 0.7827 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.735e-05/0.007567, allocations: 334.8 kB / 0.783 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.098e-05/0.007648, allocations: 125.3 kB / 0.7831 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.00778, allocations: 262.5 kB / 0.7834 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.00791, allocations: 195.2 kB / 0.7835 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.007913, allocations: 0 / 0.7835 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002208/0.008134, allocations: 334.3 kB / 0.7839 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.008173, allocations: 97.12 kB / 0.784 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.008177, allocations: 0 / 0.784 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.008189, allocations: 4 kB / 0.784 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.008311, allocations: 51.89 kB / 0.784 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.008317, allocations: 11.88 kB / 0.784 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.008452, allocations: 55.75 kB / 0.7841 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.008469, allocations: 15.98 kB / 0.7841 GB, free: 5.191 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 8.833e-05/0.008557, allocations: 140.4 kB / 0.7842 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.008583, allocations: 27.97 kB / 0.7842 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.008618, allocations: 29.91 kB / 0.7843 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.008622, allocations: 3.984 kB / 0.7843 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.008623, allocations: 0 / 0.7843 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.00864, allocations: 19.8 kB / 0.7843 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.008667, allocations: 16 kB / 0.7843 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-05/0.008762, allocations: 40 kB / 0.7844 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/0.008849, allocations: 63.88 kB / 0.7844 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001421/0.008991, allocations: 176.8 kB / 0.7846 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001557/0.009147, allocations: 291.5 kB / 0.7849 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.097e-05/0.009218, allocations: 56.95 kB / 0.7849 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.387e-05/0.009262, allocations: 66.17 kB / 0.785 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of Backend: time 1.3e-07/0.009262, allocations: 0 / 0.785 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003537/0.009616, allocations: 416.3 kB / 0.7854 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0006098/0.01023, allocations: 0.8892 MB / 0.7862 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of Templates: time 0.005846/0.01607, allocations: 4.714 MB / 0.7908 GB, free: 14.2 MB / 0.7605 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.877609805203974]