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.001077/0.001077, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001428/0.002506, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001096/0.001096, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001403/0.002499, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8697/0.8697, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07412/0.9438, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001349/0.001349, allocations: 238.2 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001084/0.002433, allocations: 471.7 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6998/0.6998, allocations: 138.7 MB / 384.3 MB, free: 352 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06356/0.7634, allocations: 42.4 MB / 426.7 MB, free: 5.82 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.633e-06/1.633e-06, allocations: 3.938 kB / 428.1 MB, free: 4.457 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.236e-05, allocations: 2.312 kB / 428.1 MB, free: 4.453 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002253/0.002276, allocations: 1.356 MB / 429.4 MB, free: 3.082 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007315/0.003007, allocations: 0.5063 MB / 430 MB, free: 2.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.753e-05/0.003025, allocations: 0 / 430 MB, free: 2.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.003044, allocations: 0 / 430 MB, free: 2.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.648e-05/0.00308, allocations: 0 / 430 MB, free: 2.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.003311, allocations: 55.8 kB / 430 MB, free: 2.516 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.286e-05/0.003374, allocations: 11.94 kB / 430 MB, free: 2.504 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.549e-05/0.00341, allocations: 3.984 kB / 430 MB, free: 2.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.34e-05/0.003453, allocations: 7.984 kB / 430 MB, free: 2.492 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.079e-05/0.003494, allocations: 7.984 kB / 430 MB, free: 2.484 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.003506, allocations: 3.938 kB / 430 MB, free: 2.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.003703, allocations: 71.84 kB / 430.1 MB, free: 2.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.729e-05/0.003761, allocations: 11.98 kB / 430.1 MB, free: 2.398 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.003792, allocations: 4 kB / 430.1 MB, free: 2.395 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.003931, allocations: 59.81 kB / 430.2 MB, free: 2.336 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.003942, allocations: 0 / 430.2 MB, free: 2.336 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.003942, allocations: 0 / 430.2 MB, free: 2.336 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.003953, allocations: 3.938 kB / 430.2 MB, free: 2.332 MB / 410.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.0003259/0.004279, allocations: 244.6 kB / 430.4 MB, free: 2.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.004313, allocations: 12.03 kB / 430.4 MB, free: 2.059 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.004342, allocations: 0.9375 kB / 430.4 MB, free: 2.059 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.454e-05/0.004407, allocations: 109.7 kB / 430.6 MB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.004416, allocations: 384 / 430.6 MB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.004428, allocations: 4.375 kB / 430.6 MB, free: 1.922 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.173e-05/0.00451, allocations: 45.08 kB / 430.6 MB, free: 1.871 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.004516, allocations: 192 / 430.6 MB, free: 1.871 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.004522, allocations: 384 / 430.6 MB, free: 1.871 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.004528, allocations: 3.938 kB / 430.6 MB, free: 1.867 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.487e-05/0.004543, allocations: 11.94 kB / 430.6 MB, free: 1.855 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.391e-05/0.004617, allocations: 63.86 kB / 430.7 MB, free: 1.777 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.664e-05/0.004653, allocations: 26.56 kB / 430.7 MB, free: 1.742 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.361e-05/0.004667, allocations: 12.88 kB / 430.7 MB, free: 1.727 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-06/0.00467, allocations: 0 / 430.7 MB, free: 1.727 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.319e-05/0.004763, allocations: 62.36 kB / 430.8 MB, free: 1.652 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 7.81e-07/0.004764, allocations: 4 kB / 430.8 MB, free: 1.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001208/0.004885, allocations: 53.62 kB / 430.8 MB, free: 1.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.004924, allocations: 55.41 kB / 430.9 MB, free: 1.523 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.444e-05/0.004959, allocations: 97.83 kB / 431 MB, free: 1.418 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.004975, allocations: 29.7 kB / 431 MB, free: 1.383 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.423e-05/0.004999, allocations: 84.14 kB / 431.1 MB, free: 1.297 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.005023, allocations: 7.906 kB / 431.1 MB, free: 1.289 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.005065, allocations: 37.69 kB / 431.1 MB, free: 1.246 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.011e-05/0.005145, allocations: 318.8 kB / 431.5 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.005162, allocations: 11.98 kB / 431.5 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.262e-05/0.005204, allocations: 61.91 kB / 431.5 MB, free: 0.832 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.27e-05/0.005287, allocations: 76.75 kB / 431.6 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.005289, allocations: 0 / 431.6 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000107/0.005396, allocations: 81.48 kB / 431.7 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.005409, allocations: 8 kB / 431.7 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.005414, allocations: 0 / 431.7 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.005427, allocations: 4 kB / 431.7 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.005528, allocations: 27.98 kB / 431.7 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.005531, allocations: 0 / 431.7 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.552e-05/0.005567, allocations: 15.83 kB / 431.7 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.005574, allocations: 4 kB / 431.7 MB, free: 0.5898 MB / 410.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 7.686e-05/0.005651, allocations: 132.8 kB / 431.9 MB, free: 460 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-06/0.005659, allocations: 0 / 431.9 MB, free: 460 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.646e-05/0.005675, allocations: 3.969 kB / 431.9 MB, free: 460 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.005677, allocations: 0 / 431.9 MB, free: 460 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.005678, allocations: 0 / 431.9 MB, free: 460 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.00568, allocations: 0 / 431.9 MB, free: 460 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.17e-05/0.005762, allocations: 69.83 kB / 431.9 MB, free: 372 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.005763, allocations: 0 / 431.9 MB, free: 372 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-06/0.005767, allocations: 0 / 431.9 MB, free: 372 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.005774, allocations: 7.984 kB / 431.9 MB, free: 364 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.005776, allocations: 0 / 431.9 MB, free: 364 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.005781, allocations: 4 kB / 431.9 MB, free: 360 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.005782, allocations: 0 / 431.9 MB, free: 360 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.005783, allocations: 0 / 431.9 MB, free: 360 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.07e-05/0.005864, allocations: 82.66 kB / 432 MB, free: 256 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.00588, allocations: 4 kB / 432 MB, free: 252 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.168e-05/0.005891, allocations: 4 kB / 432 MB, free: 248 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.005906, allocations: 4 kB / 432 MB, free: 244 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.005917, allocations: 0 / 432 MB, free: 244 kB / 410.7 MB Notification: Performance of sorting global known variables: time 7.534e-06/0.005925, allocations: 4.859 kB / 432 MB, free: 236 kB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005925, allocations: 0 / 432 MB, free: 236 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002024/0.006127, allocations: 31.92 kB / 432.1 MB, free: 204 kB / 410.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.000157/0.006284, allocations: 116.4 kB / 432.2 MB, free: 76 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.891e-05/0.006373, allocations: 40.97 kB / 432.2 MB, free: 32 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.006376, allocations: 0 / 432.2 MB, free: 32 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.767e-05/0.006394, allocations: 16.84 kB / 432.2 MB, free: 12 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.122e-05/0.006455, allocations: 11.94 kB / 432.3 MB, free: 0 / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.006878, allocations: 112.2 kB / 432.4 MB, free: 2.605 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.155e-05/0.006899, allocations: 56.08 kB / 432.4 MB, free: 2.535 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.352e-05/0.006923, allocations: 5.391 kB / 432.4 MB, free: 2.535 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.00695, allocations: 52.31 kB / 432.5 MB, free: 2.492 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.006951, allocations: 1.438 kB / 432.5 MB, free: 2.492 MB / 410.7 MB Notification: Performance of Templates: time 0.002317/0.009268, allocations: 0.6955 MB / 433.2 MB, free: 2.484 MB / 410.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.1825024150311947]