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.001343/0.001343, allocations: 102 kB / 16.27 MB, free: 5.906 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.001268/0.001268, allocations: 192.2 kB / 17.2 MB, free: 5.539 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.35/1.35, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002422/0.002423, allocations: 280.2 kB / 291.3 MB, free: 14.56 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9619/0.9619, allocations: 169.2 MB / 0.4988 GB, free: 4.523 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 98.75 kB / 0.5959 GB, free: 15.09 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1702, allocations: 86.97 MB / 0.6809 GB, free: 8.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002651/0.1729, allocations: 1.244 MB / 0.6821 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.174, allocations: 490.7 kB / 0.6826 GB, free: 6.391 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.389e-05/0.174, allocations: 0 / 0.6826 GB, free: 6.391 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.1741, allocations: 0 / 0.6826 GB, free: 6.391 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.231e-05/0.1742, allocations: 4 kB / 0.6826 GB, free: 6.387 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/0.1746, allocations: 59.8 kB / 0.6826 GB, free: 6.328 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.736e-05/0.1747, allocations: 12 kB / 0.6826 GB, free: 6.316 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.191e-05/0.1747, allocations: 0 / 0.6826 GB, free: 6.316 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.841e-05/0.1748, allocations: 11.97 kB / 0.6826 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.685e-05/0.1748, allocations: 0 / 0.6826 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.1748, allocations: 4 kB / 0.6826 GB, free: 6.301 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.175, allocations: 63.86 kB / 0.6827 GB, free: 6.238 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.1751, allocations: 7.984 kB / 0.6827 GB, free: 6.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.699e-05/0.1751, allocations: 11.94 kB / 0.6827 GB, free: 6.219 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.1753, allocations: 68 kB / 0.6828 GB, free: 6.152 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1753, allocations: 4 kB / 0.6828 GB, free: 6.148 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1753, allocations: 0 / 0.6828 GB, free: 6.148 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1753, allocations: 0 / 0.6828 GB, free: 6.148 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.0003853/0.1757, allocations: 335.6 kB / 0.6831 GB, free: 5.773 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.1757, allocations: 8.031 kB / 0.6831 GB, free: 5.766 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.1758, allocations: 4.938 kB / 0.6831 GB, free: 5.762 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.1759, allocations: 164.4 kB / 0.6833 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.1759, allocations: 4.375 kB / 0.6833 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.1759, allocations: 384 / 0.6833 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.1761, allocations: 58 kB / 0.6833 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.1761, allocations: 0 / 0.6833 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1761, allocations: 0 / 0.6833 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1761, allocations: 3.938 kB / 0.6833 GB, free: 5.492 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.925e-05/0.1761, allocations: 8 kB / 0.6834 GB, free: 5.484 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.1763, allocations: 161.5 kB / 0.6835 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.623e-05/0.1764, allocations: 34.62 kB / 0.6835 GB, free: 5.234 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.565e-05/0.1764, allocations: 16.95 kB / 0.6836 GB, free: 5.215 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.1764, allocations: 4 kB / 0.6836 GB, free: 5.211 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.1766, allocations: 79.25 kB / 0.6836 GB, free: 5.121 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.1766, allocations: 0 / 0.6836 GB, free: 5.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002181/0.1768, allocations: 85.69 kB / 0.6837 GB, free: 5.031 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.1769, allocations: 63.39 kB / 0.6838 GB, free: 4.957 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.081e-05/0.1769, allocations: 93.86 kB / 0.6839 GB, free: 4.855 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1769, allocations: 25.7 kB / 0.6839 GB, free: 4.824 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.177, allocations: 88.17 kB / 0.684 GB, free: 4.734 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.177, allocations: 16.56 kB / 0.684 GB, free: 4.719 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.1771, allocations: 29.72 kB / 0.684 GB, free: 4.684 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1772, allocations: 318.8 kB / 0.6843 GB, free: 4.363 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.929e-05/0.1772, allocations: 27.86 kB / 0.6844 GB, free: 4.336 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.841e-05/0.1773, allocations: 73.94 kB / 0.6844 GB, free: 4.242 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.1774, allocations: 97.92 kB / 0.6845 GB, free: 4.125 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1774, allocations: 0 / 0.6845 GB, free: 4.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001597/0.1776, allocations: 109.5 kB / 0.6846 GB, free: 4.012 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.1776, allocations: 11.94 kB / 0.6846 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1776, allocations: 3.984 kB / 0.6846 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.1777, allocations: 4 kB / 0.6846 GB, free: 3.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.297e-05/0.1777, allocations: 8 kB / 0.6846 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.1778, allocations: 4 kB / 0.6847 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.9e-05/0.1778, allocations: 16.12 kB / 0.6847 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1778, allocations: 8 kB / 0.6847 GB, free: 3.957 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.706e-05/0.1779, allocations: 130.4 kB / 0.6848 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.178, allocations: 3.938 kB / 0.6848 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.178, allocations: 3.969 kB / 0.6848 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.178, allocations: 0 / 0.6848 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.178, allocations: 0 / 0.6848 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.178, allocations: 0 / 0.6848 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.1781, allocations: 153.7 kB / 0.685 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1781, allocations: 0 / 0.685 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.452e-06/0.1781, allocations: 4 kB / 0.685 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.1782, allocations: 3.938 kB / 0.685 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.1782, allocations: 0 / 0.685 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1782, allocations: 0 / 0.685 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1782, allocations: 0 / 0.685 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.1783, allocations: 116.9 kB / 0.6851 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.1784, allocations: 89.06 kB / 0.6852 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.1784, allocations: 11.98 kB / 0.6852 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.258e-05/0.1784, allocations: 0 / 0.6852 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.1784, allocations: 0 / 0.6852 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.1785, allocations: 4 kB / 0.6852 GB, free: 3.348 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.834e-05/0.1785, allocations: 75.28 kB / 0.6852 GB, free: 3.273 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1785, allocations: 0 / 0.6852 GB, free: 3.273 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.1787, allocations: 20 kB / 0.6853 GB, free: 3.254 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.0002106/0.179, allocations: 138.3 kB / 0.6854 GB, free: 3.113 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.1791, allocations: 55.86 kB / 0.6854 GB, free: 3.059 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1791, allocations: 0 / 0.6854 GB, free: 3.059 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.101e-05/0.1792, allocations: 23.92 kB / 0.6855 GB, free: 3.035 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.1793, allocations: 4.875 kB / 0.6855 GB, free: 3.031 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.1796, allocations: 139.8 kB / 0.6856 GB, free: 2.863 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.1799, allocations: 0.6884 MB / 0.6863 GB, free: 2.148 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.737e-05/0.1799, allocations: 7.438 kB / 0.6863 GB, free: 2.145 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1799, allocations: 0 / 0.6863 GB, free: 2.145 MB / 494.1 MB Notification: Performance of Templates: time 0.002331/0.1823, allocations: 0.8227 MB / 0.6871 GB, free: 1.328 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)