Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 100.4 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.934/1.934, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.881/1.881, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009597/0.0009598, allocations: 17.59 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3618, allocations: 116.3 MB / 0.7873 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001347/0.3632, allocations: 0.9782 MB / 0.7882 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.3645, allocations: 0.8685 MB / 0.7891 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.623e-05/0.3645, allocations: 0 / 0.7891 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.096e-05/0.3646, allocations: 0 / 0.7891 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.303e-05/0.3647, allocations: 27.95 kB / 0.7891 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000608/0.3653, allocations: 178.4 kB / 0.7893 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.384e-05/0.3654, allocations: 15.97 kB / 0.7893 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.3654, allocations: 4 kB / 0.7893 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.625e-05/0.3655, allocations: 19.97 kB / 0.7893 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.3656, allocations: 27.97 kB / 0.7893 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.3656, allocations: 7.938 kB / 0.7893 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003313/0.3659, allocations: 219.7 kB / 0.7895 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.428e-05/0.366, allocations: 15.92 kB / 0.7896 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.366, allocations: 37.7 kB / 0.7896 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.3662, allocations: 160 kB / 0.7897 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.3663, allocations: 0 / 0.7897 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.359e-06/0.3663, allocations: 0 / 0.7897 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.3663, allocations: 3.938 kB / 0.7897 GB, free: 9.277 MB / 0.6075 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.0003939/0.3667, allocations: 379.1 kB / 0.7901 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.3667, allocations: 12.03 kB / 0.7901 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/0.3668, allocations: 34.5 kB / 0.7902 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.3668, allocations: 7.906 kB / 0.7902 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.367, allocations: 178.9 kB / 0.7903 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.367, allocations: 4 kB / 0.7903 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.413e-06/0.367, allocations: 0 / 0.7903 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.3671, allocations: 53.69 kB / 0.7904 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3672, allocations: 4 kB / 0.7904 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3672, allocations: 0 / 0.7904 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/0.3672, allocations: 11.94 kB / 0.7904 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.047e-05/0.3673, allocations: 31.92 kB / 0.7904 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002408/0.3675, allocations: 181.5 kB / 0.7906 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.993e-05/0.3676, allocations: 54.56 kB / 0.7907 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.57e-06/0.3676, allocations: 0 / 0.7907 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.3676, allocations: 34.56 kB / 0.7907 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 8.32e-07/0.3676, allocations: 0 / 0.7907 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0002978/0.3679, allocations: 210.8 kB / 0.7909 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.368, allocations: 51.41 kB / 0.7909 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.3681, allocations: 129.8 kB / 0.7911 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.3681, allocations: 25.7 kB / 0.7911 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.3682, allocations: 92.17 kB / 0.7912 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.3683, allocations: 31.55 kB / 0.7912 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.3683, allocations: 0 / 0.7912 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.3685, allocations: 330.7 kB / 0.7915 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.373e-05/0.3685, allocations: 27.94 kB / 0.7915 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.614e-05/0.3686, allocations: 27.98 kB / 0.7916 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.21e-05/0.3686, allocations: 27.98 kB / 0.7916 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3686, allocations: 0 / 0.7916 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001173/0.3687, allocations: 102 kB / 0.7917 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3688, allocations: 8 kB / 0.7917 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.3688, allocations: 4 kB / 0.7917 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3688, allocations: 0 / 0.7917 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.412e-06/0.3688, allocations: 3.938 kB / 0.7917 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3688, allocations: 3.984 kB / 0.7917 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.568e-05/0.3688, allocations: 0 / 0.7917 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.3689, allocations: 4 kB / 0.7917 GB, free: 7.012 MB / 0.6075 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.0001074/0.369, allocations: 125.8 kB / 0.7918 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.369, allocations: 7.906 kB / 0.7918 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.828e-05/0.369, allocations: 12.38 kB / 0.7919 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.369, allocations: 15.98 kB / 0.7919 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.369, allocations: 0 / 0.7919 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3691, allocations: 0 / 0.7919 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.3692, allocations: 181.5 kB / 0.792 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3693, allocations: 0 / 0.792 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.3693, allocations: 0 / 0.792 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3693, allocations: 7.984 kB / 0.7921 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.3693, allocations: 0 / 0.7921 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3693, allocations: 0 / 0.7921 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3693, allocations: 4 kB / 0.7921 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.3694, allocations: 117 kB / 0.7922 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.3695, allocations: 88.97 kB / 0.7923 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.3695, allocations: 0 / 0.7923 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.135e-05/0.3695, allocations: 0 / 0.7923 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.3696, allocations: 0 / 0.7923 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.3696, allocations: 7.984 kB / 0.7923 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.348e-05/0.3696, allocations: 103.3 kB / 0.7924 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3696, allocations: 7.969 kB / 0.7924 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003449/0.37, allocations: 71.98 kB / 0.7924 GB, free: 6.18 MB / 0.6075 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.0006645/0.3707, allocations: 0.7294 MB / 0.7932 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.3708, allocations: 67.97 kB / 0.7932 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3708, allocations: 4.094 kB / 0.7932 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.026e-05/0.3709, allocations: 35.94 kB / 0.7933 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.371, allocations: 3.938 kB / 0.7933 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/0.3716, allocations: 271 kB / 0.7935 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.3719, allocations: 0.7005 MB / 0.7942 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.203e-05/0.3719, allocations: 7.984 kB / 0.7942 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.372, allocations: 23.44 kB / 0.7942 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.372, allocations: 0 / 0.7942 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.3855, allocations: 2.613 MB / 0.7968 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/0.3857, allocations: 261.8 kB / 0.797 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.077/2.463, allocations: 0 / 0.797 GB, free: 1.523 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) Environment - environmentSimulation: