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.001586/0.001587, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 199.5 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.611/1.611, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001403/0.001403, allocations: 73.12 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1953, allocations: 114.6 MB / 0.7837 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002444/0.1978, allocations: 1.244 MB / 0.7849 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1993, allocations: 0.926 MB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.545e-05/0.1994, allocations: 0 / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.1994, allocations: 7.875 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.1996, allocations: 31.95 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008055/0.2004, allocations: 247.4 kB / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.975e-05/0.2005, allocations: 23.98 kB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.2005, allocations: 4 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.326e-05/0.2006, allocations: 23.95 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.2007, allocations: 51.88 kB / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.098e-06/0.2008, allocations: 0 / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004039/0.2012, allocations: 279.6 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.233e-05/0.2012, allocations: 19.91 kB / 0.7865 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.2013, allocations: 15.88 kB / 0.7865 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.2016, allocations: 235.8 kB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2016, allocations: 0 / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2016, allocations: 0 / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2016, allocations: 4 kB / 0.7867 GB, free: 10.12 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.0004289/0.202, allocations: 391.2 kB / 0.7871 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.2021, allocations: 15.97 kB / 0.7871 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.16e-05/0.2021, allocations: 34.75 kB / 0.7871 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.2022, allocations: 4.844 kB / 0.7871 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.2023, allocations: 180.2 kB / 0.7873 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.2023, allocations: 384 / 0.7873 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-06/0.2023, allocations: 384 / 0.7873 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.2025, allocations: 61.81 kB / 0.7874 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.2025, allocations: 0 / 0.7874 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.2025, allocations: 0 / 0.7874 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/0.2025, allocations: 12 kB / 0.7874 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.727e-05/0.2026, allocations: 35.92 kB / 0.7874 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.2028, allocations: 177.6 kB / 0.7876 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.069e-05/0.2029, allocations: 54.55 kB / 0.7876 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.59e-05/0.2029, allocations: 32.89 kB / 0.7877 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.139e-06/0.2029, allocations: 0 / 0.7877 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.203, allocations: 38.48 kB / 0.7877 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 8.52e-07/0.203, allocations: 7.938 kB / 0.7877 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0002189/0.2032, allocations: 133.7 kB / 0.7878 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.2032, allocations: 51.41 kB / 0.7879 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.2034, allocations: 133.8 kB / 0.788 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.2034, allocations: 25.7 kB / 0.788 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.2035, allocations: 88.14 kB / 0.7881 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.2035, allocations: 35.53 kB / 0.7881 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.2035, allocations: 13.72 kB / 0.7882 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.2037, allocations: 326.9 kB / 0.7885 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.43e-05/0.2037, allocations: 27.98 kB / 0.7885 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.907e-05/0.2038, allocations: 31.92 kB / 0.7885 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.332e-05/0.2039, allocations: 68.83 kB / 0.7886 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2039, allocations: 0 / 0.7886 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001082/0.204, allocations: 105.5 kB / 0.7887 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.204, allocations: 10.59 kB / 0.7887 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.204, allocations: 0 / 0.7887 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.204, allocations: 384 / 0.7887 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.204, allocations: 0 / 0.7887 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.204, allocations: 4.062 kB / 0.7887 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.705e-05/0.2041, allocations: 4 kB / 0.7887 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.2041, allocations: 3.938 kB / 0.7887 GB, free: 7.82 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.124e-05/0.2042, allocations: 128.7 kB / 0.7888 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.2042, allocations: 7.844 kB / 0.7888 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.619e-05/0.2042, allocations: 8.375 kB / 0.7889 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/0.2042, allocations: 11.98 kB / 0.7889 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2043, allocations: 0 / 0.7889 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2043, allocations: 4 kB / 0.7889 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.2044, allocations: 181.5 kB / 0.789 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2045, allocations: 0 / 0.789 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-06/0.2045, allocations: 3.938 kB / 0.789 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2045, allocations: 0 / 0.789 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.2045, allocations: 0 / 0.789 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2045, allocations: 0 / 0.789 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.2045, allocations: 0 / 0.789 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.2046, allocations: 125 kB / 0.7892 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.2047, allocations: 92.94 kB / 0.7893 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.2047, allocations: 4.031 kB / 0.7893 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.03e-05/0.2047, allocations: 0 / 0.7893 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/0.2047, allocations: 0 / 0.7893 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.2048, allocations: 8 kB / 0.7893 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.773e-05/0.2048, allocations: 99.27 kB / 0.7894 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2048, allocations: 0 / 0.7894 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003021/0.2051, allocations: 67.98 kB / 0.7894 GB, free: 7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006086/0.2057, allocations: 0.7449 MB / 0.7902 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.2059, allocations: 67.92 kB / 0.7902 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2059, allocations: 3.938 kB / 0.7902 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.332e-05/0.2059, allocations: 35.98 kB / 0.7903 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.2061, allocations: 0 / 0.7903 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000493/0.2066, allocations: 259.9 kB / 0.7905 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.2069, allocations: 0.7001 MB / 0.7912 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.255e-05/0.2069, allocations: 7.5 kB / 0.7912 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.2069, allocations: 26.19 kB / 0.7912 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.2069, allocations: 0 / 0.7912 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.2249, allocations: 2.81 MB / 0.794 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.526/7.751, allocations: 14.25 kB / 0.794 GB, free: 2.445 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)