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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001284/0.001284, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 198.1 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9967/0.9967, allocations: 143 MB / 433.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.91 kB / 0.5142 GB, free: 12.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1862, allocations: 82.03 MB / 0.5943 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.00308/0.1893, allocations: 1.306 MB / 0.5956 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009549/0.1903, allocations: 482.9 kB / 0.596 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.762e-05/0.1904, allocations: 8 kB / 0.596 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.104e-05/0.1904, allocations: 0 / 0.596 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.455e-05/0.1905, allocations: 3.938 kB / 0.5961 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.1908, allocations: 43.94 kB / 0.5961 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.744e-05/0.1909, allocations: 19.97 kB / 0.5961 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.191, allocations: 4 kB / 0.5961 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.191, allocations: 15.86 kB / 0.5961 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.036e-05/0.191, allocations: 7.938 kB / 0.5961 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.1911, allocations: 0 / 0.5961 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.1912, allocations: 67.86 kB / 0.5962 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.1913, allocations: 15.97 kB / 0.5962 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.02e-05/0.1913, allocations: 11.94 kB / 0.5962 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.1915, allocations: 43.92 kB / 0.5963 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1915, allocations: 4 kB / 0.5963 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1915, allocations: 0 / 0.5963 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.1915, allocations: 0 / 0.5963 GB, free: 8.008 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.0004305/0.1919, allocations: 335.7 kB / 0.5966 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.192, allocations: 12.03 kB / 0.5966 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.192, allocations: 0.9375 kB / 0.5966 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.1921, allocations: 164.4 kB / 0.5968 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1922, allocations: 4.375 kB / 0.5968 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.1922, allocations: 4.375 kB / 0.5968 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.1923, allocations: 57.98 kB / 0.5968 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1923, allocations: 0 / 0.5968 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1923, allocations: 0 / 0.5968 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1923, allocations: 0 / 0.5968 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.942e-05/0.1924, allocations: 11.94 kB / 0.5968 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.1925, allocations: 157.7 kB / 0.597 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.904e-05/0.1926, allocations: 30.64 kB / 0.597 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.1926, allocations: 24.94 kB / 0.597 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.1926, allocations: 0 / 0.597 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.1928, allocations: 71.27 kB / 0.5971 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1928, allocations: 4 kB / 0.5971 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0002194/0.193, allocations: 89.67 kB / 0.5972 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.1931, allocations: 63.42 kB / 0.5973 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.225e-05/0.1932, allocations: 93.77 kB / 0.5974 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.1932, allocations: 37.64 kB / 0.5974 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.879e-05/0.1932, allocations: 80.14 kB / 0.5975 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.1933, allocations: 19.83 kB / 0.5975 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.1933, allocations: 25.72 kB / 0.5975 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1934, allocations: 318.8 kB / 0.5978 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.18e-05/0.1935, allocations: 23.98 kB / 0.5978 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.47e-05/0.1936, allocations: 65.94 kB / 0.5979 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.1937, allocations: 101.9 kB / 0.598 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1937, allocations: 0 / 0.598 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001528/0.1939, allocations: 113.5 kB / 0.5981 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.1939, allocations: 13.12 kB / 0.5981 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.1939, allocations: 4.219 kB / 0.5981 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1939, allocations: 11.94 kB / 0.5981 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.489e-05/0.194, allocations: 11.98 kB / 0.5981 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.194, allocations: 4 kB / 0.5981 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.221e-05/0.1941, allocations: 0 / 0.5981 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.1941, allocations: 8 kB / 0.5982 GB, free: 5.82 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 (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 9.282e-05/0.1942, allocations: 128.8 kB / 0.5983 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.1942, allocations: 15.84 kB / 0.5983 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.1942, allocations: 7.969 kB / 0.5983 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1942, allocations: 0 / 0.5983 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1942, allocations: 0 / 0.5983 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1942, allocations: 0 / 0.5983 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.1944, allocations: 153.6 kB / 0.5984 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1944, allocations: 0 / 0.5984 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-06/0.1944, allocations: 0 / 0.5984 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.1944, allocations: 3.938 kB / 0.5984 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1944, allocations: 4 kB / 0.5985 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1944, allocations: 0 / 0.5985 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1944, allocations: 0 / 0.5985 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.1945, allocations: 117.2 kB / 0.5986 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.1946, allocations: 89.03 kB / 0.5986 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.1946, allocations: 7.984 kB / 0.5987 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.2e-05/0.1946, allocations: 0 / 0.5987 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.1947, allocations: 0 / 0.5987 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.1947, allocations: 12 kB / 0.5987 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.46e-05/0.1947, allocations: 79.22 kB / 0.5987 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1947, allocations: 0 / 0.5987 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002393/0.195, allocations: 28.03 kB / 0.5988 GB, free: 5.09 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 (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.0001887/0.1952, allocations: 119.2 kB / 0.5989 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.1953, allocations: 59.91 kB / 0.5989 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1953, allocations: 0 / 0.5989 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.561e-05/0.1954, allocations: 19.92 kB / 0.599 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.1955, allocations: 7.031 kB / 0.599 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/0.1958, allocations: 159.9 kB / 0.5991 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.1961, allocations: 0.6809 MB / 0.5998 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.43e-05/0.1961, allocations: 7.438 kB / 0.5998 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1961, allocations: 0 / 0.5998 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.00222/0.1983, allocations: 0.8101 MB / 0.6006 GB, free: 3.176 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (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)