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.001375/0.001375, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001243/0.001244, allocations: 192.1 kB / 17.31 MB, free: 5.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.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002043/0.002043, allocations: 284.6 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8823/0.8823, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 94.75 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1425, allocations: 86.97 MB / 0.6816 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001537/0.1441, allocations: 0.5439 MB / 0.6822 GB, free: 6.879 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007378/0.1448, allocations: 0.7689 MB / 0.6829 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.207e-05/0.1448, allocations: 0 / 0.6829 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.629e-06/0.1449, allocations: 0 / 0.6829 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.808e-06/0.1449, allocations: 0 / 0.6829 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.1451, allocations: 27.91 kB / 0.683 GB, free: 6.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.195e-05/0.1451, allocations: 4 kB / 0.683 GB, free: 6.066 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.1452, allocations: 7.984 kB / 0.683 GB, free: 6.059 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.093e-05/0.1452, allocations: 0 / 0.683 GB, free: 6.059 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1453, allocations: 19.98 kB / 0.683 GB, free: 6.039 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.312e-06/0.1453, allocations: 0 / 0.683 GB, free: 6.039 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.936e-06/0.1453, allocations: 0 / 0.683 GB, free: 6.039 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.1454, allocations: 3.984 kB / 0.683 GB, free: 6.035 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.367e-05/0.1454, allocations: 7.938 kB / 0.683 GB, free: 6.027 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.029e-05/0.1454, allocations: 0 / 0.683 GB, free: 6.027 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1454, allocations: 0 / 0.683 GB, free: 6.027 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1454, allocations: 4 kB / 0.683 GB, free: 6.023 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1454, allocations: 0 / 0.683 GB, free: 6.023 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.0002239/0.1457, allocations: 303.6 kB / 0.6833 GB, free: 5.676 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.1457, allocations: 12.06 kB / 0.6833 GB, free: 5.664 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.862e-05/0.1457, allocations: 0.9375 kB / 0.6833 GB, free: 5.664 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.893e-05/0.1458, allocations: 164.4 kB / 0.6835 GB, free: 5.465 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.1458, allocations: 4.375 kB / 0.6835 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.1458, allocations: 384 / 0.6835 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.719e-05/0.1459, allocations: 34.27 kB / 0.6835 GB, free: 5.422 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.1459, allocations: 192 / 0.6835 GB, free: 5.422 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.1459, allocations: 3.938 kB / 0.6835 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1459, allocations: 3.984 kB / 0.6835 GB, free: 5.414 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.387e-05/0.146, allocations: 3.938 kB / 0.6835 GB, free: 5.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/0.1462, allocations: 383.5 kB / 0.6839 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.979e-05/0.1463, allocations: 173.1 kB / 0.684 GB, free: 4.805 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.1463, allocations: 80.14 kB / 0.6841 GB, free: 4.723 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1463, allocations: 75.28 kB / 0.6842 GB, free: 4.648 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.1464, allocations: 109.8 kB / 0.6843 GB, free: 4.531 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.1464, allocations: 4.031 kB / 0.6843 GB, free: 4.527 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.488e-05/0.1464, allocations: 29.7 kB / 0.6843 GB, free: 4.492 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.1465, allocations: 126.7 kB / 0.6844 GB, free: 4.355 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.108e-05/0.1466, allocations: 93.86 kB / 0.6845 GB, free: 4.254 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.1466, allocations: 25.7 kB / 0.6846 GB, free: 4.223 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.1466, allocations: 84.14 kB / 0.6846 GB, free: 4.137 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-06/0.1466, allocations: 3.984 kB / 0.6846 GB, free: 4.133 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.1466, allocations: 9.719 kB / 0.6846 GB, free: 4.117 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.688e-05/0.1467, allocations: 315 kB / 0.6849 GB, free: 3.801 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.787e-06/0.1467, allocations: 4 kB / 0.685 GB, free: 3.797 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-06/0.1467, allocations: 3.938 kB / 0.685 GB, free: 3.793 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.081e-05/0.1468, allocations: 12.8 kB / 0.685 GB, free: 3.777 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1468, allocations: 0 / 0.685 GB, free: 3.777 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.505e-05/0.1469, allocations: 37.64 kB / 0.685 GB, free: 3.734 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.1469, allocations: 4 kB / 0.685 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1469, allocations: 0 / 0.685 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.1469, allocations: 4.094 kB / 0.685 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.683e-05/0.1469, allocations: 3.984 kB / 0.685 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.147, allocations: 4 kB / 0.685 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.062e-05/0.147, allocations: 3.938 kB / 0.685 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-06/0.147, allocations: 0 / 0.685 GB, free: 3.715 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.165e-05/0.147, allocations: 185.1 kB / 0.6852 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.1471, allocations: 108.9 kB / 0.6853 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.1471, allocations: 112.1 kB / 0.6854 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.818e-05/0.1472, allocations: 184.2 kB / 0.6856 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.998e-05/0.1473, allocations: 180.3 kB / 0.6858 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.012e-05/0.1473, allocations: 184.3 kB / 0.6859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.1475, allocations: 401.1 kB / 0.6863 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.907e-05/0.1475, allocations: 109 kB / 0.6864 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.084e-05/0.1476, allocations: 109.7 kB / 0.6865 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.847e-05/0.1476, allocations: 180.3 kB / 0.6867 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.1477, allocations: 176.3 kB / 0.6869 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.686e-05/0.1477, allocations: 180.2 kB / 0.687 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.652e-05/0.1478, allocations: 176.3 kB / 0.6872 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.1479, allocations: 315.9 kB / 0.6875 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.626e-05/0.1479, allocations: 182.1 kB / 0.6877 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.637e-05/0.148, allocations: 188.2 kB / 0.6879 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.097e-05/0.1481, allocations: 104.9 kB / 0.688 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.1481, allocations: 184.2 kB / 0.6881 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.1482, allocations: 109 kB / 0.6882 GB, free: 200 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.852e-05/0.1482, allocations: 75.28 kB / 0.6883 GB, free: 124 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1482, allocations: 0 / 0.6883 GB, free: 124 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002006/0.1484, allocations: 0 / 0.6883 GB, free: 124 kB / 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.2228/0.3712, allocations: 175.4 kB / 0.6885 GB, free: 18.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.296e-05/0.3713, allocations: 5.875 kB / 0.6885 GB, free: 18.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3714, allocations: 2.25 kB / 0.6885 GB, free: 18.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.3714, allocations: 5.047 kB / 0.6885 GB, free: 18.96 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.3716, allocations: 466.7 kB / 0.6889 GB, free: 18.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001663/0.3718, allocations: 155.5 kB / 0.6891 GB, free: 18.36 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.556e-05/0.3719, allocations: 0.6707 MB / 0.6897 GB, free: 17.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.095e-05/0.3719, allocations: 1.172 kB / 0.6897 GB, free: 17.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.247e-05/0.3719, allocations: 8.406 kB / 0.6897 GB, free: 17.66 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3719, allocations: 0.5938 kB / 0.6897 GB, free: 17.66 MB / 494.1 MB Notification: Performance of Templates: time 0.001755/0.3737, allocations: 186.3 kB / 0.6899 GB, free: 17.66 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)