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.001464/0.001464, allocations: 105.1 kB / 16.41 MB, free: 6.414 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.001449/0.001449, allocations: 191 kB / 17.34 MB, free: 5.691 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.8757/0.8757, allocations: 143.1 MB / 434.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 64.78 kB / 0.5963 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1644, allocations: 82.03 MB / 0.6764 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002226/0.1666, allocations: 1.247 MB / 0.6776 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008538/0.1675, allocations: 491.1 kB / 0.6781 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.848e-05/0.1675, allocations: 0 / 0.6781 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.351e-05/0.1675, allocations: 0 / 0.6781 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.494e-05/0.1676, allocations: 4 kB / 0.6781 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.168, allocations: 55.86 kB / 0.6781 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.522e-05/0.168, allocations: 7.984 kB / 0.6781 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/0.168, allocations: 8 kB / 0.6781 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.699e-05/0.1681, allocations: 11.92 kB / 0.6781 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.605e-05/0.1681, allocations: 4 kB / 0.6781 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.864e-06/0.1681, allocations: 0 / 0.6781 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.1683, allocations: 67.86 kB / 0.6782 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.904e-05/0.1683, allocations: 19.91 kB / 0.6782 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.1684, allocations: 4 kB / 0.6782 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.1685, allocations: 67.78 kB / 0.6783 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1685, allocations: 0 / 0.6783 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.944e-06/0.1685, allocations: 0 / 0.6783 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.1685, allocations: 0 / 0.6783 GB, free: 8.34 MB / 0.5137 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.000411/0.1689, allocations: 339.4 kB / 0.6786 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.169, allocations: 12.03 kB / 0.6786 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.169, allocations: 0.9375 kB / 0.6786 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1691, allocations: 164.4 kB / 0.6788 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.1691, allocations: 4.375 kB / 0.6788 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.1691, allocations: 8.312 kB / 0.6788 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.1693, allocations: 50 kB / 0.6788 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.1693, allocations: 0 / 0.6788 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.1693, allocations: 0 / 0.6788 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1693, allocations: 4 kB / 0.6788 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.88e-05/0.1693, allocations: 12 kB / 0.6789 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.1695, allocations: 153.7 kB / 0.679 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.486e-05/0.1695, allocations: 30.62 kB / 0.679 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.572e-05/0.1696, allocations: 20.77 kB / 0.6791 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-06/0.1696, allocations: 0 / 0.6791 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.1697, allocations: 75.33 kB / 0.6791 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.1697, allocations: 0 / 0.6791 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0002109/0.1699, allocations: 93.64 kB / 0.6792 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.1699, allocations: 67.33 kB / 0.6793 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.134e-05/0.17, allocations: 89.86 kB / 0.6794 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.17, allocations: 33.7 kB / 0.6794 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.023e-05/0.1701, allocations: 84.12 kB / 0.6795 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.1701, allocations: 23.83 kB / 0.6795 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.1701, allocations: 25.75 kB / 0.6795 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1703, allocations: 322.8 kB / 0.6798 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.04e-05/0.1703, allocations: 19.98 kB / 0.6799 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-05/0.1704, allocations: 64.62 kB / 0.6799 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.1705, allocations: 101.9 kB / 0.68 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1705, allocations: 0 / 0.68 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000155/0.1707, allocations: 113.5 kB / 0.6801 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1707, allocations: 7.938 kB / 0.6801 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1707, allocations: 7.984 kB / 0.6801 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1707, allocations: 0 / 0.6801 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.772e-05/0.1708, allocations: 12 kB / 0.6801 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1708, allocations: 3.938 kB / 0.6801 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.546e-05/0.1708, allocations: 11.95 kB / 0.6802 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.1708, allocations: 4 kB / 0.6802 GB, free: 6.156 MB / 0.5137 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 0.0001077/0.1709, allocations: 126.8 kB / 0.6803 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.1709, allocations: 3.938 kB / 0.6803 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.923e-05/0.171, allocations: 3.969 kB / 0.6803 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.171, allocations: 4 kB / 0.6803 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.171, allocations: 4 kB / 0.6803 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.171, allocations: 0 / 0.6803 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.1711, allocations: 161.6 kB / 0.6805 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1711, allocations: 0 / 0.6805 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.026e-06/0.1711, allocations: 0 / 0.6805 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1711, allocations: 7.938 kB / 0.6805 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.1711, allocations: 3.984 kB / 0.6805 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1711, allocations: 7.938 kB / 0.6805 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1711, allocations: 0 / 0.6805 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.1713, allocations: 105.3 kB / 0.6806 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.1713, allocations: 84.98 kB / 0.6807 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.1713, allocations: 7.984 kB / 0.6807 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.129e-05/0.1713, allocations: 0 / 0.6807 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.1714, allocations: 8.031 kB / 0.6807 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1714, allocations: 3.938 kB / 0.6807 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.056e-05/0.1714, allocations: 79.28 kB / 0.6807 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1714, allocations: 0 / 0.6807 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002221/0.1716, allocations: 20 kB / 0.6808 GB, free: 5.441 MB / 0.5137 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.0001913/0.1718, allocations: 128.3 kB / 0.6809 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.1719, allocations: 63.91 kB / 0.681 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.1719, allocations: 0 / 0.681 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.196e-05/0.172, allocations: 15.98 kB / 0.681 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.1721, allocations: 4 kB / 0.681 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002839/0.1724, allocations: 143.2 kB / 0.6811 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.1727, allocations: 0.6768 MB / 0.6818 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.691e-05/0.1727, allocations: 11.44 kB / 0.6818 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.1727, allocations: 448 / 0.6818 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of Templates: time 0.002307/0.175, allocations: 0.844 MB / 0.6826 GB, free: 3.504 MB / 0.5137 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)