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.0009824/0.0009822, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.007534/0.007534, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.278/1.278, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001875/0.001875, allocations: 265.9 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9229/0.9229, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.0004101, allocations: 15.28 kB / 0.5987 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1521, allocations: 88.54 MB / 0.6852 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0006523/0.1528, allocations: 275.1 kB / 0.6854 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008074/0.1536, allocations: 0.7773 MB / 0.6862 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.864e-06/0.1536, allocations: 0 / 0.6862 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.229e-05/0.1537, allocations: 0.7188 kB / 0.6862 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.318e-06/0.1537, allocations: 0 / 0.6862 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.1539, allocations: 21.09 kB / 0.6862 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.006e-05/0.1539, allocations: 4 kB / 0.6862 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.154, allocations: 0.5625 kB / 0.6862 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.282e-05/0.154, allocations: 4 kB / 0.6862 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.1541, allocations: 18.53 kB / 0.6862 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.504e-06/0.1541, allocations: 0 / 0.6862 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.717e-06/0.1541, allocations: 4 kB / 0.6862 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.474e-06/0.1541, allocations: 0.8125 kB / 0.6862 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.1542, allocations: 25.7 kB / 0.6863 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.333e-05/0.1542, allocations: 0 / 0.6863 GB, free: 13.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1542, allocations: 3.438 kB / 0.6863 GB, free: 13.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1542, allocations: 0 / 0.6863 GB, free: 13.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.956e-06/0.1542, allocations: 0 / 0.6863 GB, free: 13.93 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.0002134/0.1544, allocations: 307.5 kB / 0.6866 GB, free: 13.58 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1545, allocations: 12.09 kB / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.952e-05/0.1545, allocations: 4.875 kB / 0.6866 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.847e-05/0.1546, allocations: 164.4 kB / 0.6867 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.1546, allocations: 4.375 kB / 0.6867 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-06/0.1546, allocations: 0.875 kB / 0.6867 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.308e-05/0.1547, allocations: 39.27 kB / 0.6868 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.1547, allocations: 192 / 0.6868 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1547, allocations: 6.406 kB / 0.6868 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1547, allocations: 0 / 0.6868 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.426e-05/0.1547, allocations: 0 / 0.6868 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000236/0.155, allocations: 379.5 kB / 0.6871 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.695e-05/0.1551, allocations: 174.5 kB / 0.6873 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/0.1551, allocations: 81.86 kB / 0.6874 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.1551, allocations: 75.28 kB / 0.6875 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.1552, allocations: 110.5 kB / 0.6876 GB, free: 12.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.1552, allocations: 0 / 0.6876 GB, free: 12.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.468e-05/0.1552, allocations: 27.45 kB / 0.6876 GB, free: 12.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.1553, allocations: 134.7 kB / 0.6877 GB, free: 12.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.409e-05/0.1553, allocations: 92.77 kB / 0.6878 GB, free: 12.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.1554, allocations: 29.7 kB / 0.6878 GB, free: 12.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.724e-05/0.1554, allocations: 80.42 kB / 0.6879 GB, free: 12.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-06/0.1554, allocations: 0 / 0.6879 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/0.1554, allocations: 13.66 kB / 0.6879 GB, free: 12.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.487e-05/0.1555, allocations: 310.8 kB / 0.6882 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-06/0.1555, allocations: 0.625 kB / 0.6882 GB, free: 11.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.471e-06/0.1555, allocations: 4 kB / 0.6882 GB, free: 11.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.131e-05/0.1556, allocations: 9.734 kB / 0.6882 GB, free: 11.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1556, allocations: 0.5312 kB / 0.6882 GB, free: 11.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.826e-05/0.1557, allocations: 38.69 kB / 0.6883 GB, free: 11.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1557, allocations: 8 kB / 0.6883 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.1557, allocations: 1 kB / 0.6883 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.385e-06/0.1557, allocations: 0 / 0.6883 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.645e-05/0.1557, allocations: 0 / 0.6883 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1558, allocations: 4.156 kB / 0.6883 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.053e-05/0.1558, allocations: 7.938 kB / 0.6883 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.1558, allocations: 4 kB / 0.6883 GB, free: 11.63 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 7.709e-05/0.1559, allocations: 185.7 kB / 0.6885 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.1559, allocations: 104.9 kB / 0.6886 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/0.156, allocations: 116.1 kB / 0.6887 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.918e-05/0.156, allocations: 180.2 kB / 0.6889 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.835e-05/0.1561, allocations: 180.3 kB / 0.689 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.866e-05/0.1561, allocations: 180.2 kB / 0.6892 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.1563, allocations: 405.2 kB / 0.6896 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.714e-05/0.1563, allocations: 105.5 kB / 0.6897 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.773e-05/0.1564, allocations: 104.9 kB / 0.6898 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.133e-05/0.1564, allocations: 184.3 kB / 0.69 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.383e-05/0.1565, allocations: 184.2 kB / 0.6901 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.804e-05/0.1565, allocations: 184.4 kB / 0.6903 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.917e-05/0.1566, allocations: 180.2 kB / 0.6905 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.1567, allocations: 311.8 kB / 0.6908 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.1568, allocations: 186 kB / 0.691 GB, free: 8.707 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.167e-05/0.1568, allocations: 180.3 kB / 0.6911 GB, free: 8.523 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.677e-05/0.1569, allocations: 101 kB / 0.6912 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.157, allocations: 184.2 kB / 0.6914 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.157, allocations: 101 kB / 0.6915 GB, free: 8.125 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.688e-05/0.157, allocations: 83.28 kB / 0.6916 GB, free: 8.043 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.157, allocations: 0 / 0.6916 GB, free: 8.043 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002001/0.1572, allocations: 0 / 0.6916 GB, free: 8.043 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.0001166/0.1574, allocations: 182.5 kB / 0.6918 GB, free: 7.852 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 3.921e-05/0.1574, allocations: 7.938 kB / 0.6918 GB, free: 7.844 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1574, allocations: 0 / 0.6918 GB, free: 7.844 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.1574, allocations: 0 / 0.6918 GB, free: 7.844 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.1577, allocations: 0.5264 MB / 0.6923 GB, free: 7.312 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001399/0.1579, allocations: 149.9 kB / 0.6924 GB, free: 7.137 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.1581, allocations: 0.677 MB / 0.6931 GB, free: 6.434 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.047e-05/0.1581, allocations: 0 / 0.6931 GB, free: 6.434 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.328e-05/0.1581, allocations: 7.438 kB / 0.6931 GB, free: 6.426 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1582, allocations: 0 / 0.6931 GB, free: 6.426 MB / 494.1 MB Notification: Performance of Templates: time 0.001664/0.1598, allocations: 175.2 kB / 0.6933 GB, free: 6.301 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)