Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001094/0.001094, allocations: 98.38 kB / 15.05 MB, free: 1.105 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.0009554/0.0009554, allocations: 177.3 kB / 15.94 MB, free: 228 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.327/1.327, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.01/1.01, allocations: 143.3 MB / 434.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.000352, allocations: 8 kB / 0.5159 GB, free: 11.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1812, allocations: 83.41 MB / 0.5973 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002473/0.1837, allocations: 0.9628 MB / 0.5983 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.1853, allocations: 451.3 kB / 0.5987 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.977e-05/0.1854, allocations: 0 / 0.5987 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.099e-05/0.1854, allocations: 4 kB / 0.5987 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.388e-05/0.1855, allocations: 0 / 0.5987 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005279/0.186, allocations: 39.89 kB / 0.5987 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.165e-05/0.1861, allocations: 7.984 kB / 0.5987 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.178e-05/0.1862, allocations: 3.984 kB / 0.5987 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.675e-05/0.1863, allocations: 4 kB / 0.5988 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.256e-05/0.1863, allocations: 7.984 kB / 0.5988 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.1864, allocations: 0 / 0.5988 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002574/0.1866, allocations: 35.97 kB / 0.5988 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.078e-05/0.1867, allocations: 15.92 kB / 0.5988 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.181e-05/0.1868, allocations: 37.58 kB / 0.5988 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.187, allocations: 39.94 kB / 0.5989 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.187, allocations: 0 / 0.5989 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.325e-06/0.187, allocations: 0 / 0.5989 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.187, allocations: 0 / 0.5989 GB, free: 6.266 MB / 0.4981 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.0005498/0.1876, allocations: 337.6 kB / 0.5992 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/0.1876, allocations: 8.031 kB / 0.5992 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.169e-05/0.1877, allocations: 3.953 kB / 0.5992 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.1879, allocations: 167.1 kB / 0.5994 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.1879, allocations: 0 / 0.5994 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.1879, allocations: 3.984 kB / 0.5994 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.1881, allocations: 49.69 kB / 0.5994 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1881, allocations: 3.938 kB / 0.5994 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1882, allocations: 0 / 0.5994 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1882, allocations: 0 / 0.5994 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.84e-05/0.1882, allocations: 8 kB / 0.5994 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002571/0.1885, allocations: 161.7 kB / 0.5996 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.436e-05/0.1886, allocations: 34.56 kB / 0.5996 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.1886, allocations: 0 / 0.5996 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.1888, allocations: 67.44 kB / 0.5997 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.1889, allocations: 0 / 0.5997 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0003459/0.1892, allocations: 170.8 kB / 0.5999 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/0.1893, allocations: 59.39 kB / 0.5999 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.188e-05/0.1893, allocations: 101.8 kB / 0.6 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.1894, allocations: 29.7 kB / 0.6 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/0.1894, allocations: 80.14 kB / 0.6001 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.1895, allocations: 23.81 kB / 0.6001 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.1895, allocations: 4 kB / 0.6001 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1896, allocations: 314.8 kB / 0.6004 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.045e-05/0.1897, allocations: 19.98 kB / 0.6005 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.181e-05/0.1898, allocations: 73.92 kB / 0.6005 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.163e-05/0.1899, allocations: 28 kB / 0.6006 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1899, allocations: 0 / 0.6006 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002364/0.1901, allocations: 117.4 kB / 0.6007 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.1902, allocations: 7.938 kB / 0.6007 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1902, allocations: 4 kB / 0.6007 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.1902, allocations: 4 kB / 0.6007 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.1903, allocations: 19.92 kB / 0.6007 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.1903, allocations: 4 kB / 0.6007 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.361e-05/0.1904, allocations: 0 / 0.6007 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.1904, allocations: 4 kB / 0.6007 GB, free: 4.141 MB / 0.4981 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 0.0001409/0.1906, allocations: 134.9 kB / 0.6008 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.1906, allocations: 11.84 kB / 0.6008 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.1906, allocations: 3.969 kB / 0.6009 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1906, allocations: 0 / 0.6009 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1906, allocations: 0 / 0.6009 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.1907, allocations: 3.984 kB / 0.6009 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.1908, allocations: 161.6 kB / 0.601 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1908, allocations: 0 / 0.601 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.119e-06/0.1909, allocations: 0 / 0.601 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1909, allocations: 4 kB / 0.601 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.1909, allocations: 8 kB / 0.601 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.1909, allocations: 0 / 0.601 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1909, allocations: 0 / 0.601 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.1911, allocations: 105.1 kB / 0.6011 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.417e-05/0.1912, allocations: 81.11 kB / 0.6012 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.1912, allocations: 3.938 kB / 0.6012 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.777e-05/0.1912, allocations: 4 kB / 0.6012 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.1913, allocations: 8.016 kB / 0.6012 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.1913, allocations: 4 kB / 0.6012 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.229e-05/0.1914, allocations: 75.28 kB / 0.6013 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1914, allocations: 0 / 0.6013 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003614/0.1917, allocations: 24 kB / 0.6013 GB, free: 3.422 MB / 0.4981 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.0002577/0.192, allocations: 122.9 kB / 0.6014 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.1922, allocations: 59.91 kB / 0.6015 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1922, allocations: 0 / 0.6015 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.218e-05/0.1922, allocations: 20 kB / 0.6015 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.1924, allocations: 5.828 kB / 0.6015 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.1927, allocations: 124.5 kB / 0.6016 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.193, allocations: 0.6809 MB / 0.6023 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.538e-05/0.1931, allocations: 12.48 kB / 0.6023 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.811e-05/0.1931, allocations: 7.438 kB / 0.6023 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.1931, allocations: 0 / 0.6023 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.00367/0.1968, allocations: 0.6329 MB / 0.6029 GB, free: 1.75 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) Environment - environmentSimulation: