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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.005612/0.005613, allocations: 101 kB / 15.73 MB, free: 6.059 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.001583/0.001583, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9035/0.9035, allocations: 143.3 MB / 433.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 56.28 kB / 0.5954 GB, free: 12.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1728, allocations: 82.04 MB / 0.6755 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002428/0.1753, allocations: 1.223 MB / 0.6767 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.1768, allocations: 0.8894 MB / 0.6775 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.273e-05/0.1769, allocations: 0 / 0.6775 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.575e-05/0.1769, allocations: 4 kB / 0.6775 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.177, allocations: 27.89 kB / 0.6776 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008195/0.1779, allocations: 243.5 kB / 0.6778 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.035e-05/0.178, allocations: 31.95 kB / 0.6778 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.294e-05/0.178, allocations: 4 kB / 0.6778 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.547e-05/0.1781, allocations: 19.92 kB / 0.6779 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.1782, allocations: 47.94 kB / 0.6779 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.1783, allocations: 7.875 kB / 0.6779 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004713/0.1787, allocations: 279.6 kB / 0.6782 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.759e-05/0.1788, allocations: 19.97 kB / 0.6782 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.1788, allocations: 15.81 kB / 0.6782 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.1792, allocations: 243.6 kB / 0.6784 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1792, allocations: 0 / 0.6784 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1792, allocations: 0 / 0.6784 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.1792, allocations: 0 / 0.6784 GB, free: 7.531 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.000463/0.1797, allocations: 386.9 kB / 0.6788 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1797, allocations: 16.02 kB / 0.6788 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.501e-05/0.1798, allocations: 34.75 kB / 0.6789 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.1798, allocations: 16.89 kB / 0.6789 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.18, allocations: 176.2 kB / 0.679 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.18, allocations: 4.359 kB / 0.679 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.18, allocations: 384 / 0.679 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.1801, allocations: 61.81 kB / 0.6791 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1801, allocations: 0 / 0.6791 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.1801, allocations: 3.984 kB / 0.6791 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.235e-05/0.1802, allocations: 8 kB / 0.6791 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.9e-05/0.1802, allocations: 31.92 kB / 0.6791 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.1804, allocations: 173.7 kB / 0.6793 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.38e-05/0.1805, allocations: 54.61 kB / 0.6794 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.327e-05/0.1806, allocations: 40.88 kB / 0.6794 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.1806, allocations: 0 / 0.6794 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.1806, allocations: 34.5 kB / 0.6794 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.1806, allocations: 0 / 0.6794 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.000219/0.1809, allocations: 137.6 kB / 0.6796 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.1809, allocations: 55.44 kB / 0.6796 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.181, allocations: 133.8 kB / 0.6797 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.181, allocations: 25.7 kB / 0.6798 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.1811, allocations: 84.42 kB / 0.6799 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.1811, allocations: 39.62 kB / 0.6799 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.1812, allocations: 13.72 kB / 0.6799 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1813, allocations: 326.8 kB / 0.6802 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.507e-05/0.1814, allocations: 27.98 kB / 0.6802 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.102e-05/0.1814, allocations: 28 kB / 0.6803 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.289e-05/0.1815, allocations: 72.77 kB / 0.6803 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1815, allocations: 0 / 0.6803 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001257/0.1816, allocations: 101.6 kB / 0.6804 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1817, allocations: 6.812 kB / 0.6804 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1817, allocations: 3.984 kB / 0.6804 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1817, allocations: 7.938 kB / 0.6805 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.1817, allocations: 0 / 0.6805 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1817, allocations: 0 / 0.6805 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.1817, allocations: 0 / 0.6805 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.1817, allocations: 8.062 kB / 0.6805 GB, free: 5.23 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 9.204e-05/0.1818, allocations: 118.5 kB / 0.6806 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.1819, allocations: 11.89 kB / 0.6806 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.449e-05/0.1819, allocations: 8.375 kB / 0.6806 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/0.1819, allocations: 15.98 kB / 0.6806 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1819, allocations: 0 / 0.6806 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1819, allocations: 0 / 0.6806 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.1821, allocations: 177.5 kB / 0.6808 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1821, allocations: 0 / 0.6808 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-06/0.1821, allocations: 7.938 kB / 0.6808 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.1821, allocations: 4 kB / 0.6808 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.1821, allocations: 0 / 0.6808 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1821, allocations: 96 / 0.6808 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1821, allocations: 7.938 kB / 0.6808 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.1823, allocations: 121 kB / 0.6809 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.1823, allocations: 92.94 kB / 0.681 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.1824, allocations: 0 / 0.681 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.099e-05/0.1824, allocations: 32 / 0.681 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.951e-05/0.1824, allocations: 15.97 kB / 0.681 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.1824, allocations: 0 / 0.681 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.149e-05/0.1825, allocations: 103.7 kB / 0.6811 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1825, allocations: 0 / 0.6811 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002969/0.1828, allocations: 71.86 kB / 0.6812 GB, free: 4.395 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.0006821/0.1835, allocations: 0.7294 MB / 0.6819 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.1836, allocations: 67.97 kB / 0.682 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1836, allocations: 0 / 0.682 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.319e-05/0.1837, allocations: 39.92 kB / 0.682 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.1838, allocations: 4.328 kB / 0.682 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/0.1844, allocations: 248.6 kB / 0.6822 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.1847, allocations: 0.7041 MB / 0.6829 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.022e-05/0.1848, allocations: 13.05 kB / 0.6829 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.1848, allocations: 19.44 kB / 0.683 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1848, allocations: 0 / 0.683 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.2113, allocations: 2.872 MB / 0.6858 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.073, allocations: 17.22 kB / 0.6858 GB, free: 15.81 MB / 0.5294 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)