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.00559/0.00559, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001329/0.001329, allocations: 198.4 kB / 16.67 MB, free: 5.934 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9017/0.9017, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 59.91 kB / 0.5852 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3827, allocations: 80.91 MB / 0.6642 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001884/0.3846, allocations: 1.253 MB / 0.6654 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3857, allocations: 0.8793 MB / 0.6663 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.3858, allocations: 1.406 kB / 0.6663 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.809e-05/0.3858, allocations: 3.984 kB / 0.6663 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.858e-05/0.3859, allocations: 27.47 kB / 0.6663 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006632/0.3866, allocations: 241.2 kB / 0.6665 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.09e-05/0.3867, allocations: 32.72 kB / 0.6666 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.65e-05/0.3867, allocations: 1.219 kB / 0.6666 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.056e-05/0.3867, allocations: 19.38 kB / 0.6666 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.3869, allocations: 49.84 kB / 0.6666 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.747e-06/0.3869, allocations: 1.281 kB / 0.6666 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003515/0.3872, allocations: 284.5 kB / 0.6669 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.701e-05/0.3873, allocations: 21.94 kB / 0.6669 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.3873, allocations: 19.25 kB / 0.667 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.3876, allocations: 233.3 kB / 0.6672 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3876, allocations: 0 / 0.6672 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3876, allocations: 3.938 kB / 0.6672 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.3876, allocations: 4 kB / 0.6672 GB, free: 5.137 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.0002865/0.3879, allocations: 392.3 kB / 0.6676 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.3879, allocations: 13.91 kB / 0.6676 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/0.388, allocations: 36.7 kB / 0.6676 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.308e-05/0.388, allocations: 6.109 kB / 0.6676 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.145e-05/0.3881, allocations: 172.2 kB / 0.6678 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.3881, allocations: 5.375 kB / 0.6678 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.3881, allocations: 0 / 0.6678 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.78e-05/0.3882, allocations: 56.72 kB / 0.6678 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.3882, allocations: 7.938 kB / 0.6678 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.3882, allocations: 0 / 0.6678 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/0.3883, allocations: 17.66 kB / 0.6679 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.213e-05/0.3883, allocations: 29.14 kB / 0.6679 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.3885, allocations: 169.7 kB / 0.668 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.435e-05/0.3885, allocations: 52.88 kB / 0.6681 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.138e-05/0.3886, allocations: 39.75 kB / 0.6681 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/0.3886, allocations: 4 kB / 0.6681 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.3886, allocations: 40.09 kB / 0.6682 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.3886, allocations: 0 / 0.6682 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0001731/0.3888, allocations: 126.3 kB / 0.6683 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.652e-05/0.3888, allocations: 52.66 kB / 0.6684 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.144e-05/0.3889, allocations: 141.6 kB / 0.6685 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.49e-06/0.3889, allocations: 25.7 kB / 0.6685 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.917e-05/0.3889, allocations: 87.45 kB / 0.6686 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.3889, allocations: 43.14 kB / 0.6686 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.389, allocations: 14.97 kB / 0.6686 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.389, allocations: 321.3 kB / 0.669 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.892e-05/0.3891, allocations: 24.72 kB / 0.669 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.277e-05/0.3891, allocations: 28.73 kB / 0.669 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.329e-05/0.3891, allocations: 75.23 kB / 0.6691 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3892, allocations: 3.938 kB / 0.6691 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.132e-05/0.3893, allocations: 98.41 kB / 0.6692 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3893, allocations: 5.375 kB / 0.6692 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3893, allocations: 4.062 kB / 0.6692 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3893, allocations: 0 / 0.6692 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.3893, allocations: 1.281 kB / 0.6692 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3893, allocations: 0 / 0.6692 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.726e-05/0.3893, allocations: 9.234 kB / 0.6692 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.3894, allocations: 2.156 kB / 0.6692 GB, free: 3.262 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 5.524e-05/0.3894, allocations: 126.7 kB / 0.6693 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-06/0.3894, allocations: 6.547 kB / 0.6693 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.141e-05/0.3894, allocations: 7.156 kB / 0.6693 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.3895, allocations: 18.23 kB / 0.6693 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3895, allocations: 0 / 0.6693 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3895, allocations: 1.344 kB / 0.6693 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.3896, allocations: 168.9 kB / 0.6695 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3896, allocations: 1.375 kB / 0.6695 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.3896, allocations: 0 / 0.6695 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3896, allocations: 0 / 0.6695 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.3896, allocations: 13.11 kB / 0.6695 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3896, allocations: 1.219 kB / 0.6695 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3896, allocations: 0 / 0.6695 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.3897, allocations: 130.7 kB / 0.6696 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/0.3898, allocations: 87.59 kB / 0.6697 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.3898, allocations: 1.281 kB / 0.6697 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.187e-05/0.3898, allocations: 0 / 0.6697 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.2e-05/0.3898, allocations: 5.094 kB / 0.6697 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.3898, allocations: 6.219 kB / 0.6697 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.515e-05/0.3899, allocations: 103.9 kB / 0.6698 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.3899, allocations: 0 / 0.6698 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003119/0.3902, allocations: 74.44 kB / 0.6699 GB, free: 2.605 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.0004555/0.3907, allocations: 0.7386 MB / 0.6706 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.3908, allocations: 68.03 kB / 0.6707 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3908, allocations: 0 / 0.6707 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.097e-05/0.3908, allocations: 35.44 kB / 0.6707 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.391, allocations: 11.17 kB / 0.6707 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.3914, allocations: 257.6 kB / 0.671 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.3916, allocations: 0.6929 MB / 0.6717 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.643e-05/0.3916, allocations: 7.688 kB / 0.6717 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.3916, allocations: 25.95 kB / 0.6717 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.3916, allocations: 0 / 0.6717 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.4095, allocations: 2.817 MB / 0.6745 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/8.024, allocations: 14.08 kB / 0.6745 GB, free: 15.57 MB / 0.5137 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)