Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6485/0.6485, allocations: 117.9 MB / 133.9 MB, free: 4.504 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001356/0.001356, allocations: 178.3 kB / 161.7 MB, free: 2.73 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205.4 MB / 394.8 MB, free: 20.9 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 103.5 kB / 470.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004879, allocations: 19.98 kB / 0.5424 GB, free: 6.781 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3633, allocations: 74.53 MB / 0.6152 GB, free: 54.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.4924, allocations: 101.6 MB / 0.7143 GB, free: 404 kB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.4927, allocations: 107.9 kB / 0.7144 GB, free: 296 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001547/0.4943, allocations: 0.6899 MB / 0.7151 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.885e-06/0.4943, allocations: 0 / 0.7151 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.4943, allocations: 3.938 kB / 0.7151 GB, free: 15.6 MB / 0.4948 GB 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.0002416/0.4946, allocations: 323.5 kB / 0.7154 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.4946, allocations: 16.08 kB / 0.7154 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.4947, allocations: 0.9375 kB / 0.7154 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.4948, allocations: 164.3 kB / 0.7156 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.4948, allocations: 384 / 0.7156 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.4948, allocations: 384 / 0.7156 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.556e-05/0.4949, allocations: 34.02 kB / 0.7156 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.495, allocations: 192 / 0.7156 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.495, allocations: 3.938 kB / 0.7156 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.495, allocations: 0 / 0.7156 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.825e-05/0.495, allocations: 4 kB / 0.7156 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.4953, allocations: 383.5 kB / 0.716 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.355e-05/0.4954, allocations: 169.1 kB / 0.7162 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.4954, allocations: 80.14 kB / 0.7162 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.4955, allocations: 79.28 kB / 0.7163 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.4955, allocations: 109.9 kB / 0.7164 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.4955, allocations: 0 / 0.7164 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 6.736e-05/0.4956, allocations: 33.64 kB / 0.7165 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.4957, allocations: 126.7 kB / 0.7166 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.456e-05/0.4957, allocations: 93.84 kB / 0.7167 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.4958, allocations: 25.83 kB / 0.7167 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.4958, allocations: 92.05 kB / 0.7168 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-06/0.4958, allocations: 0 / 0.7168 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.4958, allocations: 0 / 0.7168 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.4959, allocations: 310.8 kB / 0.7171 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.964e-06/0.496, allocations: 0 / 0.7171 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-06/0.496, allocations: 0 / 0.7171 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.024e-05/0.496, allocations: 12.86 kB / 0.7171 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.496, allocations: 64 / 0.7171 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001036/0.4961, allocations: 41.58 kB / 0.7171 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.4962, allocations: 7.984 kB / 0.7171 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.4962, allocations: 4 kB / 0.7171 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.643e-05/0.4962, allocations: 0 / 0.7171 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.466e-05/0.4963, allocations: 0 / 0.7171 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.4963, allocations: 3.938 kB / 0.7171 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.063e-05/0.4963, allocations: 0 / 0.7171 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.4963, allocations: 0 / 0.7171 GB, free: 13.3 MB / 0.4948 GB 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 0.0001015/0.4964, allocations: 193.1 kB / 0.7173 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/0.4965, allocations: 104.9 kB / 0.7174 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.247e-05/0.4965, allocations: 108.1 kB / 0.7175 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.9e-05/0.4966, allocations: 184.2 kB / 0.7177 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.186e-05/0.4967, allocations: 184.1 kB / 0.7179 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-05/0.4967, allocations: 180.2 kB / 0.7181 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.497, allocations: 413.1 kB / 0.7184 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-05/0.497, allocations: 105 kB / 0.7185 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/0.4971, allocations: 101.5 kB / 0.7186 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.39e-05/0.4971, allocations: 180.2 kB / 0.7188 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.151e-05/0.4972, allocations: 180.3 kB / 0.719 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.034e-05/0.4973, allocations: 188.2 kB / 0.7192 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.037e-05/0.4973, allocations: 180.2 kB / 0.7193 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.4975, allocations: 307.7 kB / 0.7196 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.627e-05/0.4976, allocations: 182.1 kB / 0.7198 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.208e-05/0.4976, allocations: 184.2 kB / 0.72 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.748e-05/0.4977, allocations: 113 kB / 0.7201 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.4978, allocations: 176.3 kB / 0.7203 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/0.4978, allocations: 104.9 kB / 0.7204 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.204e-05/0.4979, allocations: 75.28 kB / 0.7204 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4979, allocations: 0 / 0.7204 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000232/0.4981, allocations: 4 kB / 0.7204 GB, free: 9.703 MB / 0.4948 GB 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.0001531/0.4983, allocations: 186.4 kB / 0.7206 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.196e-05/0.4983, allocations: 4 kB / 0.7206 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4984, allocations: 0 / 0.7206 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.4984, allocations: 0 / 0.7206 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.4988, allocations: 0.5262 MB / 0.7211 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002021/0.499, allocations: 150 kB / 0.7213 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.4992, allocations: 0.6692 MB / 0.7219 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.678e-05/0.4993, allocations: 3.984 kB / 0.7219 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.074e-05/0.4993, allocations: 7.438 kB / 0.7219 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of SimCode: time 2.3e-07/0.4993, allocations: 4 kB / 0.7219 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.001913/0.5012, allocations: 172.1 kB / 0.7221 GB, free: 7.969 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)