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.001851/0.001851, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002058/0.002058, allocations: 173.2 kB / 23.24 MB, free: 1.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 1.694/1.694, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 178] 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 3.195/3.195, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] 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.643e-06/1.643e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.711e-05/3.875e-05, allocations: 9.734 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.00387/0.003909, allocations: 2.052 MB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.005259, allocations: 0.6039 MB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.00538, allocations: 4 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.005516, allocations: 27.61 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.005687, allocations: 43.53 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.00596, allocations: 99.86 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004245/0.006385, allocations: 319 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003003/0.006685, allocations: 104.4 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002869/0.006972, allocations: 183.6 kB / 1.005 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.00717, allocations: 115.6 kB / 1.005 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.839e-05/0.007239, allocations: 28 kB / 1.005 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.585e-05/0.007294, allocations: 32 kB / 1.005 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.625e-05/0.007381, allocations: 63.8 kB / 1.005 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.007525, allocations: 95.73 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004869/0.008012, allocations: 346.9 kB / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.008015, allocations: 4 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.052e-06/0.008016, allocations: 0 / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.008022, allocations: 4 kB / 1.005 GB, free: 8.848 MB / 0.9636 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.001388/0.00941, allocations: 0.6086 MB / 1.006 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.009448, allocations: 8.75 kB / 1.006 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.00955, allocations: 40.73 kB / 1.006 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.009941, allocations: 210 kB / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.00997, allocations: 16.88 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-05/0.01002, allocations: 28.38 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008233/0.01085, allocations: 416.5 kB / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.01086, allocations: 192 / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/0.01089, allocations: 16.11 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.525e-06/0.0109, allocations: 4 kB / 1.006 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007663/0.01167, allocations: 217.8 kB / 1.007 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.01294, allocations: 0.5411 MB / 1.007 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008201/0.01376, allocations: 198.4 kB / 1.007 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/0.0141, allocations: 93.08 kB / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.01411, allocations: 4 kB / 1.007 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005654/0.01468, allocations: 208.5 kB / 1.008 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=21): time 1.393e-06/0.01468, allocations: 0 / 1.008 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of matching and sorting (n=21): time 0.001228/0.01591, allocations: 357.9 kB / 1.008 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.01603, allocations: 136.5 kB / 1.008 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.01629, allocations: 231.1 kB / 1.008 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.737e-05/0.01635, allocations: 37.7 kB / 1.008 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.0165, allocations: 164.7 kB / 1.009 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.879e-05/0.01657, allocations: 59.55 kB / 1.009 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.01671, allocations: 73.64 kB / 1.009 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.01689, allocations: 346.8 kB / 1.009 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/0.01738, allocations: 205.3 kB / 1.009 GB, free: 4.434 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005763/0.01796, allocations: 347.4 kB / 1.01 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007921/0.01875, allocations: 323.1 kB / 1.01 GB, free: 3.676 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.01875, allocations: 0 / 1.01 GB, free: 3.676 MB / 0.9636 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001125/0.01988, allocations: 0.5266 MB / 1.01 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-05/0.01996, allocations: 93.09 kB / 1.01 GB, free: 3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.01997, allocations: 4 kB / 1.01 GB, free: 2.996 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.01999, allocations: 48 / 1.01 GB, free: 2.996 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.02026, allocations: 52.03 kB / 1.011 GB, free: 2.945 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.02027, allocations: 4 kB / 1.011 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/0.02065, allocations: 75.77 kB / 1.011 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.02068, allocations: 8 kB / 1.011 GB, free: 2.859 MB / 0.9636 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,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,minFloRatSaf.intConOne.y,minFloRatSaf.disErr.local_set,minFloRatSaf.disErr.local_reset) * 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.0001915/0.02087, allocations: 155 kB / 1.011 GB, free: 2.699 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.02092, allocations: 27.8 kB / 1.011 GB, free: 2.672 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.899e-05/0.021, allocations: 33.95 kB / 1.011 GB, free: 2.633 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.021, allocations: 4 kB / 1.011 GB, free: 2.629 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.02101, allocations: 0 / 1.011 GB, free: 2.629 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.02101, allocations: 7.984 kB / 1.011 GB, free: 2.621 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.02221, allocations: 0.5384 MB / 1.011 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.02221, allocations: 4 kB / 1.011 GB, free: 2.043 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.02237, allocations: 31.95 kB / 1.011 GB, free: 2.012 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.02237, allocations: 0 / 1.011 GB, free: 2.012 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.0224, allocations: 8 kB / 1.011 GB, free: 2.004 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.0224, allocations: 0 / 1.011 GB, free: 2.004 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.0224, allocations: 3.984 kB / 1.011 GB, free: 2 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000873/0.02327, allocations: 369 kB / 1.012 GB, free: 1.625 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.02331, allocations: 23.83 kB / 1.012 GB, free: 1.602 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.05e-05/0.02336, allocations: 8 kB / 1.012 GB, free: 1.594 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.0237, allocations: 47.94 kB / 1.012 GB, free: 1.547 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.02387, allocations: 59.89 kB / 1.012 GB, free: 1.488 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.02389, allocations: 4 kB / 1.012 GB, free: 1.484 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001607/0.02405, allocations: 160.5 kB / 1.012 GB, free: 1.328 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.02405, allocations: 0 / 1.012 GB, free: 1.328 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003446/0.0244, allocations: 71.84 kB / 1.012 GB, free: 1.258 MB / 0.9636 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.0001858/0.02458, allocations: 119.5 kB / 1.012 GB, free: 1.133 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.02568, allocations: 0.5055 MB / 1.013 GB, free: 0.5742 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02568, allocations: 0 / 1.013 GB, free: 0.5742 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000423/0.0261, allocations: 115.8 kB / 1.013 GB, free: 472 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.0265, allocations: 40.64 kB / 1.013 GB, free: 424 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.02752, allocations: 409.7 kB / 1.013 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.02768, allocations: 138.1 kB / 1.013 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.0278, allocations: 21.94 kB / 1.013 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.02791, allocations: 36.48 kB / 1.013 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of SimCode: time 5.41e-07/0.02791, allocations: 0 / 1.013 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of Templates: time 0.00942/0.03733, allocations: 4.009 MB / 1.017 GB, free: 11.88 MB / 0.9792 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: 9.067966519854963]