Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.005222/0.005222, allocations: 97.5 kB / 15.73 MB, free: 6.055 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.001167/0.001167, allocations: 191.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.003/1.003, allocations: 143 MB / 433.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 67.89 kB / 0.5951 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3933, allocations: 82.02 MB / 0.6752 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001974/0.3953, allocations: 1.239 MB / 0.6764 GB, free: 268 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.3967, allocations: 0.8918 MB / 0.6773 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.3968, allocations: 0 / 0.6773 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.3968, allocations: 0 / 0.6773 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.397, allocations: 32.25 kB / 0.6773 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008098/0.3978, allocations: 240.7 kB / 0.6776 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.923e-05/0.3979, allocations: 31.94 kB / 0.6776 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.3979, allocations: 6.062 kB / 0.6776 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.977e-05/0.3979, allocations: 15.3 kB / 0.6776 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.3981, allocations: 53.86 kB / 0.6777 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.3981, allocations: 1.25 kB / 0.6777 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004397/0.3986, allocations: 276.5 kB / 0.6779 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.3986, allocations: 25.59 kB / 0.6779 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/0.3987, allocations: 16.69 kB / 0.678 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.399, allocations: 240.6 kB / 0.6782 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.399, allocations: 5.109 kB / 0.6782 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.433e-06/0.399, allocations: 0 / 0.6782 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.399, allocations: 0 / 0.6782 GB, free: 15.06 MB / 0.5137 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.0004425/0.3995, allocations: 387.7 kB / 0.6786 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3995, allocations: 10.56 kB / 0.6786 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/0.3996, allocations: 39.84 kB / 0.6786 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.3996, allocations: 10.8 kB / 0.6786 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.3997, allocations: 176.4 kB / 0.6788 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.3997, allocations: 4.375 kB / 0.6788 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.3998, allocations: 1.562 kB / 0.6788 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.3999, allocations: 64.05 kB / 0.6789 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.3999, allocations: 0 / 0.6789 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.3999, allocations: 1.312 kB / 0.6789 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/0.3999, allocations: 8.531 kB / 0.6789 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.495e-05/0.4, allocations: 33.55 kB / 0.6789 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.4002, allocations: 173.2 kB / 0.6791 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.849e-05/0.4003, allocations: 53.78 kB / 0.6791 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.4004, allocations: 38.47 kB / 0.6792 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.509e-06/0.4004, allocations: 1.094 kB / 0.6792 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.4004, allocations: 35.5 kB / 0.6792 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.4004, allocations: 0 / 0.6792 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.000216/0.4006, allocations: 135.2 kB / 0.6793 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.4007, allocations: 51.41 kB / 0.6794 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.4008, allocations: 130.9 kB / 0.6795 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.4008, allocations: 29.69 kB / 0.6795 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.4009, allocations: 90.7 kB / 0.6796 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.4009, allocations: 31.56 kB / 0.6796 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.4009, allocations: 18.97 kB / 0.6797 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.4011, allocations: 321.4 kB / 0.68 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.4e-05/0.4011, allocations: 28.64 kB / 0.68 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.699e-05/0.4011, allocations: 25.06 kB / 0.68 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.959e-05/0.4012, allocations: 78.41 kB / 0.6801 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4012, allocations: 0 / 0.6801 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000111/0.4013, allocations: 106.5 kB / 0.6802 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4014, allocations: 8.391 kB / 0.6802 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4014, allocations: 1.094 kB / 0.6802 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.4014, allocations: 0 / 0.6802 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.703e-06/0.4014, allocations: 1.094 kB / 0.6802 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.4014, allocations: 0 / 0.6802 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.22e-05/0.4014, allocations: 8.938 kB / 0.6802 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.4015, allocations: 2.219 kB / 0.6802 GB, free: 13.19 MB / 0.5137 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 8.647e-05/0.4015, allocations: 123.7 kB / 0.6803 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.4016, allocations: 10.05 kB / 0.6803 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.682e-05/0.4016, allocations: 7.719 kB / 0.6803 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.456e-05/0.4016, allocations: 13.67 kB / 0.6804 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4016, allocations: 0 / 0.6804 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.4016, allocations: 1.031 kB / 0.6804 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.4018, allocations: 177.9 kB / 0.6805 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4018, allocations: 0 / 0.6805 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-06/0.4018, allocations: 5.375 kB / 0.6805 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.4018, allocations: 0 / 0.6805 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.4018, allocations: 4 kB / 0.6805 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4018, allocations: 1.344 kB / 0.6805 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4018, allocations: 4 kB / 0.6805 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.402, allocations: 127.8 kB / 0.6807 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.402, allocations: 86.5 kB / 0.6807 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.4021, allocations: 5.547 kB / 0.6807 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.144e-05/0.4021, allocations: 0 / 0.6807 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.4021, allocations: 5.562 kB / 0.6808 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.4021, allocations: 5.047 kB / 0.6808 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.39e-05/0.4022, allocations: 100.7 kB / 0.6809 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4022, allocations: 0 / 0.6809 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003795/0.4026, allocations: 77.95 kB / 0.6809 GB, free: 12.53 MB / 0.5137 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.0006794/0.4033, allocations: 0.7344 MB / 0.6816 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.4034, allocations: 72 kB / 0.6817 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4034, allocations: 0 / 0.6817 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.293e-05/0.4035, allocations: 35.77 kB / 0.6818 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.4036, allocations: 6.062 kB / 0.6818 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005742/0.4042, allocations: 249.5 kB / 0.682 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.4045, allocations: 0.6976 MB / 0.6827 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.951e-05/0.4046, allocations: 10.5 kB / 0.6827 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.4046, allocations: 17.84 kB / 0.6827 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.4046, allocations: 0 / 0.6827 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.4254, allocations: 2.878 MB / 0.6855 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.38/7.805, allocations: 6.609 kB / 0.6855 GB, free: 9.477 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)