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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008274/0.0008274, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0008677/0.0008678, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001675/0.001676, allocations: 282.7 kB / 291.4 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9401/0.9401, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004268/0.0004268, allocations: 12.31 kB / 0.5981 GB, free: 28.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1773, allocations: 88.55 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001121/0.1785, allocations: 0.9648 MB / 0.6855 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006523/0.1792, allocations: 443 kB / 0.6859 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.049e-05/0.1792, allocations: 4 kB / 0.6859 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.1792, allocations: 0 / 0.6859 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.208e-05/0.1793, allocations: 3.984 kB / 0.6859 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.1795, allocations: 42.17 kB / 0.6859 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.906e-05/0.1796, allocations: 15.98 kB / 0.686 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.776e-05/0.1797, allocations: 0 / 0.686 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.308e-05/0.1797, allocations: 11.97 kB / 0.686 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.427e-05/0.1797, allocations: 11.94 kB / 0.686 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.015e-06/0.1797, allocations: 0 / 0.686 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1799, allocations: 40.48 kB / 0.686 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.663e-05/0.1799, allocations: 7.984 kB / 0.686 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.1799, allocations: 34.2 kB / 0.6861 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.997e-05/0.18, allocations: 50.06 kB / 0.6861 GB, free: 13.81 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.18, allocations: 0 / 0.6861 GB, free: 13.81 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.18, allocations: 0 / 0.6861 GB, free: 13.81 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.715e-06/0.18, allocations: 0 / 0.6861 GB, free: 13.81 MB / 494.1 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.0002769/0.1803, allocations: 325.9 kB / 0.6864 GB, free: 13.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.1804, allocations: 8.031 kB / 0.6864 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/0.1804, allocations: 8.641 kB / 0.6864 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.436e-05/0.1805, allocations: 163.1 kB / 0.6866 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1805, allocations: 5.188 kB / 0.6866 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.1805, allocations: 0 / 0.6866 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.452e-05/0.1806, allocations: 55.39 kB / 0.6866 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.1806, allocations: 0 / 0.6866 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1806, allocations: 3.984 kB / 0.6866 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1806, allocations: 4 kB / 0.6867 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.518e-05/0.1807, allocations: 15.89 kB / 0.6867 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001229/0.1808, allocations: 162.9 kB / 0.6868 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.366e-05/0.1809, allocations: 31.95 kB / 0.6869 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.481e-05/0.1809, allocations: 20.94 kB / 0.6869 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-06/0.1809, allocations: 0 / 0.6869 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000119/0.181, allocations: 66.34 kB / 0.6869 GB, free: 12.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 2.765e-06/0.181, allocations: 0 / 0.6869 GB, free: 12.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001713/0.1812, allocations: 93.61 kB / 0.687 GB, free: 12.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.1813, allocations: 59.39 kB / 0.6871 GB, free: 12.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.67e-05/0.1813, allocations: 95.45 kB / 0.6872 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.1813, allocations: 29.7 kB / 0.6872 GB, free: 12.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.557e-05/0.1813, allocations: 84.09 kB / 0.6873 GB, free: 12.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.1814, allocations: 19.8 kB / 0.6873 GB, free: 12.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.1814, allocations: 0.5625 kB / 0.6873 GB, free: 12.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.1815, allocations: 323.7 kB / 0.6876 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.495e-05/0.1815, allocations: 19.98 kB / 0.6876 GB, free: 12.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.295e-05/0.1816, allocations: 70.28 kB / 0.6877 GB, free: 11.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.425e-05/0.1817, allocations: 36.58 kB / 0.6877 GB, free: 11.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1817, allocations: 0 / 0.6877 GB, free: 11.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001481/0.1818, allocations: 113.4 kB / 0.6878 GB, free: 11.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1818, allocations: 4 kB / 0.6878 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1818, allocations: 7.938 kB / 0.6878 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1819, allocations: 0 / 0.6878 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.287e-05/0.1819, allocations: 20.14 kB / 0.6879 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.1819, allocations: 4 kB / 0.6879 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.468e-05/0.182, allocations: 8 kB / 0.6879 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.182, allocations: 7.953 kB / 0.6879 GB, free: 11.76 MB / 494.1 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 ($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 8.058e-05/0.1821, allocations: 125.7 kB / 0.688 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-06/0.1821, allocations: 0 / 0.688 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.649e-05/0.1821, allocations: 7.953 kB / 0.688 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1821, allocations: 4 kB / 0.688 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1821, allocations: 0 / 0.688 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1821, allocations: 4 kB / 0.688 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.1822, allocations: 161.5 kB / 0.6882 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1823, allocations: 3.938 kB / 0.6882 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-06/0.1823, allocations: 0 / 0.6882 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.1823, allocations: 0 / 0.6882 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.1823, allocations: 0 / 0.6882 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1823, allocations: 4 kB / 0.6882 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1823, allocations: 0 / 0.6882 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.1824, allocations: 109.1 kB / 0.6883 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.1825, allocations: 77.11 kB / 0.6884 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.1825, allocations: 4 kB / 0.6884 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.102e-05/0.1825, allocations: 0 / 0.6884 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.1825, allocations: 7.938 kB / 0.6884 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.1825, allocations: 3.984 kB / 0.6884 GB, free: 11.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.225e-05/0.1826, allocations: 75.28 kB / 0.6884 GB, free: 11.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1826, allocations: 0 / 0.6884 GB, free: 11.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002089/0.1828, allocations: 28 kB / 0.6885 GB, free: 11.06 MB / 494.1 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 (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.0001585/0.1829, allocations: 124 kB / 0.6886 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.1831, allocations: 55.91 kB / 0.6886 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.1831, allocations: 0 / 0.6886 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.621e-05/0.1831, allocations: 12 kB / 0.6887 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.1832, allocations: 15.89 kB / 0.6887 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002165/0.1835, allocations: 125.1 kB / 0.6888 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.1837, allocations: 0.6809 MB / 0.6895 GB, free: 9.996 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.79e-05/0.1837, allocations: 4 kB / 0.6895 GB, free: 9.992 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.424e-05/0.1837, allocations: 11.44 kB / 0.6895 GB, free: 9.98 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1837, allocations: 0 / 0.6895 GB, free: 9.98 MB / 494.1 MB Notification: Performance of Templates: time 0.002428/0.1861, allocations: 0.6398 MB / 0.6901 GB, free: 9.387 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)