Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0_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.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.665/1.665, allocations: 287.5 MB / 302.6 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 190.2 kB / 371.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009177/0.0009177, allocations: 94.17 kB / 0.7432 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003433, allocations: 15.28 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1884, allocations: 115.3 MB / 0.9787 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.00116/0.1896, allocations: 0.9743 MB / 0.9797 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007363/0.1904, allocations: 492.1 kB / 0.9801 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.705e-05/0.1904, allocations: 0 / 0.9801 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.1905, allocations: 3.984 kB / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.583e-05/0.1905, allocations: 4 kB / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.1909, allocations: 39.89 kB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.362e-05/0.1909, allocations: 15.98 kB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.828e-05/0.191, allocations: 0 / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.433e-05/0.191, allocations: 7.984 kB / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.385e-05/0.1911, allocations: 8 kB / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.1911, allocations: 0 / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.1912, allocations: 47.88 kB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.1912, allocations: 7.984 kB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.1913, allocations: 29.7 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.563e-05/0.1914, allocations: 39.95 kB / 0.9803 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1914, allocations: 0 / 0.9803 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.814e-06/0.1914, allocations: 0 / 0.9803 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.1914, allocations: 0 / 0.9803 GB, free: 26.46 MB / 0.6198 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.0002493/0.1917, allocations: 335.8 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1917, allocations: 8.031 kB / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.1917, allocations: 4.844 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.668e-05/0.1918, allocations: 164.3 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1918, allocations: 8.312 kB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.1918, allocations: 8.359 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.619e-05/0.1919, allocations: 54 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.192, allocations: 0 / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.192, allocations: 0 / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.192, allocations: 0 / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.489e-05/0.192, allocations: 8 kB / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.1921, allocations: 161.7 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.372e-05/0.1922, allocations: 30.52 kB / 0.9811 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.1922, allocations: 24.94 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.263e-06/0.1922, allocations: 0 / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.1923, allocations: 75.33 kB / 0.9812 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.1924, allocations: 0 / 0.9812 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0001817/0.1925, allocations: 93.84 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.1926, allocations: 59.39 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.612e-05/0.1926, allocations: 101.8 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1926, allocations: 29.7 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.918e-05/0.1927, allocations: 80.14 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.1927, allocations: 19.83 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.1927, allocations: 4 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.879e-05/0.1928, allocations: 314.8 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-05/0.1928, allocations: 19.98 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.122e-05/0.1929, allocations: 73.97 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.358e-05/0.193, allocations: 97.88 kB / 0.982 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.193, allocations: 0 / 0.982 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001335/0.1931, allocations: 117.4 kB / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1931, allocations: 13.81 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1931, allocations: 0 / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1932, allocations: 4 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.712e-05/0.1932, allocations: 11.94 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1933, allocations: 8.219 kB / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.562e-05/0.1933, allocations: 7.984 kB / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1933, allocations: 4 kB / 0.9822 GB, free: 24.3 MB / 0.6198 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 ($PRE.QAggShi_flow[5],QAggShi_flow[5],$PRE.QAggShi_flow[4],QAggShi_flow[4],$PRE.QAggShi_flow[3],QAggShi_flow[3],$PRE.QAggShi_flow[2],QAggShi_flow[2],$PRE.QAggShi_flow[1],QAggShi_flow[1],$PRE.curCel,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.431e-05/0.1934, allocations: 129.8 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/0.1934, allocations: 7.844 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.099e-05/0.1934, allocations: 3.969 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1935, allocations: 3.938 kB / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1935, allocations: 0 / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1935, allocations: 15.86 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.129e-05/0.1936, allocations: 149.7 kB / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1936, allocations: 0 / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-06/0.1936, allocations: 4 kB / 0.9825 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.1936, allocations: 7.922 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1936, allocations: 0 / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1936, allocations: 0 / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1936, allocations: 0 / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.714e-05/0.1937, allocations: 113.1 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/0.1937, allocations: 81.05 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.1938, allocations: 4 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.275e-05/0.1938, allocations: 0 / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.1938, allocations: 0 / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.1938, allocations: 4 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.306e-05/0.1938, allocations: 76.16 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1938, allocations: 0 / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003086/0.1942, allocations: 28 kB / 0.9828 GB, free: 23.59 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001598/0.1943, allocations: 127.2 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.1944, allocations: 51.92 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1945, allocations: 0 / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.546e-05/0.1945, allocations: 23.98 kB / 0.983 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.1946, allocations: 1.312 kB / 0.983 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002349/0.1949, allocations: 129 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.207e-05/0.195, allocations: 0.6848 MB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.304e-05/0.195, allocations: 4 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.342e-05/0.195, allocations: 7.438 kB / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.195, allocations: 0 / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of Templates: time 0.002367/0.1974, allocations: 0.6374 MB / 0.9844 GB, free: 21.91 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)