Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="BuildingSystems_BuildingSystems_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.005984/0.005984, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.001427/0.001427, allocations: 202.1 kB / 16.68 MB, free: 5.961 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00245/0.00245, allocations: 275 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9985/0.9985, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002774/0.002774, allocations: 99.84 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1669, allocations: 86.97 MB / 0.7659 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.00222/0.1691, allocations: 1.244 MB / 0.7672 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1706, allocations: 0.8856 MB / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.1706, allocations: 0 / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.1707, allocations: 0 / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.1708, allocations: 31.89 kB / 0.7681 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007207/0.1715, allocations: 251.4 kB / 0.7683 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.453e-05/0.1716, allocations: 23.97 kB / 0.7683 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.139e-05/0.1716, allocations: 0 / 0.7683 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.463e-05/0.1717, allocations: 23.91 kB / 0.7683 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.1718, allocations: 55.94 kB / 0.7684 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.1718, allocations: 0 / 0.7684 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004342/0.1723, allocations: 279.6 kB / 0.7687 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.208e-05/0.1723, allocations: 27.92 kB / 0.7687 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.1723, allocations: 11.88 kB / 0.7687 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.1727, allocations: 239.6 kB / 0.7689 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1727, allocations: 0 / 0.7689 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1727, allocations: 0 / 0.7689 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.1727, allocations: 0 / 0.7689 GB, free: 5.836 MB / 0.5606 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.0004369/0.1732, allocations: 394.8 kB / 0.7693 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1732, allocations: 12.03 kB / 0.7693 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.1732, allocations: 34.73 kB / 0.7693 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.566e-05/0.1733, allocations: 16.83 kB / 0.7694 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.1734, allocations: 176.3 kB / 0.7695 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1734, allocations: 384 / 0.7695 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.1734, allocations: 384 / 0.7695 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.1736, allocations: 53.81 kB / 0.7696 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1736, allocations: 4 kB / 0.7696 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.63e-06/0.1736, allocations: 0 / 0.7696 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/0.1736, allocations: 11.98 kB / 0.7696 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.88e-05/0.1737, allocations: 31.92 kB / 0.7696 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/0.1739, allocations: 173.6 kB / 0.7698 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.906e-05/0.174, allocations: 54.56 kB / 0.7698 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.454e-05/0.174, allocations: 44.86 kB / 0.7699 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.174, allocations: 0 / 0.7699 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.174, allocations: 34.5 kB / 0.7699 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.1741, allocations: 0 / 0.7699 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0001994/0.1743, allocations: 130 kB / 0.77 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.1743, allocations: 59.34 kB / 0.7701 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.1744, allocations: 125.9 kB / 0.7702 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1744, allocations: 29.7 kB / 0.7703 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.1745, allocations: 92.12 kB / 0.7703 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.1745, allocations: 35.67 kB / 0.7704 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.1746, allocations: 17.72 kB / 0.7704 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1747, allocations: 322.8 kB / 0.7707 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.128e-05/0.1748, allocations: 27.88 kB / 0.7707 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.199e-05/0.1748, allocations: 31.98 kB / 0.7708 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.84e-05/0.1749, allocations: 72.86 kB / 0.7708 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1749, allocations: 0 / 0.7708 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001176/0.175, allocations: 105.5 kB / 0.7709 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.175, allocations: 5.875 kB / 0.7709 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.175, allocations: 0 / 0.7709 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1751, allocations: 4 kB / 0.7709 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.1751, allocations: 0 / 0.7709 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.1751, allocations: 0 / 0.7709 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/0.1751, allocations: 0 / 0.7709 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1751, allocations: 4 kB / 0.7709 GB, free: 3.543 MB / 0.5606 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.016e-05/0.1752, allocations: 122.5 kB / 0.7711 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.1752, allocations: 11.89 kB / 0.7711 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.325e-05/0.1752, allocations: 8.359 kB / 0.7711 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/0.1753, allocations: 12 kB / 0.7711 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1753, allocations: 0 / 0.7711 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1753, allocations: 4.078 kB / 0.7711 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.1755, allocations: 177.6 kB / 0.7713 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1755, allocations: 0 / 0.7713 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-06/0.1755, allocations: 3.938 kB / 0.7713 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.1755, allocations: 4 kB / 0.7713 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1755, allocations: 8 kB / 0.7713 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1755, allocations: 0 / 0.7713 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.1755, allocations: 3.984 kB / 0.7713 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.1756, allocations: 121 kB / 0.7714 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.1757, allocations: 92.94 kB / 0.7715 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.1757, allocations: 0 / 0.7715 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.079e-05/0.1757, allocations: 0 / 0.7715 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.1757, allocations: 4.031 kB / 0.7715 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1758, allocations: 4 kB / 0.7715 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.878e-05/0.1758, allocations: 103.2 kB / 0.7716 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.868e-06/0.1758, allocations: 0 / 0.7716 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002829/0.1761, allocations: 75.81 kB / 0.7717 GB, free: 2.707 MB / 0.5606 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.0006709/0.1768, allocations: 0.7372 MB / 0.7724 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001204/0.1769, allocations: 71.91 kB / 0.7725 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1769, allocations: 0 / 0.7725 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.753e-05/0.177, allocations: 32 kB / 0.7725 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.1771, allocations: 7.062 kB / 0.7725 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004883/0.1776, allocations: 259.5 kB / 0.7727 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.178, allocations: 0.6962 MB / 0.7734 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.178, allocations: 10.23 kB / 0.7734 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.178, allocations: 25.83 kB / 0.7734 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.178, allocations: 0 / 0.7734 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3021/0.4802, allocations: 2.828 MB / 0.7762 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.382, allocations: 9.172 kB / 0.7762 GB, free: 13.66 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)