Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001506/0.001506, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001803/0.001803, allocations: 191.1 kB / 16.25 MB, free: 6.625 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.3/1.3, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002091/0.002091, allocations: 282.9 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9447/0.9447, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002498/0.002498, allocations: 86.97 kB / 0.5947 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1614, allocations: 86.98 MB / 0.6797 GB, free: 1.004 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002422/0.1638, allocations: 1.303 MB / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008187/0.1647, allocations: 489.2 kB / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.525e-05/0.1647, allocations: 0 / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/0.1647, allocations: 0 / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.076e-05/0.1648, allocations: 8.734 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.1651, allocations: 40.55 kB / 0.6815 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.644e-05/0.1652, allocations: 14.45 kB / 0.6815 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.1652, allocations: 4 kB / 0.6815 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.941e-05/0.1653, allocations: 3.984 kB / 0.6815 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.75e-05/0.1653, allocations: 15.98 kB / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-06/0.1653, allocations: 0 / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.1655, allocations: 63.86 kB / 0.6816 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.536e-05/0.1655, allocations: 11.98 kB / 0.6816 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/0.1656, allocations: 14 kB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.1657, allocations: 64.06 kB / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1657, allocations: 0 / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1657, allocations: 3.938 kB / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1657, allocations: 3.938 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB 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.0003305/0.1661, allocations: 333.9 kB / 0.682 GB, free: 14.61 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.1661, allocations: 8.031 kB / 0.682 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.1662, allocations: 4.938 kB / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.837e-05/0.1663, allocations: 164.4 kB / 0.6821 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1663, allocations: 384 / 0.6821 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.1663, allocations: 9.25 kB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.602e-05/0.1664, allocations: 49.98 kB / 0.6822 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.1664, allocations: 0.7188 kB / 0.6822 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.1664, allocations: 0.625 kB / 0.6822 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.1664, allocations: 0 / 0.6822 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.587e-05/0.1665, allocations: 17.25 kB / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.1666, allocations: 161.5 kB / 0.6824 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.307e-05/0.1667, allocations: 27.39 kB / 0.6824 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.1667, allocations: 24.94 kB / 0.6824 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.673e-06/0.1667, allocations: 4 kB / 0.6824 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/0.1668, allocations: 67.34 kB / 0.6825 GB, free: 13.97 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.1669, allocations: 0 / 0.6825 GB, free: 13.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001958/0.1671, allocations: 97.61 kB / 0.6826 GB, free: 13.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.1671, allocations: 59.39 kB / 0.6826 GB, free: 13.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.733e-05/0.1671, allocations: 89.86 kB / 0.6827 GB, free: 13.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1672, allocations: 37.73 kB / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/0.1672, allocations: 80.14 kB / 0.6828 GB, free: 13.58 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.1672, allocations: 15.81 kB / 0.6828 GB, free: 13.56 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.1673, allocations: 29.7 kB / 0.6829 GB, free: 13.53 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.845e-05/0.1674, allocations: 314.8 kB / 0.6832 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.953e-05/0.1674, allocations: 19.98 kB / 0.6832 GB, free: 13.19 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.948e-05/0.1675, allocations: 77.92 kB / 0.6833 GB, free: 13.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.1676, allocations: 97.88 kB / 0.6834 GB, free: 12.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1676, allocations: 0 / 0.6834 GB, free: 12.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001636/0.1678, allocations: 117.4 kB / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1678, allocations: 7.938 kB / 0.6835 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1678, allocations: 4 kB / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.1678, allocations: 0 / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.001e-05/0.1679, allocations: 23.92 kB / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.1679, allocations: 4.219 kB / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.087e-05/0.168, allocations: 4 kB / 0.6835 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.168, allocations: 4 kB / 0.6835 GB, free: 12.81 MB / 494.1 MB 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.626e-05/0.1681, allocations: 130.4 kB / 0.6836 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.1681, allocations: 7.922 kB / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.739e-05/0.1681, allocations: 3.969 kB / 0.6837 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1681, allocations: 3.938 kB / 0.6837 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.1682, allocations: 4 kB / 0.6837 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1682, allocations: 4 kB / 0.6837 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.1683, allocations: 161.6 kB / 0.6838 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.1683, allocations: 4 kB / 0.6838 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-06/0.1683, allocations: 0 / 0.6838 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1683, allocations: 3.938 kB / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.1683, allocations: 0 / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1683, allocations: 0 / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1683, allocations: 4 kB / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.1685, allocations: 105.1 kB / 0.6839 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.1685, allocations: 81.05 kB / 0.684 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.1685, allocations: 4 kB / 0.684 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.424e-05/0.1685, allocations: 0 / 0.684 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/0.1686, allocations: 11.92 kB / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.1686, allocations: 0 / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.238e-05/0.1686, allocations: 75.28 kB / 0.6841 GB, free: 12.12 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1686, allocations: 0 / 0.6841 GB, free: 12.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.1688, allocations: 24 kB / 0.6841 GB, free: 12.1 MB / 494.1 MB 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.0001794/0.169, allocations: 123.3 kB / 0.6842 GB, free: 11.97 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.1692, allocations: 55.91 kB / 0.6843 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1692, allocations: 3.938 kB / 0.6843 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.067e-05/0.1692, allocations: 20 kB / 0.6843 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.1693, allocations: 11.92 kB / 0.6843 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.1696, allocations: 133.2 kB / 0.6844 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.1698, allocations: 0.6768 MB / 0.6851 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.03e-05/0.1699, allocations: 7.906 kB / 0.6851 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.255e-05/0.1699, allocations: 11.44 kB / 0.6851 GB, free: 11 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1699, allocations: 0 / 0.6851 GB, free: 11 MB / 494.1 MB Notification: Performance of Templates: time 0.002608/0.1725, allocations: 0.6605 MB / 0.6858 GB, free: 10.39 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)