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.0008884/0.0008884, allocations: 85.08 kB / 19.87 MB, free: 4.617 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.000945/0.000945, allocations: 169 kB / 23.27 MB, free: 1.219 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.9329/0.9329, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.002468/0.002468, allocations: 246.5 kB / 260.5 MB, free: 12.66 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.6762/0.6762, allocations: 138.4 MB / 455.5 MB, free: 1.426 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.373e-06/1.373e-06, allocations: 0 / 0.5557 GB, free: 224 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.982e-05, allocations: 10.25 kB / 0.5557 GB, free: 212 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001602/0.001622, allocations: 1.286 MB / 0.5569 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006682/0.00229, allocations: 0.4987 MB / 0.5574 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.062e-05/0.002311, allocations: 0 / 0.5574 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.072e-05/0.002341, allocations: 0 / 0.5574 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.389e-05/0.002405, allocations: 15.86 kB / 0.5574 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.002689, allocations: 47.86 kB / 0.5575 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.366e-05/0.002733, allocations: 8 kB / 0.5575 GB, free: 14.33 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.924e-05/0.002762, allocations: 3.984 kB / 0.5575 GB, free: 14.33 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.632e-05/0.002798, allocations: 11.98 kB / 0.5575 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.337e-05/0.002831, allocations: 11.94 kB / 0.5575 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.00284, allocations: 0 / 0.5575 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.002965, allocations: 67.83 kB / 0.5576 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.28e-05/0.003008, allocations: 19.91 kB / 0.5576 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.00303, allocations: 4 kB / 0.5576 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.003134, allocations: 71.78 kB / 0.5577 GB, free: 14.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.003135, allocations: 0 / 0.5577 GB, free: 14.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.003136, allocations: 0 / 0.5577 GB, free: 14.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.956e-06/0.003139, allocations: 0 / 0.5577 GB, free: 14.14 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.0002445/0.003383, allocations: 364.6 kB / 0.558 GB, free: 13.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.003415, allocations: 12.03 kB / 0.558 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.884e-05/0.003434, allocations: 4.938 kB / 0.558 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.777e-05/0.003482, allocations: 108.6 kB / 0.5581 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.00349, allocations: 384 / 0.5581 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-06/0.003497, allocations: 4.375 kB / 0.5581 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.956e-05/0.003556, allocations: 38.19 kB / 0.5582 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.759e-06/0.003561, allocations: 192 / 0.5582 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-06/0.003567, allocations: 384 / 0.5582 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.003571, allocations: 3.938 kB / 0.5582 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.427e-06/0.003581, allocations: 7.938 kB / 0.5582 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.126e-05/0.003662, allocations: 97.27 kB / 0.5583 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.999e-05/0.003692, allocations: 35.05 kB / 0.5583 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.167e-05/0.003704, allocations: 11.72 kB / 0.5583 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-06/0.003707, allocations: 0 / 0.5583 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.918e-05/0.003776, allocations: 77.09 kB / 0.5584 GB, free: 13.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 7.11e-07/0.003777, allocations: 0 / 0.5584 GB, free: 13.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001233/0.0039, allocations: 69.64 kB / 0.5585 GB, free: 13.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.003929, allocations: 55.41 kB / 0.5585 GB, free: 13.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.005e-05/0.003969, allocations: 158.1 kB / 0.5587 GB, free: 12.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.00398, allocations: 33.7 kB / 0.5587 GB, free: 12.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.211e-05/0.004012, allocations: 126.9 kB / 0.5588 GB, free: 12.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.00403, allocations: 15.94 kB / 0.5588 GB, free: 12.78 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.004064, allocations: 43.34 kB / 0.5589 GB, free: 12.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.004165, allocations: 496.1 kB / 0.5593 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.004178, allocations: 11.98 kB / 0.5594 GB, free: 12.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/0.004467, allocations: 77.78 kB / 0.5594 GB, free: 12.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.376e-05/0.00453, allocations: 85.75 kB / 0.5595 GB, free: 12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.004532, allocations: 3.938 kB / 0.5595 GB, free: 12 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.579e-05/0.004618, allocations: 93.55 kB / 0.5596 GB, free: 11.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.00463, allocations: 8 kB / 0.5596 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.004634, allocations: 0 / 0.5596 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.797e-06/0.004643, allocations: 4 kB / 0.5596 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.78e-05/0.004711, allocations: 23.92 kB / 0.5596 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.004716, allocations: 8.219 kB / 0.5596 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.283e-05/0.004739, allocations: 15.83 kB / 0.5597 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.004744, allocations: 4 kB / 0.5597 GB, free: 11.84 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.348e-05/0.004808, allocations: 160.6 kB / 0.5598 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.754e-06/0.004815, allocations: 7.984 kB / 0.5598 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.84e-05/0.004834, allocations: 11.95 kB / 0.5598 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.004835, allocations: 0 / 0.5598 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.004836, allocations: 0 / 0.5598 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.00484, allocations: 3.938 kB / 0.5598 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.881e-05/0.004898, allocations: 101.2 kB / 0.5599 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.004899, allocations: 0 / 0.5599 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-06/0.004901, allocations: 0 / 0.5599 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-07/0.004902, allocations: 3.938 kB / 0.5599 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.004906, allocations: 0 / 0.5599 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.00491, allocations: 7.984 kB / 0.5599 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.00491, allocations: 0 / 0.5599 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.781e-05/0.004998, allocations: 104.3 kB / 0.56 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-06/0.005004, allocations: 3.938 kB / 0.56 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.005017, allocations: 4 kB / 0.5601 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-06/0.005024, allocations: 0 / 0.5601 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.488e-05/0.005038, allocations: 4.031 kB / 0.5601 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.00505, allocations: 7.984 kB / 0.5601 GB, free: 11.37 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.638e-05/0.005077, allocations: 119.2 kB / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005077, allocations: 0 / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001472/0.005224, allocations: 24 kB / 0.5602 GB, free: 11.23 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.0001304/0.005354, allocations: 130 kB / 0.5603 GB, free: 11.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.819e-05/0.005433, allocations: 51.91 kB / 0.5604 GB, free: 11.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.005434, allocations: 64 / 0.5604 GB, free: 11.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.769e-05/0.005451, allocations: 23.67 kB / 0.5604 GB, free: 11.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.671e-05/0.005548, allocations: 3.984 kB / 0.5604 GB, free: 11.01 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001876/0.005736, allocations: 114.3 kB / 0.5605 GB, free: 10.87 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.615e-05/0.005762, allocations: 55.36 kB / 0.5606 GB, free: 10.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.858e-05/0.00578, allocations: 3.984 kB / 0.5606 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.00581, allocations: 74.2 kB / 0.5606 GB, free: 10.72 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.00581, allocations: 0 / 0.5606 GB, free: 10.72 MB / 490.7 MB Notification: Performance of Templates: time 0.00218/0.007991, allocations: 0.772 MB / 0.5614 GB, free: 10 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.4091114732436836]