Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json 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 Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.392/2.392, allocations: 248.7 MB / 256.2 MB, free: 7.051 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001481/0.001481, allocations: 184.5 kB / 315.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.262/2.262, allocations: 205.3 MB / 0.5662 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001238/0.001237, allocations: 92.41 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.57e-05/3.562e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2552, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9722/1.227, allocations: 131.7 MB / 1.013 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006212/1.228, allocations: 99.78 kB / 1.013 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003388/1.232, allocations: 0.6755 MB / 1.014 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.895e-06/1.232, allocations: 3.562 kB / 1.014 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.754e-06/1.232, allocations: 0 / 1.014 GB, free: 6.332 MB / 0.6355 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.0004479/1.232, allocations: 333.8 kB / 1.014 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.252e-05/1.232, allocations: 8.031 kB / 1.014 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/1.232, allocations: 0 / 1.014 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/1.232, allocations: 167 kB / 1.014 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/1.232, allocations: 0 / 1.014 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/1.233, allocations: 4.844 kB / 1.014 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.3e-05/1.233, allocations: 1.594 kB / 1.014 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.391e-05/1.233, allocations: 33.69 kB / 1.014 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/1.233, allocations: 3.984 kB / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/1.233, allocations: 0 / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/1.233, allocations: 0 / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005218/1.233, allocations: 359.9 kB / 1.014 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/1.234, allocations: 169.1 kB / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.869e-05/1.234, allocations: 84.14 kB / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.564e-05/1.234, allocations: 79.22 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.646e-05/1.234, allocations: 116.5 kB / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 2.926e-06/1.234, allocations: 0 / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001227/1.234, allocations: 25.7 kB / 1.015 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/1.234, allocations: 51.41 kB / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/1.234, allocations: 92.81 kB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/1.234, allocations: 33.64 kB / 1.015 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/1.234, allocations: 80.14 kB / 1.015 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.377e-06/1.234, allocations: 0 / 1.015 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-06/1.234, allocations: 0 / 1.015 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002378/1.235, allocations: 314.8 kB / 1.015 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/1.235, allocations: 3.938 kB / 1.015 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.083e-05/1.235, allocations: 0 / 1.015 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.596e-05/1.235, allocations: 8.188 kB / 1.015 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/1.235, allocations: 0 / 1.015 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001613/1.235, allocations: 36 kB / 1.015 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/1.235, allocations: 4 kB / 1.015 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.235, allocations: 0 / 1.015 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/1.235, allocations: 0 / 1.015 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.545e-05/1.235, allocations: 4 kB / 1.015 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.235, allocations: 0 / 1.015 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.193e-05/1.235, allocations: 0 / 1.015 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/1.235, allocations: 0 / 1.015 GB, free: 4.18 MB / 0.6355 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 () * 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.0001794/1.235, allocations: 188.2 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001492/1.236, allocations: 138.5 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/1.236, allocations: 101 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.907e-05/1.236, allocations: 112.7 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001321/1.236, allocations: 176.3 kB / 1.016 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001347/1.236, allocations: 176.3 kB / 1.016 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001418/1.236, allocations: 192.1 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/1.237, allocations: 381.7 kB / 1.017 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.694e-05/1.237, allocations: 101 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.658e-05/1.237, allocations: 105.4 kB / 1.017 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.744e-05/1.237, allocations: 184.2 kB / 1.017 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.109e-05/1.237, allocations: 184.3 kB / 1.017 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.3e-05/1.237, allocations: 184.1 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.637e-05/1.237, allocations: 176.3 kB / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/1.238, allocations: 311.5 kB / 1.018 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/1.238, allocations: 182 kB / 1.018 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.569e-05/1.238, allocations: 180.3 kB / 1.018 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/1.238, allocations: 108.9 kB / 1.019 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/1.238, allocations: 177.2 kB / 1.019 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.339e-05/1.238, allocations: 108.9 kB / 1.019 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.755e-05/1.238, allocations: 75.28 kB / 1.019 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.238, allocations: 0 / 1.019 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003175/1.239, allocations: 8.094 kB / 1.019 GB, free: 0.4961 MB / 0.6355 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 () * 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.0005837/1.239, allocations: 0.8085 MB / 1.02 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.193e-05/1.239, allocations: 3.984 kB / 1.02 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.239, allocations: 64 / 1.02 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/1.239, allocations: 4 kB / 1.02 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/1.24, allocations: 0.5231 MB / 1.02 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/1.24, allocations: 150.9 kB / 1.02 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/1.24, allocations: 0.6768 MB / 1.021 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.292e-05/1.24, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/1.24, allocations: 11.44 kB / 1.021 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of SimCode: time 8.52e-07/1.24, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03778/1.278, allocations: 444.3 kB / 1.021 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004145/1.279, allocations: 217.9 kB / 1.022 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.671, allocations: 4.031 kB / 1.022 GB, free: 13.55 MB / 0.6511 GB