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.01038/0.01038, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001518/0.001518, allocations: 202.6 kB / 16.68 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 2.135/2.135, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.28/1.28, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 77.3 kB / 0.5809 GB, free: 1.152 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1868, allocations: 80.2 MB / 0.6592 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.003062/0.1899, allocations: 1.228 MB / 0.6604 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001866/0.1918, allocations: 0.8968 MB / 0.6613 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.501e-05/0.1919, allocations: 0 / 0.6613 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.794e-05/0.1919, allocations: 0 / 0.6613 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.1921, allocations: 31.94 kB / 0.6613 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009463/0.193, allocations: 251.7 kB / 0.6616 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.807e-05/0.1931, allocations: 31.95 kB / 0.6616 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.882e-05/0.1932, allocations: 7.938 kB / 0.6616 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.607e-05/0.1933, allocations: 15.98 kB / 0.6616 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.1934, allocations: 43.94 kB / 0.6617 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.1934, allocations: 0 / 0.6617 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005618/0.194, allocations: 291.5 kB / 0.662 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.968e-05/0.1941, allocations: 15.92 kB / 0.662 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.1941, allocations: 15.88 kB / 0.662 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.1945, allocations: 239.6 kB / 0.6622 GB, free: 11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1945, allocations: 0 / 0.6622 GB, free: 11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.214e-06/0.1945, allocations: 0 / 0.6622 GB, free: 11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.465e-06/0.1945, allocations: 4 kB / 0.6622 GB, free: 11 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.0005798/0.1951, allocations: 394.8 kB / 0.6626 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1952, allocations: 8.031 kB / 0.6626 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.1952, allocations: 38.73 kB / 0.6626 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.008e-05/0.1952, allocations: 12.89 kB / 0.6626 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.1954, allocations: 172.3 kB / 0.6628 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1954, allocations: 4.125 kB / 0.6628 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.1955, allocations: 7.922 kB / 0.6628 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.1956, allocations: 57.69 kB / 0.6629 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1956, allocations: 0 / 0.6629 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.1957, allocations: 0 / 0.6629 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.654e-05/0.1957, allocations: 15.98 kB / 0.6629 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.835e-05/0.1958, allocations: 27.98 kB / 0.6629 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002466/0.196, allocations: 169.7 kB / 0.6631 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.567e-05/0.1961, allocations: 62.56 kB / 0.6631 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.742e-05/0.1962, allocations: 36.84 kB / 0.6632 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.1962, allocations: 0 / 0.6632 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.1962, allocations: 34.56 kB / 0.6632 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.1962, allocations: 0 / 0.6632 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0002476/0.1965, allocations: 133.6 kB / 0.6633 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.1965, allocations: 55.72 kB / 0.6634 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.1967, allocations: 129.8 kB / 0.6635 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.174e-05/0.1967, allocations: 25.7 kB / 0.6635 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.1968, allocations: 92.08 kB / 0.6636 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.079e-05/0.1969, allocations: 39.62 kB / 0.6637 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.1969, allocations: 13.72 kB / 0.6637 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.1971, allocations: 322.8 kB / 0.664 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.521e-05/0.1971, allocations: 24 kB / 0.664 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-05/0.1972, allocations: 31.98 kB / 0.664 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.655e-05/0.1973, allocations: 76.7 kB / 0.6641 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1973, allocations: 3.938 kB / 0.6641 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001308/0.1974, allocations: 101.6 kB / 0.6642 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1975, allocations: 4 kB / 0.6642 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1975, allocations: 0 / 0.6642 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1975, allocations: 0 / 0.6642 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.1975, allocations: 0 / 0.6642 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1975, allocations: 0 / 0.6642 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.1975, allocations: 4.062 kB / 0.6642 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.1975, allocations: 11.92 kB / 0.6642 GB, free: 8.695 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 0.0001008/0.1977, allocations: 123.1 kB / 0.6643 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.1977, allocations: 7.938 kB / 0.6644 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.835e-05/0.1977, allocations: 8.375 kB / 0.6644 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-05/0.1977, allocations: 11.98 kB / 0.6644 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1977, allocations: 0 / 0.6644 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1978, allocations: 7.984 kB / 0.6644 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.198, allocations: 177.5 kB / 0.6646 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.198, allocations: 0 / 0.6646 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.198, allocations: 4.094 kB / 0.6646 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1981, allocations: 3.938 kB / 0.6646 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.1981, allocations: 0 / 0.6646 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1981, allocations: 3.984 kB / 0.6646 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.1981, allocations: 4 kB / 0.6646 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.1984, allocations: 132.9 kB / 0.6647 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.029e-05/0.1984, allocations: 81.05 kB / 0.6648 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.1984, allocations: 4 kB / 0.6648 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.131e-05/0.1985, allocations: 4.031 kB / 0.6648 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.1985, allocations: 0 / 0.6648 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.1985, allocations: 4 kB / 0.6648 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.326e-05/0.1986, allocations: 105.5 kB / 0.6649 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1986, allocations: 0 / 0.6649 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003382/0.1989, allocations: 63.88 kB / 0.6649 GB, free: 7.863 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.0007632/0.1997, allocations: 0.741 MB / 0.6657 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000189/0.1999, allocations: 63.97 kB / 0.6657 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1999, allocations: 0 / 0.6657 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.602e-05/0.2, allocations: 32 kB / 0.6658 GB, free: 7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.2002, allocations: 15.19 kB / 0.6658 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006736/0.2008, allocations: 263.6 kB / 0.666 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.2013, allocations: 0.6962 MB / 0.6667 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.081e-05/0.2013, allocations: 4 kB / 0.6667 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.2014, allocations: 23.42 kB / 0.6667 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.2014, allocations: 7.938 kB / 0.6667 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03561/0.237, allocations: 2.815 MB / 0.6695 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.27, allocations: 7.484 kB / 0.6695 GB, free: 3.316 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)