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.0008861/0.0008861, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.0008974/0.0008974, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.8979/0.8979, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.001602/0.001602, allocations: 237.6 kB / 261.3 MB, free: 12.67 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.6574/0.6574, allocations: 138.4 MB / 456.3 MB, free: 1.438 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.172e-06/1.172e-06, allocations: 3.938 kB / 0.5564 GB, free: 228 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026e-05/1.143e-05, allocations: 2.312 kB / 0.5564 GB, free: 224 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.004746/0.004757, allocations: 1.298 MB / 0.5577 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007211/0.005478, allocations: 0.4949 MB / 0.5582 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.824e-05/0.005496, allocations: 0 / 0.5582 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.005529, allocations: 3.938 kB / 0.5582 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.346e-05/0.005593, allocations: 11.92 kB / 0.5582 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.005876, allocations: 55.8 kB / 0.5582 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.529e-05/0.005921, allocations: 8 kB / 0.5582 GB, free: 14.33 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.858e-05/0.00595, allocations: 0 / 0.5582 GB, free: 14.33 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.144e-05/0.005981, allocations: 11.97 kB / 0.5583 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.129e-05/0.006013, allocations: 4 kB / 0.5583 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.676e-06/0.006021, allocations: 4 kB / 0.5583 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.006156, allocations: 75.7 kB / 0.5583 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.0062, allocations: 19.97 kB / 0.5584 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/0.006223, allocations: 4 kB / 0.5584 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.006332, allocations: 67.78 kB / 0.5584 GB, free: 14.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.006334, allocations: 0 / 0.5584 GB, free: 14.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.006334, allocations: 0 / 0.5584 GB, free: 14.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.855e-06/0.006337, allocations: 0 / 0.5584 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.0002572/0.006595, allocations: 364.6 kB / 0.5588 GB, free: 13.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.723e-05/0.006622, allocations: 12.03 kB / 0.5588 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.335e-05/0.006645, allocations: 4.938 kB / 0.5588 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.247e-05/0.006698, allocations: 108.6 kB / 0.5589 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.006708, allocations: 4.375 kB / 0.5589 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.006717, allocations: 8.312 kB / 0.5589 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.984e-05/0.006777, allocations: 34.25 kB / 0.5589 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-06/0.006782, allocations: 192 / 0.5589 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.006788, allocations: 384 / 0.5589 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.006792, allocations: 3.938 kB / 0.5589 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.748e-06/0.006802, allocations: 4 kB / 0.5589 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.956e-05/0.006882, allocations: 101.2 kB / 0.559 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.506e-05/0.006917, allocations: 31.05 kB / 0.5591 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.426e-05/0.006931, allocations: 19.66 kB / 0.5591 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-06/0.006934, allocations: 0 / 0.5591 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.624e-05/0.007, allocations: 61.05 kB / 0.5592 GB, free: 13.28 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 6.72e-07/0.007001, allocations: 0 / 0.5592 GB, free: 13.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.000136/0.007136, allocations: 69.77 kB / 0.5592 GB, free: 13.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.007172, allocations: 63.34 kB / 0.5593 GB, free: 13.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.692e-05/0.007219, allocations: 154.2 kB / 0.5594 GB, free: 12.97 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.007234, allocations: 29.7 kB / 0.5595 GB, free: 12.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.027e-05/0.007264, allocations: 126.9 kB / 0.5596 GB, free: 12.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.007288, allocations: 23.92 kB / 0.5596 GB, free: 12.78 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.007329, allocations: 43.3 kB / 0.5596 GB, free: 12.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.003117/0.01045, allocations: 496.1 kB / 0.5601 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.01047, allocations: 11.98 kB / 0.5601 GB, free: 12.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.822e-05/0.01051, allocations: 73.78 kB / 0.5602 GB, free: 12.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.215e-05/0.0106, allocations: 93.69 kB / 0.5603 GB, free: 12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.0106, allocations: 0 / 0.5603 GB, free: 12 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001111/0.01071, allocations: 89.55 kB / 0.5604 GB, free: 11.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.01072, allocations: 8 kB / 0.5604 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.01073, allocations: 0 / 0.5604 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.01073, allocations: 4 kB / 0.5604 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.841e-05/0.01081, allocations: 23.92 kB / 0.5604 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.01082, allocations: 4.219 kB / 0.5604 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.243e-05/0.01085, allocations: 19.83 kB / 0.5604 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-06/0.01086, allocations: 4 kB / 0.5604 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 7.615e-05/0.01093, allocations: 164.6 kB / 0.5606 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-06/0.01094, allocations: 3.938 kB / 0.5606 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.446e-05/0.01095, allocations: 11.95 kB / 0.5606 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.01096, allocations: 0 / 0.5606 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.01096, allocations: 4 kB / 0.5606 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.01096, allocations: 3.938 kB / 0.5606 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.973e-05/0.01103, allocations: 97.25 kB / 0.5607 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.01103, allocations: 4 kB / 0.5607 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-06/0.01103, allocations: 0 / 0.5607 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.01103, allocations: 0 / 0.5607 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.01104, allocations: 0 / 0.5607 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.01104, allocations: 0 / 0.5607 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01104, allocations: 4 kB / 0.5607 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.946e-05/0.01113, allocations: 108.3 kB / 0.5608 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-06/0.01114, allocations: 3.938 kB / 0.5608 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.01115, allocations: 7.984 kB / 0.5608 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.148e-06/0.01116, allocations: 0 / 0.5608 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.01117, allocations: 0 / 0.5608 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.01118, allocations: 11.97 kB / 0.5608 GB, free: 11.37 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.836e-05/0.01121, allocations: 119.2 kB / 0.5609 GB, free: 11.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01121, allocations: 0 / 0.5609 GB, free: 11.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002186/0.01143, allocations: 27.98 kB / 0.561 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.0001222/0.01155, allocations: 131.1 kB / 0.5611 GB, free: 11.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.978e-05/0.01163, allocations: 47.55 kB / 0.5611 GB, free: 11.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.31e-07/0.01163, allocations: 448 / 0.5611 GB, free: 11.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.687e-05/0.01165, allocations: 19.67 kB / 0.5612 GB, free: 11.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001073/0.01176, allocations: 7.984 kB / 0.5612 GB, free: 11.01 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001685/0.01192, allocations: 114.3 kB / 0.5613 GB, free: 10.87 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.377e-05/0.01195, allocations: 59.3 kB / 0.5613 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.434e-05/0.01196, allocations: 3.984 kB / 0.5613 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.01199, allocations: 74.2 kB / 0.5614 GB, free: 10.71 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01199, allocations: 0 / 0.5614 GB, free: 10.71 MB / 490.7 MB Notification: Performance of Templates: time 0.00196/0.01395, allocations: 0.7733 MB / 0.5622 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.342341694049537]