Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.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.001315/0.001315, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001017/0.001017, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.8746/0.8746, allocations: 177.2 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001571/0.001571, allocations: 234 kB / 260.2 MB, free: 12.83 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6759/0.6759, allocations: 138.4 MB / 455.2 MB, free: 1.539 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.5552 GB, free: 496 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.592e-05, allocations: 6.25 kB / 0.5552 GB, free: 488 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001453/0.001469, allocations: 1.301 MB / 0.5564 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006491/0.002118, allocations: 0.5064 MB / 0.5569 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.71e-05/0.002135, allocations: 0 / 0.5569 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.529e-05/0.00217, allocations: 0 / 0.5569 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.569e-05/0.002236, allocations: 7.938 kB / 0.5569 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.002534, allocations: 51.86 kB / 0.557 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.099e-05/0.002585, allocations: 15.98 kB / 0.557 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.912e-05/0.002614, allocations: 0 / 0.557 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.433e-05/0.002649, allocations: 11.97 kB / 0.557 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.461e-05/0.002683, allocations: 7.938 kB / 0.557 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.718e-06/0.002693, allocations: 0 / 0.557 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.002816, allocations: 71.77 kB / 0.5571 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.899e-05/0.002865, allocations: 19.92 kB / 0.5571 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.002895, allocations: 4 kB / 0.5571 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.003012, allocations: 67.83 kB / 0.5572 GB, free: 14.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003014, allocations: 0 / 0.5572 GB, free: 14.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.003015, allocations: 0 / 0.5572 GB, free: 14.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.003019, allocations: 4 kB / 0.5572 GB, free: 14.39 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002887/0.003308, allocations: 360.6 kB / 0.5575 GB, free: 14.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.003339, allocations: 12.03 kB / 0.5575 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.003372, allocations: 0.9375 kB / 0.5575 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.579e-05/0.003428, allocations: 116.6 kB / 0.5576 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.00344, allocations: 4.359 kB / 0.5577 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.998e-06/0.00345, allocations: 4.375 kB / 0.5577 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.132e-05/0.003541, allocations: 34.27 kB / 0.5577 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.003548, allocations: 192 / 0.5577 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.003558, allocations: 384 / 0.5577 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.003566, allocations: 7.938 kB / 0.5577 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.553e-05/0.003581, allocations: 11.92 kB / 0.5577 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001042/0.003685, allocations: 112.6 kB / 0.5578 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.487e-05/0.00373, allocations: 31 kB / 0.5578 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.627e-05/0.003747, allocations: 11.84 kB / 0.5579 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.729e-06/0.003751, allocations: 3.984 kB / 0.5579 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.756e-05/0.003829, allocations: 69.03 kB / 0.5579 GB, free: 13.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.00383, allocations: 0 / 0.5579 GB, free: 13.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001631/0.003993, allocations: 81.58 kB / 0.558 GB, free: 13.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.004028, allocations: 63.38 kB / 0.5581 GB, free: 13.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.829e-05/0.004066, allocations: 142.2 kB / 0.5582 GB, free: 13.19 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.00408, allocations: 33.7 kB / 0.5582 GB, free: 13.15 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.835e-05/0.004108, allocations: 130.9 kB / 0.5584 GB, free: 13.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.004128, allocations: 15.91 kB / 0.5584 GB, free: 13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.004158, allocations: 31.38 kB / 0.5584 GB, free: 12.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.58e-05/0.004254, allocations: 0.4923 MB / 0.5589 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.004272, allocations: 8 kB / 0.5589 GB, free: 12.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-05/0.004319, allocations: 80.16 kB / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.7e-05/0.004396, allocations: 105.7 kB / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.004398, allocations: 0 / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.952e-05/0.004488, allocations: 97.55 kB / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.004498, allocations: 8.156 kB / 0.5592 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.004502, allocations: 8 kB / 0.5592 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.004512, allocations: 0 / 0.5592 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.773e-05/0.00459, allocations: 23.98 kB / 0.5592 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.004595, allocations: 3.938 kB / 0.5592 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.136e-05/0.004616, allocations: 15.89 kB / 0.5592 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.004622, allocations: 4 kB / 0.5592 GB, free: 12.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (QAggShi_flow[5],$PRE.QAggShi_flow[5],QAggShi_flow[4],$PRE.QAggShi_flow[4],QAggShi_flow[3],$PRE.QAggShi_flow[3],QAggShi_flow[2],$PRE.QAggShi_flow[2],QAggShi_flow[1],$PRE.QAggShi_flow[1],curCel,$PRE.curCel,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 6.391e-05/0.004686, allocations: 168.5 kB / 0.5594 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-06/0.004692, allocations: 0 / 0.5594 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.476e-05/0.004707, allocations: 3.969 kB / 0.5594 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.004708, allocations: 4 kB / 0.5594 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.004711, allocations: 7.938 kB / 0.5594 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.004714, allocations: 3.984 kB / 0.5594 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.367e-05/0.004778, allocations: 104.6 kB / 0.5595 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.004781, allocations: 8 kB / 0.5595 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-06/0.004782, allocations: 0 / 0.5595 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.004784, allocations: 3.938 kB / 0.5595 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.004794, allocations: 4 kB / 0.5595 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.004795, allocations: 0 / 0.5595 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.004796, allocations: 0 / 0.5595 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.308e-05/0.004879, allocations: 116.2 kB / 0.5596 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-06/0.004884, allocations: 3.938 kB / 0.5596 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.004898, allocations: 4 kB / 0.5596 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-06/0.004904, allocations: 0 / 0.5596 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.085e-05/0.004925, allocations: 4 kB / 0.5596 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.004936, allocations: 7.938 kB / 0.5596 GB, free: 11.55 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.441e-05/0.004961, allocations: 119.2 kB / 0.5598 GB, free: 11.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.004961, allocations: 0 / 0.5598 GB, free: 11.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001418/0.005103, allocations: 23.98 kB / 0.5598 GB, free: 11.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,curCel,QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of discrete states: 5 (QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001218/0.005224, allocations: 131.2 kB / 0.5599 GB, free: 11.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.929e-05/0.005314, allocations: 43.61 kB / 0.56 GB, free: 11.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.005315, allocations: 0 / 0.56 GB, free: 11.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.906e-05/0.005334, allocations: 23.61 kB / 0.56 GB, free: 11.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.797e-05/0.005422, allocations: 7.984 kB / 0.56 GB, free: 11.19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000198/0.00562, allocations: 116.8 kB / 0.5601 GB, free: 11.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.715e-05/0.005647, allocations: 59.3 kB / 0.5601 GB, free: 10.97 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.545e-05/0.005662, allocations: 8.484 kB / 0.5602 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.42e-05/0.005677, allocations: 12.5 kB / 0.5602 GB, free: 10.95 MB / 490.7 MB Notification: Performance of SimCode: time 3.9e-07/0.005677, allocations: 0 / 0.5602 GB, free: 10.95 MB / 490.7 MB Notification: Performance of Templates: time 0.00226/0.007937, allocations: 0.7526 MB / 0.5609 GB, free: 10.25 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2754673701711]