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.001555/0.001555, allocations: 104 kB / 15.61 MB, free: 148 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.001328/0.001328, allocations: 197.8 kB / 16.54 MB, free: 6.684 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002529/0.002529, allocations: 294.8 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.078/1.078, allocations: 178.6 MB / 0.5073 GB, free: 4.609 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00275/0.00275, allocations: 100.6 kB / 0.6066 GB, free: 24.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1623, allocations: 89.14 MB / 0.6936 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002447/0.1648, allocations: 1.246 MB / 0.6949 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.1663, allocations: 0.892 MB / 0.6957 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.1663, allocations: 1.344 kB / 0.6957 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.664e-05/0.1664, allocations: 3.984 kB / 0.6957 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.1665, allocations: 23.97 kB / 0.6958 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007214/0.1672, allocations: 249.1 kB / 0.696 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.57e-05/0.1673, allocations: 31.95 kB / 0.696 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.52e-05/0.1673, allocations: 0 / 0.696 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.377e-05/0.1674, allocations: 19.97 kB / 0.696 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.1675, allocations: 48.8 kB / 0.6961 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.1675, allocations: 0 / 0.6961 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000435/0.168, allocations: 283.6 kB / 0.6964 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.433e-05/0.168, allocations: 19.91 kB / 0.6964 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.1681, allocations: 19.88 kB / 0.6964 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.1684, allocations: 235.7 kB / 0.6966 GB, free: 1.156 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1684, allocations: 7.938 kB / 0.6966 GB, free: 1.148 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1684, allocations: 0 / 0.6966 GB, free: 1.148 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.1684, allocations: 0 / 0.6966 GB, free: 1.148 MB / 494.1 MB 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.0004307/0.1689, allocations: 387.2 kB / 0.697 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1689, allocations: 8.031 kB / 0.697 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.1689, allocations: 34.75 kB / 0.697 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.238e-05/0.169, allocations: 4.844 kB / 0.697 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.1691, allocations: 176.2 kB / 0.6972 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.1691, allocations: 384 / 0.6972 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.1692, allocations: 4.375 kB / 0.6972 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.1693, allocations: 65.73 kB / 0.6973 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1693, allocations: 0 / 0.6973 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.1693, allocations: 7.984 kB / 0.6973 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/0.1693, allocations: 15.98 kB / 0.6973 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.764e-05/0.1694, allocations: 24 kB / 0.6973 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.1696, allocations: 177.5 kB / 0.6975 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.404e-05/0.1697, allocations: 50.56 kB / 0.6975 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.315e-05/0.1697, allocations: 41 kB / 0.6976 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.884e-06/0.1697, allocations: 0 / 0.6976 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.1698, allocations: 42.5 kB / 0.6976 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.1698, allocations: 0 / 0.6976 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0002103/0.17, allocations: 129.5 kB / 0.6977 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.1701, allocations: 51.41 kB / 0.6978 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.1702, allocations: 129.8 kB / 0.6979 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1702, allocations: 25.7 kB / 0.6979 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.1703, allocations: 96.06 kB / 0.698 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.1703, allocations: 27.56 kB / 0.6981 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.1703, allocations: 21.73 kB / 0.6981 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1705, allocations: 318.8 kB / 0.6984 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.338e-05/0.1705, allocations: 27.98 kB / 0.6984 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.014e-05/0.1706, allocations: 27.98 kB / 0.6984 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.133e-05/0.1707, allocations: 77.14 kB / 0.6985 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1707, allocations: 0 / 0.6985 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001186/0.1708, allocations: 105.5 kB / 0.6986 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.1708, allocations: 4 kB / 0.6986 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1708, allocations: 0 / 0.6986 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1708, allocations: 4.062 kB / 0.6986 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.1708, allocations: 0 / 0.6986 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.1708, allocations: 0 / 0.6986 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.687e-05/0.1709, allocations: 4 kB / 0.6986 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1709, allocations: 0 / 0.6986 GB, free: 14.87 MB / 0.4981 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.398e-05/0.171, allocations: 126.5 kB / 0.6987 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.171, allocations: 7.844 kB / 0.6987 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.171, allocations: 12.36 kB / 0.6988 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.171, allocations: 11.94 kB / 0.6988 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1711, allocations: 8 kB / 0.6988 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.1711, allocations: 0 / 0.6988 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.1712, allocations: 181.5 kB / 0.699 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1712, allocations: 0 / 0.699 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-06/0.1712, allocations: 3.938 kB / 0.699 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.1713, allocations: 0 / 0.699 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.1713, allocations: 0 / 0.699 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.1713, allocations: 0 / 0.699 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1713, allocations: 4 kB / 0.699 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.1714, allocations: 129 kB / 0.6991 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.1715, allocations: 88.95 kB / 0.6992 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.928e-06/0.1715, allocations: 0 / 0.6992 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.096e-05/0.1715, allocations: 0 / 0.6992 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.1715, allocations: 3.938 kB / 0.6992 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.1716, allocations: 4 kB / 0.6992 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.489e-05/0.1716, allocations: 107.6 kB / 0.6993 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1716, allocations: 0 / 0.6993 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002851/0.1719, allocations: 67.98 kB / 0.6993 GB, free: 14.04 MB / 0.4981 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.0006637/0.1726, allocations: 0.7418 MB / 0.7001 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.1727, allocations: 63.98 kB / 0.7001 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1727, allocations: 0 / 0.7001 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.279e-05/0.1728, allocations: 35.98 kB / 0.7002 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.1729, allocations: 5.25 kB / 0.7002 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.1735, allocations: 263.7 kB / 0.7004 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.1738, allocations: 0.6924 MB / 0.7011 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.83e-05/0.1739, allocations: 9.406 kB / 0.7011 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.1739, allocations: 23.42 kB / 0.7011 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1739, allocations: 0 / 0.7011 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.1981, allocations: 2.823 MB / 0.7039 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.694/7.892, allocations: 9.625 kB / 0.7039 GB, free: 9.488 MB / 0.4981 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)