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.007285/0.007285, allocations: 98.42 kB / 15.73 MB, free: 5.555 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.001615/0.001616, allocations: 196 kB / 16.68 MB, free: 5.484 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002035/0.002035, allocations: 278.8 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9077/0.9077, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003101/0.003101, allocations: 91.86 kB / 0.6815 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1672, allocations: 86.97 MB / 0.7664 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002168/0.1694, allocations: 1.284 MB / 0.7677 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00071/0.1701, allocations: 454.8 kB / 0.7681 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.1702, allocations: 0 / 0.7681 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.38e-05/0.1703, allocations: 3.938 kB / 0.7681 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.019e-05/0.1703, allocations: 3.984 kB / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.1706, allocations: 35.89 kB / 0.7682 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.981e-05/0.1706, allocations: 23.92 kB / 0.7682 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.519e-05/0.1707, allocations: 0 / 0.7682 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.926e-05/0.1707, allocations: 15.92 kB / 0.7682 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.015e-05/0.1708, allocations: 15.92 kB / 0.7682 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.846e-06/0.1708, allocations: 0 / 0.7682 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.1709, allocations: 43.95 kB / 0.7682 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.979e-05/0.171, allocations: 19.91 kB / 0.7683 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.171, allocations: 15.94 kB / 0.7683 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.1711, allocations: 59.69 kB / 0.7683 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1712, allocations: 0 / 0.7683 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.687e-06/0.1712, allocations: 7.938 kB / 0.7683 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.1712, allocations: 0 / 0.7683 GB, free: 6.438 MB / 0.5606 GB 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.0003545/0.1715, allocations: 355.2 kB / 0.7687 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.1716, allocations: 8.031 kB / 0.7687 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.1716, allocations: 0.9375 kB / 0.7687 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.1718, allocations: 172.3 kB / 0.7689 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1718, allocations: 4.375 kB / 0.7689 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-06/0.1718, allocations: 384 / 0.7689 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.569e-05/0.1719, allocations: 51.72 kB / 0.7689 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.1719, allocations: 0 / 0.7689 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.1719, allocations: 0 / 0.7689 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1719, allocations: 4 kB / 0.7689 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.106e-05/0.172, allocations: 7.938 kB / 0.7689 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.1721, allocations: 171 kB / 0.7691 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.606e-05/0.1722, allocations: 41.2 kB / 0.7691 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.352e-05/0.1722, allocations: 25.72 kB / 0.7691 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.062e-06/0.1722, allocations: 0 / 0.7691 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.1723, allocations: 38.5 kB / 0.7692 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.1723, allocations: 0 / 0.7692 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001234/0.1724, allocations: 53.58 kB / 0.7692 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.1725, allocations: 77.11 kB / 0.7693 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.1726, allocations: 144.6 kB / 0.7694 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.1726, allocations: 33.7 kB / 0.7695 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.1727, allocations: 84.09 kB / 0.7696 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.1727, allocations: 11.89 kB / 0.7696 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.1727, allocations: 29.64 kB / 0.7696 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.1728, allocations: 318.8 kB / 0.7699 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.768e-05/0.1729, allocations: 20 kB / 0.7699 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.122e-05/0.1729, allocations: 31.98 kB / 0.77 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.105e-05/0.173, allocations: 44.78 kB / 0.77 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.173, allocations: 4 kB / 0.77 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001176/0.1731, allocations: 96.75 kB / 0.7701 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1731, allocations: 7.938 kB / 0.7701 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.1732, allocations: 4 kB / 0.7701 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.1732, allocations: 0 / 0.7701 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.205e-05/0.1732, allocations: 4 kB / 0.7701 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1732, allocations: 0 / 0.7701 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.977e-05/0.1733, allocations: 7.891 kB / 0.7701 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.1733, allocations: 11.98 kB / 0.7701 GB, free: 4.367 MB / 0.5606 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.688e-05/0.1734, allocations: 114.5 kB / 0.7702 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.557e-06/0.1734, allocations: 3.938 kB / 0.7702 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.69e-05/0.1734, allocations: 7.531 kB / 0.7702 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1734, allocations: 0 / 0.7702 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1734, allocations: 4 kB / 0.7702 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1734, allocations: 4.078 kB / 0.7703 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.1735, allocations: 169.6 kB / 0.7704 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1735, allocations: 3.938 kB / 0.7704 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.883e-05/0.1736, allocations: 4 kB / 0.7704 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1736, allocations: 3.938 kB / 0.7704 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.1736, allocations: 4 kB / 0.7704 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1736, allocations: 0 / 0.7704 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1736, allocations: 4 kB / 0.7704 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.114e-05/0.1737, allocations: 65.98 kB / 0.7705 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.1737, allocations: 89 kB / 0.7706 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.1737, allocations: 0 / 0.7706 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.943e-05/0.1738, allocations: 4.031 kB / 0.7706 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.637e-05/0.1738, allocations: 3.984 kB / 0.7706 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.1738, allocations: 11.88 kB / 0.7706 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.606e-05/0.1738, allocations: 103.3 kB / 0.7707 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1739, allocations: 0 / 0.7707 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001994/0.1741, allocations: 16 kB / 0.7707 GB, free: 3.664 MB / 0.5606 GB 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 (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.0001574/0.1742, allocations: 119.2 kB / 0.7708 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.1744, allocations: 85.67 kB / 0.7709 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1744, allocations: 4 kB / 0.7709 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.311e-05/0.1744, allocations: 7.938 kB / 0.7709 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.1745, allocations: 7.516 kB / 0.7709 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.1748, allocations: 150 kB / 0.7711 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.1751, allocations: 0.6846 MB / 0.7717 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.882e-05/0.1751, allocations: 128 / 0.7717 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.637e-05/0.1751, allocations: 15.44 kB / 0.7718 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.1751, allocations: 0 / 0.7718 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of Templates: time 0.002411/0.1775, allocations: 0.5414 MB / 0.7723 GB, free: 2.039 MB / 0.5606 GB 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)