Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002549/0.002549, allocations: 356 kB / 16.58 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.417/1.417, allocations: 165.8 MB / 183.1 MB, free: 5.484 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.779/3.779, allocations: 410.8 MB / 0.6001 GB, free: 15.19 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001784/0.001783, allocations: 197.5 kB / 0.6668 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000475/0.0004753, allocations: 15.98 kB / 0.7429 GB, free: 8.914 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.4174, allocations: 67.43 MB / 0.8088 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1697/0.5872, allocations: 98.32 MB / 0.9048 GB, free: 10.33 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004158/0.5877, allocations: 107.9 kB / 0.9049 GB, free: 10.22 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002209/0.5899, allocations: 0.6626 MB / 0.9055 GB, free: 9.559 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.59, allocations: 4 kB / 0.9055 GB, free: 9.555 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.59, allocations: 0 / 0.9055 GB, free: 9.555 MB / 458.7 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.0002708/0.5903, allocations: 323.3 kB / 0.9058 GB, free: 9.191 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.5903, allocations: 8.031 kB / 0.9059 GB, free: 9.184 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.5904, allocations: 0 / 0.9059 GB, free: 9.184 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.5905, allocations: 163 kB / 0.906 GB, free: 8.984 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.5905, allocations: 3.984 kB / 0.906 GB, free: 8.98 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.5905, allocations: 0 / 0.906 GB, free: 8.98 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.023e-05/0.5906, allocations: 33.7 kB / 0.906 GB, free: 8.941 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.5907, allocations: 7.984 kB / 0.9061 GB, free: 8.934 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.5907, allocations: 3.953 kB / 0.9061 GB, free: 8.93 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.5907, allocations: 0 / 0.9061 GB, free: 8.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.925e-05/0.5907, allocations: 0 / 0.9061 GB, free: 8.93 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.591, allocations: 383.5 kB / 0.9064 GB, free: 8.504 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.704e-05/0.5911, allocations: 168.1 kB / 0.9066 GB, free: 8.332 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.376e-05/0.5912, allocations: 84.14 kB / 0.9067 GB, free: 8.246 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.5912, allocations: 83.27 kB / 0.9067 GB, free: 8.164 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/0.5913, allocations: 109.8 kB / 0.9069 GB, free: 8.047 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.5913, allocations: 0 / 0.9069 GB, free: 8.047 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 7.843e-05/0.5914, allocations: 29.64 kB / 0.9069 GB, free: 8.012 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/0.5915, allocations: 126.7 kB / 0.907 GB, free: 7.875 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.5916, allocations: 101.9 kB / 0.9071 GB, free: 7.766 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.5916, allocations: 25.7 kB / 0.9071 GB, free: 7.734 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.5916, allocations: 84.05 kB / 0.9072 GB, free: 7.648 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.5917, allocations: 0 / 0.9072 GB, free: 7.648 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.5917, allocations: 0 / 0.9072 GB, free: 7.648 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.5918, allocations: 310.8 kB / 0.9075 GB, free: 7.336 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-06/0.5918, allocations: 0 / 0.9075 GB, free: 7.336 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.058e-05/0.5918, allocations: 4.125 kB / 0.9075 GB, free: 7.332 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.17e-05/0.5919, allocations: 8.047 kB / 0.9075 GB, free: 7.324 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5919, allocations: 0 / 0.9075 GB, free: 7.324 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001003/0.592, allocations: 37.64 kB / 0.9075 GB, free: 7.281 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.592, allocations: 11.95 kB / 0.9076 GB, free: 7.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.592, allocations: 0 / 0.9076 GB, free: 7.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.592, allocations: 0 / 0.9076 GB, free: 7.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.271e-05/0.5921, allocations: 0 / 0.9076 GB, free: 7.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.5921, allocations: 0 / 0.9076 GB, free: 7.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.017e-05/0.5922, allocations: 7.875 kB / 0.9076 GB, free: 7.262 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.5922, allocations: 8.031 kB / 0.9076 GB, free: 7.254 MB / 458.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.638e-05/0.5923, allocations: 181.1 kB / 0.9077 GB, free: 7.066 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/0.5924, allocations: 105 kB / 0.9078 GB, free: 6.957 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.463e-05/0.5924, allocations: 112 kB / 0.908 GB, free: 6.844 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.526e-05/0.5925, allocations: 180.3 kB / 0.9081 GB, free: 6.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-05/0.5926, allocations: 180.3 kB / 0.9083 GB, free: 6.477 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.555e-05/0.5927, allocations: 184.2 kB / 0.9085 GB, free: 6.289 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.5929, allocations: 401.2 kB / 0.9089 GB, free: 5.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4e-05/0.593, allocations: 104.9 kB / 0.909 GB, free: 5.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-05/0.593, allocations: 101 kB / 0.9091 GB, free: 5.625 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.547e-05/0.5931, allocations: 180.7 kB / 0.9092 GB, free: 5.441 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-05/0.5932, allocations: 192.2 kB / 0.9094 GB, free: 5.246 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.296e-05/0.5932, allocations: 184.2 kB / 0.9096 GB, free: 5.059 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.327e-05/0.5933, allocations: 180.2 kB / 0.9098 GB, free: 4.875 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.5935, allocations: 307.8 kB / 0.91 GB, free: 4.551 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.57e-05/0.5936, allocations: 178.1 kB / 0.9102 GB, free: 4.352 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.43e-05/0.5936, allocations: 180.3 kB / 0.9104 GB, free: 4.168 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.099e-05/0.5937, allocations: 108.9 kB / 0.9105 GB, free: 4.055 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/0.5938, allocations: 181.3 kB / 0.9107 GB, free: 3.871 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.5939, allocations: 108.9 kB / 0.9108 GB, free: 3.758 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.436e-05/0.594, allocations: 79.28 kB / 0.9108 GB, free: 3.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.594, allocations: 4 kB / 0.9108 GB, free: 3.676 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002577/0.5943, allocations: 4.094 kB / 0.9109 GB, free: 3.672 MB / 458.7 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 (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.0001527/0.5944, allocations: 174.5 kB / 0.911 GB, free: 3.492 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.966e-05/0.5945, allocations: 0 / 0.911 GB, free: 3.492 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.5945, allocations: 4 kB / 0.911 GB, free: 3.488 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.775e-06/0.5945, allocations: 0 / 0.911 GB, free: 3.488 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.5949, allocations: 0.5186 MB / 0.9115 GB, free: 2.965 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002062/0.5952, allocations: 160.6 kB / 0.9117 GB, free: 2.781 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.5954, allocations: 0.6731 MB / 0.9123 GB, free: 2.082 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.34e-05/0.5954, allocations: 0 / 0.9123 GB, free: 2.082 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.96e-05/0.5955, allocations: 7.438 kB / 0.9123 GB, free: 2.074 MB / 458.7 MB Notification: Performance of SimCode: time 1.533e-06/0.5955, allocations: 0 / 0.9123 GB, free: 2.074 MB / 458.7 MB Notification: Performance of Templates: time 0.00237/0.5979, allocations: 168 kB / 0.9125 GB, free: 1.949 MB / 458.7 MB