Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 112.2 kB / 16.37 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 191.9 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.833/1.833, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001448, allocations: 71.91 kB / 0.673 GB, free: 5.805 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2798, allocations: 114.6 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002927/0.2828, allocations: 1.252 MB / 0.7861 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.2839, allocations: 0.5113 MB / 0.7866 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.751e-05/0.2839, allocations: 0 / 0.7866 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.289e-05/0.284, allocations: 4 kB / 0.7866 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.478e-05/0.284, allocations: 3.984 kB / 0.7866 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.2844, allocations: 55.88 kB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.757e-05/0.2845, allocations: 19.91 kB / 0.7866 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.2846, allocations: 0 / 0.7866 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.649e-05/0.2846, allocations: 7.938 kB / 0.7866 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.2846, allocations: 4 kB / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.2847, allocations: 0 / 0.7866 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.2848, allocations: 71.83 kB / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.489e-05/0.2849, allocations: 8 kB / 0.7867 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.971e-05/0.285, allocations: 11.92 kB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.2852, allocations: 55.92 kB / 0.7868 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.2852, allocations: 0 / 0.7868 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.457e-06/0.2852, allocations: 0 / 0.7868 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.2852, allocations: 0 / 0.7868 GB, free: 1.113 MB / 0.6544 GB 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.0005039/0.2857, allocations: 343.5 kB / 0.7871 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.2858, allocations: 8.031 kB / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.2858, allocations: 12.77 kB / 0.7871 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.286, allocations: 168.3 kB / 0.7873 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.286, allocations: 384 / 0.7873 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.286, allocations: 12.36 kB / 0.7873 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.2862, allocations: 50 kB / 0.7874 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2862, allocations: 0 / 0.7874 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.2862, allocations: 0 / 0.7874 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2862, allocations: 0 / 0.7874 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.386e-05/0.2863, allocations: 11.98 kB / 0.7874 GB, free: 440 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.2865, allocations: 153.8 kB / 0.7875 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.134e-05/0.2865, allocations: 34.5 kB / 0.7875 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.677e-05/0.2866, allocations: 24.95 kB / 0.7876 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-06/0.2866, allocations: 4 kB / 0.7876 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.2868, allocations: 67.33 kB / 0.7876 GB, free: 80 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.2868, allocations: 0 / 0.7876 GB, free: 80 kB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.4661/0.7529, allocations: 88.8 kB / 0.7877 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.753, allocations: 61.38 kB / 0.7878 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.422e-05/0.7531, allocations: 93.83 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.7531, allocations: 32.92 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.256e-05/0.7531, allocations: 81.77 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.7531, allocations: 20.77 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.7532, allocations: 29.12 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.159e-05/0.7533, allocations: 319.2 kB / 0.7883 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.597e-05/0.7533, allocations: 25.38 kB / 0.7884 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.418e-05/0.7534, allocations: 65.78 kB / 0.7884 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.874e-05/0.7535, allocations: 96.95 kB / 0.7885 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.7535, allocations: 0 / 0.7885 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001668/0.7536, allocations: 120.6 kB / 0.7886 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.7537, allocations: 6.5 kB / 0.7886 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.7537, allocations: 0 / 0.7886 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.7537, allocations: 10.52 kB / 0.7886 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.106e-05/0.7538, allocations: 14.12 kB / 0.7887 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.7538, allocations: 5.188 kB / 0.7887 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/0.7539, allocations: 5.844 kB / 0.7887 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.7539, allocations: 5.594 kB / 0.7887 GB, free: 48.24 MB / 0.6544 GB 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 8.126e-05/0.754, allocations: 122.8 kB / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.754, allocations: 5.312 kB / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.754, allocations: 16.5 kB / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.754, allocations: 1.656 kB / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.754, allocations: 0 / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7541, allocations: 0 / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.539e-05/0.7542, allocations: 156 kB / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7542, allocations: 1.844 kB / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-06/0.7542, allocations: 0 / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.7542, allocations: 1.719 kB / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.7542, allocations: 6.594 kB / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.7542, allocations: 3.188 kB / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7542, allocations: 0 / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.7543, allocations: 106.3 kB / 0.7891 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.003e-05/0.7544, allocations: 86.98 kB / 0.7892 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.7544, allocations: 6.656 kB / 0.7892 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.231e-05/0.7544, allocations: 1.5 kB / 0.7892 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.7544, allocations: 2.75 kB / 0.7892 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.7544, allocations: 2.75 kB / 0.7892 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.587e-05/0.7545, allocations: 78.19 kB / 0.7892 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7545, allocations: 0 / 0.7892 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002453/0.7547, allocations: 21.02 kB / 0.7893 GB, free: 47.69 MB / 0.6544 GB 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.0001876/0.7549, allocations: 129.6 kB / 0.7894 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.755, allocations: 57.61 kB / 0.7894 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7551, allocations: 3.75 kB / 0.7894 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.679e-05/0.7551, allocations: 19.22 kB / 0.7895 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.7552, allocations: 0.625 kB / 0.7895 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002637/0.7555, allocations: 144.7 kB / 0.7896 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.7556, allocations: 0.6772 MB / 0.7903 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.351e-05/0.7556, allocations: 10.06 kB / 0.7903 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.7556, allocations: 0.875 kB / 0.7903 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of Templates: time 0.002074/0.7577, allocations: 0.8191 MB / 0.7911 GB, free: 46.77 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)