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.001101/0.001101, allocations: 80.81 kB / 21.54 MB, free: 2.949 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.00099/0.00099, allocations: 169.2 kB / 24.96 MB, free: 8.656 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.8716/0.8716, allocations: 177.1 MB / 205.4 MB, free: 5.473 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.879/1.879, allocations: 389.6 MB / 0.6361 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.823e-06/1.823e-06, allocations: 0 / 0.776 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.149e-05, allocations: 3.406 kB / 0.776 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002436/0.002458, allocations: 2.156 MB / 0.7781 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008173/0.003275, allocations: 0.6277 MB / 0.7788 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.563e-05/0.003371, allocations: 4 kB / 0.7788 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.003483, allocations: 32.64 kB / 0.7788 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.003595, allocations: 51.19 kB / 0.7788 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.003782, allocations: 107.8 kB / 0.7789 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.00402, allocations: 315.2 kB / 0.7792 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.004191, allocations: 95.08 kB / 0.7793 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004422/0.004633, allocations: 191.6 kB / 0.7795 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.004744, allocations: 107.5 kB / 0.7796 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.652e-05/0.00478, allocations: 28 kB / 0.7796 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.903e-05/0.004809, allocations: 35.94 kB / 0.7797 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.004857, allocations: 67.73 kB / 0.7797 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.541e-05/0.004922, allocations: 87.75 kB / 0.7798 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.005126, allocations: 219.2 kB / 0.78 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005128, allocations: 0 / 0.78 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.81e-07/0.005129, allocations: 0 / 0.78 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.005133, allocations: 4 kB / 0.78 GB, free: 1.254 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.000606/0.005739, allocations: 0.5671 MB / 0.7806 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.005769, allocations: 8.75 kB / 0.7806 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.483e-05/0.005824, allocations: 44.89 kB / 0.7806 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.006013, allocations: 190.8 kB / 0.7808 GB, free: 392 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.006033, allocations: 13.81 kB / 0.7808 GB, free: 380 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.006057, allocations: 28.38 kB / 0.7809 GB, free: 352 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.006332, allocations: 315.9 kB / 0.7812 GB, free: 0 / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.006354, allocations: 240 / 0.7812 GB, free: 16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.006369, allocations: 16.31 kB / 0.7812 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.006378, allocations: 8.938 kB / 0.7812 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.978e-05/0.006457, allocations: 55.41 kB / 0.7812 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/0.006986, allocations: 403.6 kB / 0.7816 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.0071, allocations: 83.41 kB / 0.7817 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.488e-05/0.007135, allocations: 28.84 kB / 0.7817 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.007147, allocations: 4 kB / 0.7817 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.007296, allocations: 129.2 kB / 0.7819 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.007298, allocations: 0 / 0.7819 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0001772/0.007475, allocations: 133.1 kB / 0.782 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.007525, allocations: 140.5 kB / 0.7821 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.007639, allocations: 222.3 kB / 0.7823 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.007663, allocations: 37.7 kB / 0.7824 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.007728, allocations: 153.4 kB / 0.7825 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.007761, allocations: 63.5 kB / 0.7826 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.814e-05/0.007829, allocations: 74.14 kB / 0.7826 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.739e-05/0.007916, allocations: 336.6 kB / 0.783 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.617e-05/0.007993, allocations: 117.3 kB / 0.7831 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.008114, allocations: 271.4 kB / 0.7833 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.00824, allocations: 197.2 kB / 0.7835 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.008242, allocations: 4 kB / 0.7835 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002132/0.008455, allocations: 332.2 kB / 0.7838 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.596e-05/0.008501, allocations: 93.97 kB / 0.7839 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.008507, allocations: 4 kB / 0.7839 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.00852, allocations: 4.875 kB / 0.7839 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.008645, allocations: 51.91 kB / 0.784 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.008651, allocations: 12.38 kB / 0.784 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.00878, allocations: 65.67 kB / 0.7841 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.008794, allocations: 4.047 kB / 0.7841 GB, free: 12.74 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.279e-05/0.008887, allocations: 153.6 kB / 0.7842 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.00891, allocations: 15.98 kB / 0.7842 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.371e-05/0.008953, allocations: 30.52 kB / 0.7843 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.008956, allocations: 4 kB / 0.7843 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.008959, allocations: 4.5 kB / 0.7843 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.008962, allocations: 1.062 kB / 0.7843 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.009238, allocations: 312.8 kB / 0.7846 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.00924, allocations: 3.984 kB / 0.7846 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.625e-05/0.009296, allocations: 24.42 kB / 0.7846 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.009298, allocations: 0.5312 kB / 0.7846 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.009311, allocations: 12.92 kB / 0.7846 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.009312, allocations: 0 / 0.7846 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.009313, allocations: 0 / 0.7846 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.009448, allocations: 210.8 kB / 0.7848 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/0.009466, allocations: 23.73 kB / 0.7848 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.009491, allocations: 9.656 kB / 0.7848 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.0096, allocations: 39.95 kB / 0.7849 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/0.009684, allocations: 60.83 kB / 0.7849 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.009698, allocations: 7.984 kB / 0.7849 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.109e-05/0.00974, allocations: 62.14 kB / 0.785 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00974, allocations: 0.9375 kB / 0.785 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001651/0.009905, allocations: 71.88 kB / 0.7851 GB, free: 11.68 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 9.612e-05/0.01, allocations: 91.25 kB / 0.7852 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002446/0.01025, allocations: 380.1 kB / 0.7855 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.01025, allocations: 4 kB / 0.7855 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.317e-05/0.01032, allocations: 63.52 kB / 0.7856 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.01052, allocations: 42.56 kB / 0.7856 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/0.01099, allocations: 379.8 kB / 0.786 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.696e-05/0.01103, allocations: 81.27 kB / 0.7861 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.277e-05/0.01111, allocations: 25.39 kB / 0.7861 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004182/0.01152, allocations: 112.4 kB / 0.7862 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.01152, allocations: 0 / 0.7862 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of Templates: time 0.005727/0.01725, allocations: 4.112 MB / 0.7902 GB, free: 6.539 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.838089920580387]