Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="IDEAS_IDEAS_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.009807/0.009807, allocations: 98.27 kB / 15.73 MB, free: 6.004 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.002005/0.002006, allocations: 197.2 kB / 16.67 MB, free: 5.922 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.137 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8357/0.8357, allocations: 132.2 MB / 422.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.66 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.16, allocations: 80.21 MB / 0.6592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002294/0.1624, allocations: 1.237 MB / 0.6604 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.1638, allocations: 0.8907 MB / 0.6613 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.1639, allocations: 3.938 kB / 0.6613 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.1639, allocations: 7.984 kB / 0.6613 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.1641, allocations: 27.95 kB / 0.6613 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008516/0.1649, allocations: 239.4 kB / 0.6616 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.399e-05/0.165, allocations: 35.95 kB / 0.6616 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.1651, allocations: 4 kB / 0.6616 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.898e-05/0.1651, allocations: 15.98 kB / 0.6616 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.1653, allocations: 47.94 kB / 0.6617 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.1653, allocations: 0 / 0.6617 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/0.1658, allocations: 287.5 kB / 0.662 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.346e-05/0.1658, allocations: 15.92 kB / 0.662 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.464e-05/0.1659, allocations: 15.88 kB / 0.662 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.1662, allocations: 239.6 kB / 0.6622 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1662, allocations: 0 / 0.6622 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1662, allocations: 4 kB / 0.6622 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.1662, allocations: 4 kB / 0.6622 GB, free: 10.86 MB / 0.4981 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.0004446/0.1667, allocations: 390.8 kB / 0.6626 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1667, allocations: 8.031 kB / 0.6626 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.1668, allocations: 38.73 kB / 0.6626 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.1668, allocations: 4.891 kB / 0.6626 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.1669, allocations: 172.3 kB / 0.6628 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.167, allocations: 4.125 kB / 0.6628 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.167, allocations: 7.984 kB / 0.6628 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.1671, allocations: 65.61 kB / 0.6629 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1671, allocations: 0 / 0.6629 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.1671, allocations: 0 / 0.6629 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-05/0.1672, allocations: 15.98 kB / 0.6629 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.022e-05/0.1672, allocations: 27.98 kB / 0.6629 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.1674, allocations: 169.6 kB / 0.6631 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.257e-05/0.1675, allocations: 58.5 kB / 0.6631 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.571e-05/0.1675, allocations: 36.88 kB / 0.6632 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.094e-06/0.1675, allocations: 4.188 kB / 0.6632 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.1676, allocations: 38.5 kB / 0.6632 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.1676, allocations: 4 kB / 0.6632 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0002043/0.1678, allocations: 129.5 kB / 0.6633 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.1678, allocations: 55.34 kB / 0.6634 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.1679, allocations: 129.8 kB / 0.6635 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.1679, allocations: 25.7 kB / 0.6635 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.168, allocations: 88.17 kB / 0.6636 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.168, allocations: 43.62 kB / 0.6637 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.1681, allocations: 13.72 kB / 0.6637 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1682, allocations: 322.8 kB / 0.664 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.268e-05/0.1682, allocations: 24 kB / 0.664 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.806e-05/0.1683, allocations: 27.98 kB / 0.664 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.111e-05/0.1683, allocations: 72.77 kB / 0.6641 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1684, allocations: 3.938 kB / 0.6641 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001103/0.1685, allocations: 101.6 kB / 0.6642 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1685, allocations: 10.25 kB / 0.6642 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1685, allocations: 0 / 0.6642 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1685, allocations: 4 kB / 0.6642 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.1685, allocations: 0 / 0.6642 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1685, allocations: 0 / 0.6642 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/0.1686, allocations: 7.984 kB / 0.6642 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.1686, allocations: 0 / 0.6642 GB, free: 8.57 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 8.928e-05/0.1687, allocations: 131.5 kB / 0.6644 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.1687, allocations: 3.953 kB / 0.6644 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.826e-05/0.1687, allocations: 12.38 kB / 0.6644 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.379e-05/0.1688, allocations: 11.98 kB / 0.6644 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1688, allocations: 7.938 kB / 0.6644 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1688, allocations: 0 / 0.6644 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.169, allocations: 169.6 kB / 0.6646 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.169, allocations: 3.938 kB / 0.6646 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-07/0.169, allocations: 0 / 0.6646 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.169, allocations: 0 / 0.6646 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.169, allocations: 7.969 kB / 0.6646 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.169, allocations: 0 / 0.6646 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.169, allocations: 0 / 0.6646 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.1691, allocations: 133 kB / 0.6647 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.1692, allocations: 89 kB / 0.6648 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.1692, allocations: 0 / 0.6648 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.124e-05/0.1692, allocations: 3.938 kB / 0.6648 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.1692, allocations: 0 / 0.6648 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.1692, allocations: 4 kB / 0.6648 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.615e-05/0.1693, allocations: 107.1 kB / 0.6649 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1693, allocations: 4.031 kB / 0.6649 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003148/0.1696, allocations: 63.88 kB / 0.6649 GB, free: 7.734 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.0006318/0.1703, allocations: 0.7371 MB / 0.6657 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.1704, allocations: 63.97 kB / 0.6657 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1704, allocations: 96 / 0.6657 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.088e-05/0.1704, allocations: 36 kB / 0.6658 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.1706, allocations: 11.98 kB / 0.6658 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/0.1711, allocations: 255.4 kB / 0.666 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.1714, allocations: 0.7001 MB / 0.6667 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.932e-05/0.1714, allocations: 14.92 kB / 0.6667 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.1715, allocations: 23.42 kB / 0.6667 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.1715, allocations: 0 / 0.6667 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.1911, allocations: 2.818 MB / 0.6695 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.417/7.608, allocations: 3.5 kB / 0.6695 GB, free: 3.188 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)