Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 110.6 kB / 15.99 MB, free: 6.367 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.001411/0.001411, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.266/1.266, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001995/0.001995, allocations: 283.5 kB / 291 MB, free: 14.73 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9061/0.9061, allocations: 169.2 MB / 0.4985 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001657, allocations: 96.11 kB / 0.5954 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1702, allocations: 86.98 MB / 0.6803 GB, free: 8.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001659/0.1719, allocations: 0.5895 MB / 0.6809 GB, free: 7.949 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008557/0.1727, allocations: 0.7845 MB / 0.6817 GB, free: 7.152 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.211e-05/0.1728, allocations: 4 kB / 0.6817 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.1728, allocations: 0 / 0.6817 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.11e-06/0.1728, allocations: 0 / 0.6817 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.173, allocations: 15.98 kB / 0.6817 GB, free: 7.133 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.519e-05/0.1731, allocations: 3.984 kB / 0.6817 GB, free: 7.129 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.557e-05/0.1731, allocations: 4 kB / 0.6817 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.387e-05/0.1732, allocations: 0 / 0.6817 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.1733, allocations: 19.98 kB / 0.6817 GB, free: 7.105 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.606e-06/0.1733, allocations: 0 / 0.6817 GB, free: 7.105 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.948e-06/0.1733, allocations: 3.938 kB / 0.6817 GB, free: 7.102 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.016e-05/0.1733, allocations: 0 / 0.6817 GB, free: 7.102 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.58e-05/0.1734, allocations: 0 / 0.6817 GB, free: 7.102 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.557e-05/0.1734, allocations: 0 / 0.6817 GB, free: 7.102 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1734, allocations: 0 / 0.6817 GB, free: 7.102 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.683e-06/0.1734, allocations: 7.984 kB / 0.6817 GB, free: 7.094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1734, allocations: 0 / 0.6817 GB, free: 7.094 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002647/0.1737, allocations: 311.6 kB / 0.682 GB, free: 6.738 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1737, allocations: 12.06 kB / 0.682 GB, free: 6.727 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.1738, allocations: 0.9375 kB / 0.682 GB, free: 6.727 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.912e-05/0.1738, allocations: 164.3 kB / 0.6822 GB, free: 6.527 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.1739, allocations: 4.312 kB / 0.6822 GB, free: 6.523 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-06/0.1739, allocations: 384 / 0.6822 GB, free: 6.523 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.706e-05/0.174, allocations: 34.25 kB / 0.6822 GB, free: 6.484 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.174, allocations: 192 / 0.6822 GB, free: 6.484 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.174, allocations: 3.938 kB / 0.6822 GB, free: 6.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.174, allocations: 0 / 0.6822 GB, free: 6.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.588e-05/0.174, allocations: 7.938 kB / 0.6822 GB, free: 6.473 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.1743, allocations: 375.5 kB / 0.6826 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.805e-05/0.1744, allocations: 169.1 kB / 0.6827 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.237e-05/0.1744, allocations: 84.12 kB / 0.6828 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.1745, allocations: 79.28 kB / 0.6829 GB, free: 5.715 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.1745, allocations: 109.8 kB / 0.683 GB, free: 5.598 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.1745, allocations: 0 / 0.683 GB, free: 5.598 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.884e-05/0.1746, allocations: 33.67 kB / 0.683 GB, free: 5.559 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.1747, allocations: 126.7 kB / 0.6832 GB, free: 5.422 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.888e-05/0.1747, allocations: 89.86 kB / 0.6832 GB, free: 5.324 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.1747, allocations: 25.7 kB / 0.6833 GB, free: 5.293 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/0.1748, allocations: 92.53 kB / 0.6834 GB, free: 5.199 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-06/0.1748, allocations: 0 / 0.6834 GB, free: 5.199 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.1748, allocations: 13.72 kB / 0.6834 GB, free: 5.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1749, allocations: 314.8 kB / 0.6837 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.073e-06/0.175, allocations: 0 / 0.6837 GB, free: 4.863 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.847e-06/0.175, allocations: 4 kB / 0.6837 GB, free: 4.859 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.075e-05/0.175, allocations: 8.797 kB / 0.6837 GB, free: 4.848 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.175, allocations: 4.062 kB / 0.6837 GB, free: 4.844 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.176e-05/0.1751, allocations: 37.64 kB / 0.6837 GB, free: 4.801 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1751, allocations: 6.5 kB / 0.6837 GB, free: 4.797 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1751, allocations: 0 / 0.6837 GB, free: 4.797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.1751, allocations: 0 / 0.6837 GB, free: 4.797 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.981e-05/0.1752, allocations: 0 / 0.6837 GB, free: 4.797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1752, allocations: 4 kB / 0.6837 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.033e-05/0.1752, allocations: 3.938 kB / 0.6837 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1752, allocations: 3.984 kB / 0.6837 GB, free: 4.785 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.121e-05/0.1753, allocations: 193.1 kB / 0.6839 GB, free: 4.586 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.207e-05/0.1754, allocations: 104.9 kB / 0.684 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.1754, allocations: 108.1 kB / 0.6841 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.993e-05/0.1755, allocations: 180.2 kB / 0.6843 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.831e-05/0.1756, allocations: 188.2 kB / 0.6845 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.493e-05/0.1756, allocations: 181 kB / 0.6847 GB, free: 3.805 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.1758, allocations: 409.1 kB / 0.685 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-05/0.1759, allocations: 101 kB / 0.6851 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-05/0.1759, allocations: 116.9 kB / 0.6853 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.934e-05/0.176, allocations: 184.2 kB / 0.6854 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.089e-05/0.1761, allocations: 176.3 kB / 0.6856 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.963e-05/0.1761, allocations: 188.4 kB / 0.6858 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.152e-05/0.1762, allocations: 180.3 kB / 0.6859 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.1763, allocations: 311.7 kB / 0.6862 GB, free: 2.051 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/0.1764, allocations: 178.1 kB / 0.6864 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.267e-05/0.1765, allocations: 184.2 kB / 0.6866 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.061e-05/0.1765, allocations: 109 kB / 0.6867 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/0.1766, allocations: 180.2 kB / 0.6869 GB, free: 1.367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/0.1766, allocations: 101 kB / 0.687 GB, free: 1.262 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.847e-05/0.1767, allocations: 79.28 kB / 0.687 GB, free: 1.184 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1767, allocations: 0 / 0.687 GB, free: 1.184 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001942/0.1769, allocations: 0 / 0.687 GB, free: 1.184 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001335/0.177, allocations: 182.6 kB / 0.6872 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.979e-05/0.1771, allocations: 4 kB / 0.6872 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1771, allocations: 0 / 0.6872 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.286e-06/0.1771, allocations: 3.938 kB / 0.6872 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.1774, allocations: 464.8 kB / 0.6877 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002361/0.1777, allocations: 182 kB / 0.6878 GB, free: 324 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2671/0.4448, allocations: 0.669 MB / 0.6885 GB, free: 18.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.4448, allocations: 7.438 kB / 0.6885 GB, free: 18.45 MB / 494.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4448, allocations: 0 / 0.6885 GB, free: 18.45 MB / 494.1 MB Notification: Performance of Templates: time 0.001587/0.4464, allocations: 319.2 kB / 0.6888 GB, free: 18.45 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)