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.007333/0.007333, allocations: 98.02 kB / 15.73 MB, free: 6.055 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.001734/0.001734, allocations: 193.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 1.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7368/0.7368, allocations: 132.2 MB / 422.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 71.55 kB / 0.5809 GB, free: 24.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1401, allocations: 80.22 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002447/0.1426, allocations: 1.226 MB / 0.6604 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1441, allocations: 0.8931 MB / 0.6613 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.659e-05/0.1442, allocations: 0 / 0.6613 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.366e-05/0.1442, allocations: 0 / 0.6613 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.1444, allocations: 27.95 kB / 0.6613 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008735/0.1453, allocations: 241.5 kB / 0.6616 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.599e-05/0.1454, allocations: 43.89 kB / 0.6616 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.1454, allocations: 0 / 0.6616 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.416e-05/0.1454, allocations: 15.98 kB / 0.6616 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.1456, allocations: 47.94 kB / 0.6617 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.227e-06/0.1456, allocations: 4 kB / 0.6617 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004656/0.1461, allocations: 283.5 kB / 0.6619 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.122e-05/0.1461, allocations: 15.92 kB / 0.662 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.1462, allocations: 15.88 kB / 0.662 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003712/0.1466, allocations: 239.6 kB / 0.6622 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1466, allocations: 4 kB / 0.6622 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1466, allocations: 0 / 0.6622 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5e-06/0.1466, allocations: 0 / 0.6622 GB, free: 7.68 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.0004395/0.147, allocations: 394.8 kB / 0.6626 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.1471, allocations: 12.02 kB / 0.6626 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.1471, allocations: 38.69 kB / 0.6626 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.1472, allocations: 4.891 kB / 0.6626 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.1473, allocations: 172.3 kB / 0.6628 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1473, allocations: 4.125 kB / 0.6628 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.1473, allocations: 7.984 kB / 0.6628 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.1475, allocations: 53.69 kB / 0.6629 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.1475, allocations: 0 / 0.6629 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1475, allocations: 7.984 kB / 0.6629 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.048e-05/0.1475, allocations: 12 kB / 0.6629 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.981e-05/0.1476, allocations: 31.92 kB / 0.6629 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.1478, allocations: 173.6 kB / 0.6631 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.936e-05/0.1478, allocations: 54.52 kB / 0.6631 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.69e-05/0.1479, allocations: 36.88 kB / 0.6632 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.333e-06/0.1479, allocations: 0 / 0.6632 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.1479, allocations: 38.56 kB / 0.6632 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.1479, allocations: 0 / 0.6632 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0002131/0.1482, allocations: 133.7 kB / 0.6633 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.1482, allocations: 51.41 kB / 0.6634 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.1483, allocations: 129.8 kB / 0.6635 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.1483, allocations: 25.7 kB / 0.6635 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.1484, allocations: 88.14 kB / 0.6636 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.1484, allocations: 39.62 kB / 0.6636 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.1485, allocations: 17.75 kB / 0.6637 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1486, allocations: 322.8 kB / 0.664 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.275e-05/0.1486, allocations: 32.2 kB / 0.664 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.358e-05/0.1487, allocations: 31.88 kB / 0.664 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.031e-05/0.1488, allocations: 72.83 kB / 0.6641 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1488, allocations: 3.938 kB / 0.6641 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001041/0.1489, allocations: 97.56 kB / 0.6642 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1489, allocations: 4 kB / 0.6642 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1489, allocations: 3.984 kB / 0.6642 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1489, allocations: 4.062 kB / 0.6642 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.1489, allocations: 0 / 0.6642 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1489, allocations: 4 kB / 0.6642 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.149, allocations: 0 / 0.6642 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.149, allocations: 3.984 kB / 0.6642 GB, free: 5.383 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.165e-05/0.1491, allocations: 134.6 kB / 0.6643 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-06/0.1491, allocations: 3.953 kB / 0.6643 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.727e-05/0.1491, allocations: 8.375 kB / 0.6644 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/0.1491, allocations: 15.98 kB / 0.6644 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1491, allocations: 4 kB / 0.6644 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1491, allocations: 0 / 0.6644 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.1493, allocations: 173.6 kB / 0.6645 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1493, allocations: 0 / 0.6645 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.764e-06/0.1493, allocations: 4 kB / 0.6645 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1493, allocations: 0 / 0.6645 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.1493, allocations: 0 / 0.6645 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1493, allocations: 4 kB / 0.6645 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1493, allocations: 0 / 0.6645 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.1495, allocations: 137 kB / 0.6647 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.1495, allocations: 89 kB / 0.6648 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.1495, allocations: 0 / 0.6648 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.033e-05/0.1496, allocations: 0 / 0.6648 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.1496, allocations: 3.984 kB / 0.6648 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.1496, allocations: 4 kB / 0.6648 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.403e-05/0.1496, allocations: 102.3 kB / 0.6649 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1497, allocations: 0 / 0.6649 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003087/0.15, allocations: 71.86 kB / 0.6649 GB, free: 4.543 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.0006075/0.1506, allocations: 0.7332 MB / 0.6657 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.1507, allocations: 71.91 kB / 0.6657 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1507, allocations: 0 / 0.6657 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.058e-05/0.1508, allocations: 35.98 kB / 0.6658 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.1509, allocations: 5.719 kB / 0.6658 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.1514, allocations: 259.5 kB / 0.666 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.1517, allocations: 0.704 MB / 0.6667 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.528e-05/0.1518, allocations: 4 kB / 0.6667 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.1518, allocations: 19.44 kB / 0.6667 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.1518, allocations: 0 / 0.6667 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.1715, allocations: 2.83 MB / 0.6695 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/7.668, allocations: 5.906 kB / 0.6695 GB, free: 15.98 MB / 0.5137 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)