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.AggregationWeightingFactors.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.AggregationWeightingFactors,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",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.149/2.149, allocations: 251 MB / 265.9 MB, free: 11.68 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.00155/0.00155, allocations: 175.4 kB / 325.5 MB, free: 2.887 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.325/2.325, 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.001108/0.001107, allocations: 87.19 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005499/0.00055, allocations: 14.31 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2105, allocations: 106.3 MB / 0.8988 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2242/0.4348, allocations: 133.7 MB / 1.029 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004271/0.4353, allocations: 107.9 kB / 1.03 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01917/0.4545, allocations: 3.79 MB / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.135e-06/0.4545, allocations: 0 / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.166e-06/0.4545, allocations: 0 / 1.033 GB, free: 7.66 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000573/0.4551, allocations: 412.8 kB / 1.034 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.4552, allocations: 11.97 kB / 1.034 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.058e-05/0.4552, allocations: 34.56 kB / 1.034 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.4553, allocations: 3.906 kB / 1.034 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.4554, allocations: 182.9 kB / 1.034 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.4555, allocations: 0 / 1.034 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.4555, allocations: 4 kB / 1.034 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.4557, allocations: 65.61 kB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.4557, allocations: 0 / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.4557, allocations: 4 kB / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/0.4558, allocations: 4 kB / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.989e-05/0.4559, allocations: 31.98 kB / 1.034 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.4562, allocations: 177.6 kB / 1.034 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.4563, allocations: 62.55 kB / 1.034 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.391e-06/0.4564, allocations: 0 / 1.034 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.4564, allocations: 34.69 kB / 1.034 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.4564, allocations: 0 / 1.034 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004124/0.4568, allocations: 232.6 kB / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.4569, allocations: 51.41 kB / 1.034 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.457, allocations: 124.9 kB / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.457, allocations: 33.73 kB / 1.035 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.4571, allocations: 88.12 kB / 1.035 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.332e-05/0.4572, allocations: 31.55 kB / 1.035 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-06/0.4572, allocations: 0 / 1.035 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4573, allocations: 322.8 kB / 1.035 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.074e-05/0.4574, allocations: 31.98 kB / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-05/0.4575, allocations: 39.97 kB / 1.035 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.157e-05/0.4576, allocations: 40.3 kB / 1.035 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4576, allocations: 32 / 1.035 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000221/0.4578, allocations: 117.5 kB / 1.035 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.4578, allocations: 7.984 kB / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.4579, allocations: 0 / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.4579, allocations: 0 / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.218e-06/0.4579, allocations: 4 kB / 1.035 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.4579, allocations: 0 / 1.035 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.818e-05/0.4579, allocations: 11.84 kB / 1.035 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.458, allocations: 4 kB / 1.035 GB, free: 5.301 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001096/0.4581, allocations: 121.8 kB / 1.035 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.4581, allocations: 8.031 kB / 1.035 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.4582, allocations: 8.375 kB / 1.035 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.854e-05/0.4582, allocations: 7.984 kB / 1.035 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4582, allocations: 0 / 1.035 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4582, allocations: 0 / 1.035 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.4585, allocations: 185.5 kB / 1.036 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4585, allocations: 0 / 1.036 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.173e-06/0.4585, allocations: 0 / 1.036 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.4585, allocations: 3.984 kB / 1.036 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.4585, allocations: 0 / 1.036 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4585, allocations: 4 kB / 1.036 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.4586, allocations: 0 / 1.036 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.4588, allocations: 140.9 kB / 1.036 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.4589, allocations: 92.95 kB / 1.036 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.4589, allocations: 0 / 1.036 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.347e-05/0.4589, allocations: 0 / 1.036 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.459, allocations: 3.938 kB / 1.036 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.459, allocations: 4 kB / 1.036 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.255e-05/0.4591, allocations: 115.6 kB / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.6e-07/0.4591, allocations: 0 / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005287/0.4596, allocations: 83.86 kB / 1.036 GB, free: 4.441 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0008907/0.4605, allocations: 0.7334 MB / 1.037 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.4608, allocations: 75.94 kB / 1.037 GB, free: 3.602 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4608, allocations: 0 / 1.037 GB, free: 3.602 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.713e-05/0.4608, allocations: 35.98 kB / 1.037 GB, free: 3.566 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.461, allocations: 1.094 kB / 1.037 GB, free: 3.566 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007755/0.4618, allocations: 282.9 kB / 1.037 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.4621, allocations: 0.7004 MB / 1.038 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.321e-05/0.4622, allocations: 5.75 kB / 1.038 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.934e-05/0.4623, allocations: 27.42 kB / 1.038 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of SimCode: time 1.143e-06/0.4623, allocations: 0 / 1.038 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02642/0.4887, allocations: 2.561 MB / 1.04 GB, free: 128 kB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004739/0.4892, allocations: 264.4 kB / 1.041 GB, free: 15.77 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.384/2.873, allocations: 0 / 1.041 GB, free: 15.77 MB / 0.698 GB