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.0007719/0.0007719, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.0008672/0.0008673, allocations: 177.2 kB / 16.27 MB, free: 6.664 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.9506/0.9506, allocations: 143.2 MB / 434.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003321, allocations: 19.98 kB / 0.5164 GB, free: 11.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1673, allocations: 83.4 MB / 0.5979 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001398/0.1687, allocations: 0.9744 MB / 0.5988 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008043/0.1695, allocations: 482.9 kB / 0.5993 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.221e-05/0.1696, allocations: 0 / 0.5993 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.1696, allocations: 0 / 0.5993 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.858e-05/0.1697, allocations: 0 / 0.5993 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.1699, allocations: 47.88 kB / 0.5993 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.227e-05/0.17, allocations: 19.98 kB / 0.5994 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.738e-05/0.17, allocations: 0 / 0.5994 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.164e-05/0.1701, allocations: 11.92 kB / 0.5994 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.567e-05/0.1701, allocations: 7.984 kB / 0.5994 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.464e-06/0.1701, allocations: 4 kB / 0.5994 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.1703, allocations: 67.86 kB / 0.5995 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.1703, allocations: 7.984 kB / 0.5995 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.1704, allocations: 37.64 kB / 0.5995 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.1705, allocations: 63.89 kB / 0.5996 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1705, allocations: 0 / 0.5996 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1705, allocations: 0 / 0.5996 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.1706, allocations: 0 / 0.5996 GB, free: 5.957 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.0003564/0.1709, allocations: 335.7 kB / 0.5999 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.171, allocations: 12.03 kB / 0.5999 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.171, allocations: 0.9375 kB / 0.5999 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.688e-05/0.1711, allocations: 176.2 kB / 0.6001 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1711, allocations: 384 / 0.6001 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.1711, allocations: 8.375 kB / 0.6001 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.1712, allocations: 46 kB / 0.6001 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.1713, allocations: 0 / 0.6001 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1713, allocations: 0 / 0.6001 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1713, allocations: 0 / 0.6001 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.789e-05/0.1713, allocations: 12 kB / 0.6001 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.1715, allocations: 157.7 kB / 0.6003 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.369e-05/0.1715, allocations: 34.56 kB / 0.6003 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.376e-05/0.1716, allocations: 16.95 kB / 0.6003 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.1716, allocations: 4 kB / 0.6003 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.1718, allocations: 71.33 kB / 0.6004 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 2.865e-06/0.1718, allocations: 4 kB / 0.6004 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0002134/0.172, allocations: 97.59 kB / 0.6005 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.1721, allocations: 59.41 kB / 0.6005 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.165e-05/0.1721, allocations: 93.77 kB / 0.6006 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.1722, allocations: 33.7 kB / 0.6007 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/0.1722, allocations: 80.14 kB / 0.6007 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.1722, allocations: 23.77 kB / 0.6008 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.1723, allocations: 17.72 kB / 0.6008 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.99e-05/0.1724, allocations: 314.8 kB / 0.6011 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.586e-05/0.1724, allocations: 24.02 kB / 0.6011 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.33e-05/0.1725, allocations: 66 kB / 0.6012 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.1726, allocations: 101.9 kB / 0.6013 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.1726, allocations: 0 / 0.6013 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001467/0.1728, allocations: 109.5 kB / 0.6014 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1728, allocations: 20.14 kB / 0.6014 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1728, allocations: 0 / 0.6014 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1728, allocations: 4 kB / 0.6014 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.955e-05/0.1729, allocations: 15.94 kB / 0.6014 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1729, allocations: 4 kB / 0.6014 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.207e-05/0.1729, allocations: 8 kB / 0.6014 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.173, allocations: 4 kB / 0.6014 GB, free: 3.777 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 8.666e-05/0.173, allocations: 125.1 kB / 0.6015 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.1731, allocations: 11.84 kB / 0.6016 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.841e-05/0.1731, allocations: 7.906 kB / 0.6016 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1731, allocations: 0 / 0.6016 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1731, allocations: 0 / 0.6016 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1731, allocations: 3.984 kB / 0.6016 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.1732, allocations: 157.6 kB / 0.6017 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1732, allocations: 3.938 kB / 0.6017 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-06/0.1732, allocations: 4 kB / 0.6017 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1733, allocations: 3.938 kB / 0.6017 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.1733, allocations: 0 / 0.6017 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1733, allocations: 0 / 0.6017 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1733, allocations: 4 kB / 0.6017 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.1734, allocations: 113.3 kB / 0.6018 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.1734, allocations: 81.05 kB / 0.6019 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.1735, allocations: 7.984 kB / 0.6019 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.185e-05/0.1735, allocations: 0 / 0.6019 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.1735, allocations: 0 / 0.6019 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1735, allocations: 4 kB / 0.6019 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.983e-05/0.1736, allocations: 79.31 kB / 0.602 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1736, allocations: 0 / 0.602 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002164/0.1738, allocations: 28 kB / 0.602 GB, free: 3.059 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.0001848/0.174, allocations: 136.2 kB / 0.6022 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.1741, allocations: 51.92 kB / 0.6022 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1741, allocations: 448 / 0.6022 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.375e-05/0.1742, allocations: 27.98 kB / 0.6022 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.1743, allocations: 3.938 kB / 0.6022 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.1746, allocations: 128.5 kB / 0.6024 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.1748, allocations: 0.6809 MB / 0.603 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.103e-05/0.1749, allocations: 4 kB / 0.603 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.381e-05/0.1749, allocations: 7.438 kB / 0.603 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1749, allocations: 0 / 0.603 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of Templates: time 0.002811/0.1777, allocations: 0.6473 MB / 0.6037 GB, free: 1.367 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)