Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.AggregationCellTimes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008323/0.0008324, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009372/0.0009375, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001714/0.001714, allocations: 278.4 kB / 291.3 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9321/0.9321, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003966, allocations: 13.22 kB / 0.5981 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1674, allocations: 88.54 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001171/0.1686, allocations: 1.001 MB / 0.6855 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005926/0.1692, allocations: 410.2 kB / 0.6859 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.268e-05/0.1692, allocations: 0 / 0.6859 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.333e-05/0.1693, allocations: 3.984 kB / 0.6859 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.997e-05/0.1694, allocations: 7.984 kB / 0.6859 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.1696, allocations: 27.91 kB / 0.6859 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.16e-05/0.1696, allocations: 34.7 kB / 0.686 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.635e-05/0.1697, allocations: 7.938 kB / 0.686 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.523e-05/0.1697, allocations: 7.938 kB / 0.686 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.957e-05/0.1698, allocations: 11.98 kB / 0.686 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.889e-06/0.1698, allocations: 0 / 0.686 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-05/0.1699, allocations: 43.84 kB / 0.686 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.476e-05/0.1699, allocations: 15.97 kB / 0.686 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.835e-05/0.17, allocations: 35.17 kB / 0.6861 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.597e-05/0.1701, allocations: 28.19 kB / 0.6861 GB, free: 13.81 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1701, allocations: 0 / 0.6861 GB, free: 13.81 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1701, allocations: 0 / 0.6861 GB, free: 13.81 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1701, allocations: 0.5 kB / 0.6861 GB, free: 13.81 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002919/0.1704, allocations: 353.3 kB / 0.6864 GB, free: 13.42 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1704, allocations: 16.02 kB / 0.6865 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/0.1705, allocations: 7.859 kB / 0.6865 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.1706, allocations: 164.7 kB / 0.6866 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.1706, allocations: 0 / 0.6866 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-06/0.1706, allocations: 4.594 kB / 0.6866 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.147e-05/0.1707, allocations: 51 kB / 0.6867 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-06/0.1707, allocations: 0 / 0.6867 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.1707, allocations: 0 / 0.6867 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1707, allocations: 0 / 0.6867 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.332e-05/0.1708, allocations: 11.89 kB / 0.6867 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.1709, allocations: 178.5 kB / 0.6869 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.523e-05/0.171, allocations: 34.53 kB / 0.6869 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.334e-05/0.171, allocations: 27.06 kB / 0.6869 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.1711, allocations: 0 / 0.6869 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.1711, allocations: 35.92 kB / 0.6869 GB, free: 12.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.1711, allocations: 0.6562 kB / 0.6869 GB, free: 12.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001184/0.1712, allocations: 51.52 kB / 0.687 GB, free: 12.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.1713, allocations: 89.03 kB / 0.6871 GB, free: 12.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.899e-05/0.1714, allocations: 125.8 kB / 0.6872 GB, free: 12.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.1714, allocations: 29.7 kB / 0.6872 GB, free: 12.44 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.1714, allocations: 96.66 kB / 0.6873 GB, free: 12.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.1714, allocations: 8.156 kB / 0.6873 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.1715, allocations: 0 / 0.6873 GB, free: 12.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.1716, allocations: 326.8 kB / 0.6876 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.899e-05/0.1716, allocations: 23.98 kB / 0.6877 GB, free: 11.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.841e-05/0.1716, allocations: 28.73 kB / 0.6877 GB, free: 11.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.875e-05/0.1717, allocations: 26.75 kB / 0.6877 GB, free: 11.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1717, allocations: 0 / 0.6877 GB, free: 11.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001171/0.1718, allocations: 97.61 kB / 0.6878 GB, free: 11.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.1718, allocations: 4 kB / 0.6878 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.1719, allocations: 3.984 kB / 0.6878 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.1719, allocations: 4 kB / 0.6878 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.157e-05/0.1719, allocations: 4 kB / 0.6878 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1719, allocations: 0 / 0.6878 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.936e-05/0.172, allocations: 19.78 kB / 0.6878 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.172, allocations: 0 / 0.6878 GB, free: 11.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.53e-05/0.1721, allocations: 118.4 kB / 0.688 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.1721, allocations: 4 kB / 0.688 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.639e-05/0.1721, allocations: 3.531 kB / 0.688 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.1721, allocations: 0 / 0.688 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1721, allocations: 4 kB / 0.688 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1721, allocations: 3.984 kB / 0.688 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.1722, allocations: 165.6 kB / 0.6881 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1722, allocations: 0 / 0.6881 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.813e-05/0.1723, allocations: 4 kB / 0.6881 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1723, allocations: 0 / 0.6881 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.1723, allocations: 4 kB / 0.6881 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1723, allocations: 3.938 kB / 0.6881 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1723, allocations: 0 / 0.6881 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.58e-05/0.1724, allocations: 81.84 kB / 0.6882 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.1724, allocations: 81.02 kB / 0.6883 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.1724, allocations: 0 / 0.6883 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.691e-05/0.1725, allocations: 4 kB / 0.6883 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-06/0.1725, allocations: 3.938 kB / 0.6883 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1725, allocations: 3.984 kB / 0.6883 GB, free: 11.22 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.293e-05/0.1725, allocations: 103.3 kB / 0.6884 GB, free: 11.12 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1725, allocations: 4.031 kB / 0.6884 GB, free: 11.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001931/0.1727, allocations: 16 kB / 0.6884 GB, free: 11.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000151/0.1729, allocations: 123.1 kB / 0.6885 GB, free: 10.97 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.173, allocations: 81.67 kB / 0.6886 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.173, allocations: 0 / 0.6886 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.148e-05/0.1731, allocations: 4 kB / 0.6886 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.1732, allocations: 7.953 kB / 0.6886 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002469/0.1735, allocations: 150.5 kB / 0.6888 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.1737, allocations: 0.6887 MB / 0.6894 GB, free: 9.984 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.698e-05/0.1737, allocations: 0 / 0.6894 GB, free: 9.984 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.291e-05/0.1737, allocations: 7.438 kB / 0.6895 GB, free: 9.977 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1737, allocations: 4 kB / 0.6895 GB, free: 9.973 MB / 494.1 MB Notification: Performance of Templates: time 0.002445/0.1762, allocations: 0.5256 MB / 0.69 GB, free: 9.492 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)