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.372/2.372, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00164/0.00164, allocations: 179.2 kB / 325.5 MB, free: 2.871 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.371/2.371, allocations: 205.4 MB / 0.5764 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 104.1 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000466/0.000466, allocations: 16.75 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1968, allocations: 106.3 MB / 0.8989 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.219/0.4159, allocations: 131.5 MB / 1.027 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004035/0.4163, allocations: 99.92 kB / 1.027 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002273/0.4186, allocations: 0.6799 MB / 1.028 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4187, allocations: 4 kB / 1.028 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.4187, allocations: 4 kB / 1.028 GB, free: 12.89 MB / 0.6823 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.0002981/0.419, allocations: 315.7 kB / 1.028 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.824e-05/0.4191, allocations: 12.02 kB / 1.028 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.4191, allocations: 30.56 kB / 1.028 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.321e-05/0.4192, allocations: 3.953 kB / 1.028 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.4193, allocations: 163.1 kB / 1.029 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.4193, allocations: 0 / 1.029 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.4193, allocations: 4 kB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.818e-05/0.4194, allocations: 33.64 kB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.4195, allocations: 0 / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.4195, allocations: 0 / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4195, allocations: 0 / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.435e-05/0.4195, allocations: 8 kB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.4199, allocations: 379.4 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.635e-05/0.42, allocations: 173.1 kB / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.544e-05/0.42, allocations: 83.25 kB / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.739e-05/0.4201, allocations: 110.6 kB / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 3.366e-06/0.4201, allocations: 0 / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 7.425e-05/0.4202, allocations: 29.64 kB / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/0.4203, allocations: 130.6 kB / 1.029 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.246e-05/0.4204, allocations: 96.98 kB / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.4204, allocations: 25.7 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.4205, allocations: 80.14 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.69e-06/0.4205, allocations: 4 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.4205, allocations: 0 / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4206, allocations: 310.8 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-06/0.4207, allocations: 0 / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.074e-05/0.4207, allocations: 7.938 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.744e-05/0.4207, allocations: 4.188 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4207, allocations: 0 / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.381e-05/0.4208, allocations: 29.7 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.4209, allocations: 4 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4209, allocations: 7.984 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4209, allocations: 0 / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.888e-05/0.421, allocations: 0 / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.421, allocations: 0 / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.618e-05/0.421, allocations: 3.953 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.421, allocations: 8 kB / 1.03 GB, free: 10.65 MB / 0.6823 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.000111/0.4211, allocations: 189.2 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/0.4212, allocations: 104.9 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.092e-05/0.4213, allocations: 105.7 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.762e-05/0.4214, allocations: 184.2 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.352e-05/0.4215, allocations: 180.2 kB / 1.031 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.793e-05/0.4216, allocations: 180.3 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.4219, allocations: 409.1 kB / 1.031 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.913e-05/0.4219, allocations: 105 kB / 1.031 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.114e-05/0.422, allocations: 101 kB / 1.032 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.117e-05/0.4221, allocations: 184.2 kB / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-05/0.4222, allocations: 180.3 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.687e-05/0.4223, allocations: 188.1 kB / 1.032 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.419e-05/0.4224, allocations: 184.2 kB / 1.032 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.4225, allocations: 303.7 kB / 1.033 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-05/0.4227, allocations: 182.1 kB / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.921e-05/0.4228, allocations: 188.2 kB / 1.033 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.702e-05/0.4229, allocations: 105.8 kB / 1.033 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.731e-05/0.423, allocations: 180.2 kB / 1.033 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.106e-05/0.423, allocations: 101 kB / 1.033 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.734e-05/0.4231, allocations: 75.28 kB / 1.033 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.7e-07/0.4231, allocations: 3.938 kB / 1.033 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002622/0.4234, allocations: 8.094 kB / 1.033 GB, free: 7.059 MB / 0.6823 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.0004909/0.4239, allocations: 0.8126 MB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.184e-05/0.424, allocations: 0 / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.424, allocations: 64 / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.245e-06/0.424, allocations: 4 kB / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.4243, allocations: 0.5235 MB / 1.035 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.4247, allocations: 175.7 kB / 1.035 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.425, allocations: 0.6692 MB / 1.035 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.467e-05/0.4251, allocations: 0 / 1.035 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.047e-05/0.4251, allocations: 19.38 kB / 1.035 GB, free: 4.758 MB / 0.6823 GB Notification: Performance of SimCode: time 7.02e-07/0.4251, allocations: 0 / 1.035 GB, free: 4.758 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.4424, allocations: 0.7608 MB / 1.036 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003816/0.4429, allocations: 254.8 kB / 1.036 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/2.595, allocations: 0 / 1.036 GB, free: 3.875 MB / 0.6823 GB