Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="IDEAS_dev_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_dev_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.001523/0.001523, allocations: 108 kB / 15.6 MB, free: 132 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.001856/0.001856, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.43/1.43, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9716/0.9716, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 64.47 kB / 0.5055 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1543, allocations: 80.93 MB / 0.5845 GB, free: 4.371 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002333/0.1566, allocations: 1.224 MB / 0.5857 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.158, allocations: 0.8789 MB / 0.5866 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.1581, allocations: 0 / 0.5866 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.385e-05/0.1581, allocations: 7.938 kB / 0.5866 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.1583, allocations: 39.94 kB / 0.5866 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008056/0.1591, allocations: 243.4 kB / 0.5868 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.629e-05/0.1592, allocations: 31.95 kB / 0.5869 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.1592, allocations: 0 / 0.5869 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.477e-05/0.1592, allocations: 19.92 kB / 0.5869 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.1594, allocations: 51.88 kB / 0.5869 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.818e-06/0.1594, allocations: 0 / 0.5869 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004372/0.1599, allocations: 275.6 kB / 0.5872 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.177e-05/0.1599, allocations: 27.86 kB / 0.5872 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.16, allocations: 11.88 kB / 0.5872 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.1603, allocations: 247.7 kB / 0.5875 GB, free: 1.309 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.1603, allocations: 0 / 0.5875 GB, free: 1.309 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1603, allocations: 0 / 0.5875 GB, free: 1.309 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1604, allocations: 0 / 0.5875 GB, free: 1.309 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.0004106/0.1608, allocations: 383.2 kB / 0.5878 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1608, allocations: 12.03 kB / 0.5879 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.1609, allocations: 38.75 kB / 0.5879 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.1609, allocations: 4.938 kB / 0.5879 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.161, allocations: 176.2 kB / 0.5881 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.161, allocations: 384 / 0.5881 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.1611, allocations: 7.875 kB / 0.5881 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.1612, allocations: 57.69 kB / 0.5881 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1612, allocations: 0 / 0.5881 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.1612, allocations: 0 / 0.5881 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.645e-05/0.1612, allocations: 8 kB / 0.5881 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.889e-05/0.1613, allocations: 23.98 kB / 0.5882 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/0.1615, allocations: 193.4 kB / 0.5883 GB, free: 280 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.904e-05/0.1616, allocations: 54.5 kB / 0.5884 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.865e-05/0.1616, allocations: 40.83 kB / 0.5884 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.856e-06/0.1616, allocations: 3.984 kB / 0.5884 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.1617, allocations: 30.56 kB / 0.5885 GB, free: 128 kB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.1617, allocations: 0 / 0.5885 GB, free: 128 kB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002213/0.1619, allocations: 129.8 kB / 0.5886 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.1619, allocations: 55.44 kB / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.162, allocations: 136.1 kB / 0.5888 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.1621, allocations: 25.7 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.1621, allocations: 84.14 kB / 0.5889 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.1622, allocations: 31.55 kB / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.1622, allocations: 17.7 kB / 0.5889 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1623, allocations: 318.8 kB / 0.5892 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.262e-05/0.1623, allocations: 31.98 kB / 0.5893 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.729e-05/0.1624, allocations: 31.92 kB / 0.5893 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.759e-05/0.1624, allocations: 68.83 kB / 0.5894 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1625, allocations: 0 / 0.5894 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001122/0.1626, allocations: 105.8 kB / 0.5895 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1626, allocations: 4 kB / 0.5895 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1626, allocations: 0 / 0.5895 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1626, allocations: 7.938 kB / 0.5895 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.1626, allocations: 0 / 0.5895 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1626, allocations: 0 / 0.5895 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.897e-05/0.1627, allocations: 8.062 kB / 0.5895 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1627, allocations: 4 kB / 0.5895 GB, free: 15.03 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.499e-05/0.1628, allocations: 121.8 kB / 0.5896 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.1628, allocations: 11.84 kB / 0.5896 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.541e-05/0.1628, allocations: 8.375 kB / 0.5896 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.1628, allocations: 15.98 kB / 0.5896 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1628, allocations: 0 / 0.5896 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1628, allocations: 0 / 0.5896 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.163, allocations: 181.4 kB / 0.5898 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.163, allocations: 0 / 0.5898 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.22e-07/0.163, allocations: 4 kB / 0.5898 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.163, allocations: 0 / 0.5898 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.163, allocations: 4 kB / 0.5898 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.163, allocations: 0 / 0.5898 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.163, allocations: 0 / 0.5898 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.1632, allocations: 124.9 kB / 0.5899 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.1632, allocations: 85.09 kB / 0.59 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.1632, allocations: 3.984 kB / 0.59 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.124e-05/0.1632, allocations: 4.031 kB / 0.59 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.1633, allocations: 4 kB / 0.59 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.1633, allocations: 0 / 0.59 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.423e-05/0.1633, allocations: 103.3 kB / 0.5901 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1633, allocations: 0 / 0.5901 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003177/0.1637, allocations: 71.98 kB / 0.5902 GB, free: 14.2 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.0005632/0.1642, allocations: 0.7372 MB / 0.5909 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001145/0.1644, allocations: 67.92 kB / 0.591 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1644, allocations: 0 / 0.591 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.36e-05/0.1644, allocations: 35.98 kB / 0.591 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.1645, allocations: 3.047 kB / 0.591 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005168/0.1651, allocations: 271.7 kB / 0.5913 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.1653, allocations: 0.7002 MB / 0.592 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.936e-05/0.1654, allocations: 7 kB / 0.592 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.1654, allocations: 19.44 kB / 0.592 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1654, allocations: 0 / 0.592 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.185, allocations: 2.803 MB / 0.5947 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.411/7.596, allocations: 8.219 kB / 0.5947 GB, free: 9.648 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)