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.001356/0.001356, allocations: 108 kB / 15.61 MB, free: 148 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.001618/0.001619, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.734/0.734, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 65.34 kB / 0.5019 GB, free: 3.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3946, allocations: 80.19 MB / 0.5802 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002455/0.3971, allocations: 1.238 MB / 0.5814 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.3985, allocations: 0.8858 MB / 0.5823 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.617e-05/0.3985, allocations: 3.938 kB / 0.5823 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.254e-05/0.3986, allocations: 4.594 kB / 0.5823 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.3987, allocations: 26.34 kB / 0.5823 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008514/0.3996, allocations: 252 kB / 0.5826 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.178e-05/0.3997, allocations: 30.89 kB / 0.5826 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.3997, allocations: 6.609 kB / 0.5826 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.929e-05/0.3998, allocations: 23.84 kB / 0.5826 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.3999, allocations: 44.42 kB / 0.5827 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.3999, allocations: 0 / 0.5827 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000474/0.4004, allocations: 276 kB / 0.5829 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.8e-05/0.4005, allocations: 22.78 kB / 0.583 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.4005, allocations: 16.97 kB / 0.583 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000434/0.4009, allocations: 239 kB / 0.5832 GB, free: 2.879 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.401, allocations: 0.6562 kB / 0.5832 GB, free: 2.879 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.401, allocations: 0 / 0.5832 GB, free: 2.879 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.401, allocations: 0 / 0.5832 GB, free: 2.879 MB / 430.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.0003353/0.4013, allocations: 388.6 kB / 0.5836 GB, free: 2.484 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4014, allocations: 8.781 kB / 0.5836 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.81e-05/0.4014, allocations: 42.61 kB / 0.5836 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.4014, allocations: 7.203 kB / 0.5836 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.036e-05/0.4015, allocations: 186.2 kB / 0.5838 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.4015, allocations: 4.312 kB / 0.5838 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-06/0.4015, allocations: 5.438 kB / 0.5838 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.4017, allocations: 55.12 kB / 0.5839 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.4017, allocations: 1.094 kB / 0.5839 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.4017, allocations: 0 / 0.5839 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-05/0.4017, allocations: 12.16 kB / 0.5839 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.322e-05/0.4018, allocations: 27.66 kB / 0.5839 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.402, allocations: 172.7 kB / 0.5841 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.485e-05/0.402, allocations: 57.89 kB / 0.5841 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.102e-05/0.4021, allocations: 36.84 kB / 0.5842 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.4021, allocations: 0.9375 kB / 0.5842 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.4021, allocations: 32.52 kB / 0.5842 GB, free: 1.883 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.4021, allocations: 0 / 0.5842 GB, free: 1.883 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002023/0.4023, allocations: 136.6 kB / 0.5843 GB, free: 1.828 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.4024, allocations: 52.62 kB / 0.5844 GB, free: 1.766 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.464e-05/0.4025, allocations: 133 kB / 0.5845 GB, free: 1.656 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.094e-06/0.4025, allocations: 26.42 kB / 0.5845 GB, free: 1.625 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.556e-05/0.4025, allocations: 87.94 kB / 0.5846 GB, free: 1.539 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.4025, allocations: 29.81 kB / 0.5846 GB, free: 1.516 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.4026, allocations: 16.34 kB / 0.5847 GB, free: 1.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.582e-05/0.4026, allocations: 321.2 kB / 0.585 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.192e-05/0.4027, allocations: 27.12 kB / 0.585 GB, free: 1.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.442e-05/0.4027, allocations: 28.02 kB / 0.585 GB, free: 1.176 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.123e-05/0.4028, allocations: 74.27 kB / 0.5851 GB, free: 1.156 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4028, allocations: 0 / 0.5851 GB, free: 1.156 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001195/0.4029, allocations: 105.9 kB / 0.5852 GB, free: 1.105 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.403, allocations: 5.406 kB / 0.5852 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.403, allocations: 0 / 0.5852 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.403, allocations: 0.75 kB / 0.5852 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.184e-06/0.403, allocations: 2.141 kB / 0.5852 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.403, allocations: 0 / 0.5852 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.769e-05/0.403, allocations: 7.922 kB / 0.5852 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.403, allocations: 3.859 kB / 0.5852 GB, free: 1.098 MB / 430.1 MB 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 6.288e-05/0.4031, allocations: 132.4 kB / 0.5853 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.4031, allocations: 7.703 kB / 0.5853 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.738e-05/0.4031, allocations: 12 kB / 0.5854 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.616e-05/0.4032, allocations: 12.5 kB / 0.5854 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4032, allocations: 1.125 kB / 0.5854 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.4032, allocations: 3.938 kB / 0.5854 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.917e-05/0.4033, allocations: 176.7 kB / 0.5855 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4033, allocations: 2 kB / 0.5855 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.4033, allocations: 0 / 0.5855 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4033, allocations: 4.656 kB / 0.5856 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.4033, allocations: 2.156 kB / 0.5856 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.4033, allocations: 4 kB / 0.5856 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4033, allocations: 0.7031 kB / 0.5856 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.4035, allocations: 127.4 kB / 0.5857 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.4035, allocations: 83.48 kB / 0.5858 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.4035, allocations: 1.922 kB / 0.5858 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.104e-05/0.4035, allocations: 0 / 0.5858 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/0.4035, allocations: 6.078 kB / 0.5858 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.4035, allocations: 2.562 kB / 0.5858 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.112e-05/0.4036, allocations: 105.2 kB / 0.5859 GB, free: 492 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4036, allocations: 0 / 0.5859 GB, free: 492 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003758/0.404, allocations: 72.12 kB / 0.5859 GB, free: 480 kB / 430.1 MB 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.0005587/0.4045, allocations: 0.7247 MB / 0.5866 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.4047, allocations: 69.52 kB / 0.5867 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4047, allocations: 0 / 0.5867 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.271e-05/0.4048, allocations: 36.05 kB / 0.5867 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.4049, allocations: 0.875 kB / 0.5867 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005488/0.4055, allocations: 265.4 kB / 0.587 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.4057, allocations: 0.6984 MB / 0.5877 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.673e-05/0.4058, allocations: 4.188 kB / 0.5877 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.467e-05/0.4058, allocations: 23.78 kB / 0.5877 GB, free: 14.92 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4058, allocations: 0 / 0.5877 GB, free: 14.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.4263, allocations: 2.788 MB / 0.5904 GB, free: 14.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.136/7.563, allocations: 9.562 kB / 0.5904 GB, free: 14.51 MB / 446.1 MB (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)