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.001036/0.001036, allocations: 108 kB / 15.6 MB, free: 132 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.001103/0.001103, allocations: 195.8 kB / 16.54 MB, free: 6.672 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.289/1.289, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.9519/0.9519, allocations: 143 MB / 433.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.89 kB / 0.5142 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1579, allocations: 82.04 MB / 0.5943 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002506/0.1605, allocations: 1.232 MB / 0.5955 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009466/0.1615, allocations: 490.8 kB / 0.596 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.058e-05/0.1615, allocations: 0 / 0.596 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.348e-05/0.1615, allocations: 4 kB / 0.596 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.932e-05/0.1616, allocations: 7.984 kB / 0.596 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.162, allocations: 47.81 kB / 0.5961 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.081e-05/0.1621, allocations: 11.98 kB / 0.5961 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.1622, allocations: 0 / 0.5961 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.599e-05/0.1622, allocations: 11.94 kB / 0.5961 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.912e-05/0.1623, allocations: 11.97 kB / 0.5961 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.1623, allocations: 0 / 0.5961 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.1625, allocations: 67.86 kB / 0.5962 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.1626, allocations: 15.98 kB / 0.5962 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/0.1626, allocations: 7.938 kB / 0.5962 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.1628, allocations: 55.86 kB / 0.5962 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1628, allocations: 0 / 0.5962 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.923e-06/0.1628, allocations: 0 / 0.5962 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.1628, allocations: 0 / 0.5962 GB, free: 7.586 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.0004745/0.1633, allocations: 343.7 kB / 0.5966 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.1634, allocations: 8.031 kB / 0.5966 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.275e-05/0.1634, allocations: 8.875 kB / 0.5966 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.1636, allocations: 164.4 kB / 0.5967 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.1636, allocations: 4.312 kB / 0.5967 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.1636, allocations: 8.375 kB / 0.5967 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.1638, allocations: 50 kB / 0.5968 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1638, allocations: 0 / 0.5968 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1638, allocations: 0 / 0.5968 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1638, allocations: 7.984 kB / 0.5968 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.434e-05/0.1638, allocations: 11.94 kB / 0.5968 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.164, allocations: 153.7 kB / 0.597 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.164e-05/0.1641, allocations: 34.64 kB / 0.597 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.133e-05/0.1641, allocations: 20.94 kB / 0.597 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.1642, allocations: 0 / 0.597 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.1643, allocations: 71.33 kB / 0.5971 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 2.675e-06/0.1644, allocations: 0 / 0.5971 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0002197/0.1646, allocations: 101.6 kB / 0.5972 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.1646, allocations: 59.44 kB / 0.5972 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.196e-05/0.1647, allocations: 97.75 kB / 0.5973 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.1647, allocations: 33.7 kB / 0.5974 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.1648, allocations: 80.14 kB / 0.5974 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.1648, allocations: 15.84 kB / 0.5974 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.1648, allocations: 29.7 kB / 0.5975 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.165, allocations: 314.8 kB / 0.5978 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.373e-05/0.165, allocations: 19.98 kB / 0.5978 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.37e-05/0.1651, allocations: 77.92 kB / 0.5979 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.1652, allocations: 93.94 kB / 0.598 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1652, allocations: 0 / 0.598 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001669/0.1654, allocations: 117.4 kB / 0.5981 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1654, allocations: 7.938 kB / 0.5981 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1654, allocations: 4.219 kB / 0.5981 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1654, allocations: 4 kB / 0.5981 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.295e-05/0.1655, allocations: 23.92 kB / 0.5981 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.1656, allocations: 0 / 0.5981 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.824e-05/0.1656, allocations: 4 kB / 0.5981 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.1656, allocations: 4 kB / 0.5981 GB, free: 5.387 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.506e-05/0.1657, allocations: 122.5 kB / 0.5982 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.1657, allocations: 7.844 kB / 0.5982 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.1658, allocations: 11.95 kB / 0.5983 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.1658, allocations: 7.938 kB / 0.5983 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1658, allocations: 0 / 0.5983 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1658, allocations: 3.984 kB / 0.5983 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.1659, allocations: 157.6 kB / 0.5984 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1659, allocations: 3.938 kB / 0.5984 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-06/0.1659, allocations: 0 / 0.5984 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1659, allocations: 3.938 kB / 0.5984 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.166, allocations: 0 / 0.5984 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.166, allocations: 4 kB / 0.5984 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.166, allocations: 0 / 0.5984 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.1661, allocations: 109 kB / 0.5985 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.1662, allocations: 81.05 kB / 0.5986 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.1662, allocations: 8 kB / 0.5986 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.331e-05/0.1662, allocations: 0 / 0.5986 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/0.1662, allocations: 4 kB / 0.5986 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.1663, allocations: 3.984 kB / 0.5986 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.076e-05/0.1663, allocations: 79.28 kB / 0.5987 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1663, allocations: 0 / 0.5987 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002238/0.1665, allocations: 24.03 kB / 0.5987 GB, free: 4.668 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.0001834/0.1667, allocations: 127.2 kB / 0.5988 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.1669, allocations: 55.91 kB / 0.5989 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.1669, allocations: 0 / 0.5989 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.389e-05/0.1669, allocations: 20 kB / 0.5989 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.1671, allocations: 8.438 kB / 0.5989 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.1674, allocations: 121.4 kB / 0.599 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.1677, allocations: 0.6768 MB / 0.5997 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.819e-05/0.1678, allocations: 7.984 kB / 0.5997 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.1678, allocations: 11.44 kB / 0.5997 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1678, allocations: 0 / 0.5997 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of Templates: time 0.002926/0.1707, allocations: 0.6749 MB / 0.6004 GB, free: 2.965 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)