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.005547/0.005547, allocations: 98.64 kB / 15.73 MB, free: 6.039 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.001363/0.001363, allocations: 202.3 kB / 16.68 MB, free: 5.961 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.985/0.985, allocations: 135.6 MB / 426.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002732/0.002732, allocations: 59.91 kB / 0.5858 GB, free: 3.168 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3756, allocations: 81.02 MB / 0.6649 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001849/0.3775, allocations: 1.239 MB / 0.6661 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.3786, allocations: 0.8823 MB / 0.667 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.135e-05/0.3786, allocations: 0 / 0.667 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.3787, allocations: 0 / 0.667 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.74e-05/0.3788, allocations: 32.44 kB / 0.667 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006555/0.3794, allocations: 243.9 kB / 0.6672 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.432e-05/0.3795, allocations: 25.19 kB / 0.6673 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.324e-05/0.3795, allocations: 1.344 kB / 0.6673 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/0.3796, allocations: 22.81 kB / 0.6673 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.3797, allocations: 47.2 kB / 0.6673 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.3797, allocations: 3.984 kB / 0.6673 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003803/0.3801, allocations: 280.2 kB / 0.6676 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.958e-05/0.3802, allocations: 22.3 kB / 0.6676 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.3802, allocations: 15.53 kB / 0.6676 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.3805, allocations: 244.5 kB / 0.6679 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3805, allocations: 1.438 kB / 0.6679 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3805, allocations: 0 / 0.6679 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.3805, allocations: 4 kB / 0.6679 GB, free: 4.898 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.0003049/0.3808, allocations: 387.4 kB / 0.6683 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.3809, allocations: 10.41 kB / 0.6683 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.492e-05/0.3809, allocations: 39.98 kB / 0.6683 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.3809, allocations: 7.203 kB / 0.6683 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.763e-05/0.381, allocations: 175.8 kB / 0.6685 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.381, allocations: 13.17 kB / 0.6685 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.3811, allocations: 0 / 0.6685 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.503e-05/0.3812, allocations: 55.94 kB / 0.6685 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3812, allocations: 9.391 kB / 0.6685 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.3812, allocations: 0 / 0.6685 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/0.3812, allocations: 9.25 kB / 0.6686 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.379e-05/0.3813, allocations: 25.55 kB / 0.6686 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.3814, allocations: 180 kB / 0.6688 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.501e-05/0.3815, allocations: 53.83 kB / 0.6688 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.319e-05/0.3815, allocations: 43.72 kB / 0.6688 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-06/0.3815, allocations: 0 / 0.6688 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.3815, allocations: 35.97 kB / 0.6689 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 9.21e-07/0.3815, allocations: 0 / 0.6689 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0001771/0.3817, allocations: 135.4 kB / 0.669 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.99e-05/0.3818, allocations: 51.41 kB / 0.6691 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.359e-05/0.3818, allocations: 133.7 kB / 0.6692 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.63e-06/0.3818, allocations: 27.11 kB / 0.6692 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.093e-05/0.3819, allocations: 86.67 kB / 0.6693 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.3819, allocations: 35.66 kB / 0.6693 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.3819, allocations: 21.8 kB / 0.6693 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.279e-05/0.382, allocations: 321.5 kB / 0.6697 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.966e-05/0.382, allocations: 28.64 kB / 0.6697 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.279e-05/0.382, allocations: 21.59 kB / 0.6697 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.639e-05/0.3821, allocations: 77.41 kB / 0.6698 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3821, allocations: 5.562 kB / 0.6698 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.097e-05/0.3822, allocations: 93.27 kB / 0.6699 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.3822, allocations: 5.281 kB / 0.6699 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3823, allocations: 8.047 kB / 0.6699 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.3823, allocations: 5.094 kB / 0.6699 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.3823, allocations: 0 / 0.6699 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3823, allocations: 9.266 kB / 0.6699 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.3823, allocations: 3.938 kB / 0.6699 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.3823, allocations: 2.281 kB / 0.6699 GB, free: 3.012 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.353e-05/0.3824, allocations: 123.9 kB / 0.67 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.689e-06/0.3824, allocations: 6.547 kB / 0.67 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.298e-05/0.3824, allocations: 11.31 kB / 0.67 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/0.3824, allocations: 17.61 kB / 0.6701 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3824, allocations: 0 / 0.6701 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.3824, allocations: 1.312 kB / 0.6701 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.351e-05/0.3825, allocations: 174.1 kB / 0.6702 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3826, allocations: 0 / 0.6702 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.3826, allocations: 0 / 0.6702 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3826, allocations: 1.594 kB / 0.6702 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.3826, allocations: 0 / 0.6702 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3826, allocations: 0 / 0.6702 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3826, allocations: 1.25 kB / 0.6702 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.3827, allocations: 130.5 kB / 0.6704 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.3827, allocations: 83.91 kB / 0.6704 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.3827, allocations: 0 / 0.6704 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.118e-05/0.3827, allocations: 5 kB / 0.6704 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.059e-05/0.3828, allocations: 5.453 kB / 0.6704 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.3828, allocations: 5.25 kB / 0.6704 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.02e-05/0.3828, allocations: 104.5 kB / 0.6705 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3828, allocations: 0 / 0.6705 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002964/0.3831, allocations: 77.61 kB / 0.6706 GB, free: 2.359 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.0004442/0.3836, allocations: 0.7375 MB / 0.6713 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.3837, allocations: 67.72 kB / 0.6714 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3837, allocations: 1.281 kB / 0.6714 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.9e-05/0.3837, allocations: 42.89 kB / 0.6714 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.3839, allocations: 3.484 kB / 0.6715 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004275/0.3843, allocations: 254.5 kB / 0.6717 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.3845, allocations: 0.696 MB / 0.6724 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.657e-05/0.3845, allocations: 14.67 kB / 0.6724 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.3845, allocations: 17.62 kB / 0.6724 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.3845, allocations: 0 / 0.6724 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.4072, allocations: 2.814 MB / 0.6752 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/8.087, allocations: 12.19 kB / 0.6752 GB, free: 15.33 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)