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.0008752/0.0008752, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005137/0.005137, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.181/1.181, allocations: 223.2 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7236/0.7236, allocations: 132.3 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.0003391, allocations: 12 kB / 0.5041 GB, free: 3.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3621, allocations: 81.58 MB / 0.5838 GB, free: 4.102 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001097/0.3633, allocations: 0.9718 MB / 0.5847 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.3645, allocations: 0.8971 MB / 0.5856 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.445e-05/0.3645, allocations: 0 / 0.5856 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.507e-05/0.3646, allocations: 2.797 kB / 0.5856 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.3647, allocations: 30.66 kB / 0.5856 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000554/0.3652, allocations: 199.6 kB / 0.5858 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.825e-05/0.3653, allocations: 34.31 kB / 0.5859 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.3653, allocations: 0.6562 kB / 0.5859 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.557e-05/0.3654, allocations: 22.86 kB / 0.5859 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.3655, allocations: 56.91 kB / 0.5859 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.3655, allocations: 0 / 0.5859 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000396/0.3659, allocations: 269.6 kB / 0.5862 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.29e-05/0.366, allocations: 23.52 kB / 0.5862 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.366, allocations: 42.23 kB / 0.5863 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.3664, allocations: 246 kB / 0.5865 GB, free: 2.508 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3664, allocations: 0.8906 kB / 0.5865 GB, free: 2.508 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3664, allocations: 0 / 0.5865 GB, free: 2.508 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.3664, allocations: 0.9062 kB / 0.5865 GB, free: 2.508 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.0002824/0.3667, allocations: 380.6 kB / 0.5869 GB, free: 2.117 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3667, allocations: 10.72 kB / 0.5869 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.593e-05/0.3667, allocations: 37.03 kB / 0.5869 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.3668, allocations: 7.672 kB / 0.5869 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.396e-05/0.3669, allocations: 181 kB / 0.5871 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.3669, allocations: 1.375 kB / 0.5871 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.3669, allocations: 4.781 kB / 0.5871 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.367, allocations: 56.52 kB / 0.5872 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.367, allocations: 3.938 kB / 0.5872 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.367, allocations: 0.9688 kB / 0.5872 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-05/0.3671, allocations: 11.52 kB / 0.5872 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.877e-05/0.3671, allocations: 28.19 kB / 0.5872 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.3673, allocations: 176.2 kB / 0.5874 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.201e-05/0.3673, allocations: 57.52 kB / 0.5874 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.708e-05/0.3674, allocations: 37.23 kB / 0.5875 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.3674, allocations: 1.359 kB / 0.5875 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.3674, allocations: 31.16 kB / 0.5875 GB, free: 1.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.3674, allocations: 0 / 0.5875 GB, free: 1.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002026/0.3676, allocations: 133.5 kB / 0.5876 GB, free: 1.469 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.3677, allocations: 53.09 kB / 0.5877 GB, free: 1.406 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.756e-05/0.3677, allocations: 128.8 kB / 0.5878 GB, free: 1.301 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.6e-06/0.3678, allocations: 25.98 kB / 0.5878 GB, free: 1.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.435e-05/0.3678, allocations: 88.47 kB / 0.5879 GB, free: 1.184 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.3678, allocations: 34.22 kB / 0.5879 GB, free: 1.156 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/0.3678, allocations: 20.5 kB / 0.5879 GB, free: 1.133 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.18e-05/0.3679, allocations: 316.4 kB / 0.5882 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.513e-05/0.3679, allocations: 28.28 kB / 0.5883 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.368, allocations: 36.77 kB / 0.5883 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.051e-05/0.3681, allocations: 69.95 kB / 0.5884 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3681, allocations: 0 / 0.5884 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001115/0.3682, allocations: 105.2 kB / 0.5885 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3682, allocations: 6.438 kB / 0.5885 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3682, allocations: 0 / 0.5885 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.3682, allocations: 0.7031 kB / 0.5885 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.3682, allocations: 1.375 kB / 0.5885 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.3682, allocations: 0 / 0.5885 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.688e-05/0.3683, allocations: 5.906 kB / 0.5885 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.3683, allocations: 10.36 kB / 0.5885 GB, free: 0.7266 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.701e-05/0.3684, allocations: 126 kB / 0.5886 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.3684, allocations: 5.094 kB / 0.5886 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.357e-05/0.3684, allocations: 9.469 kB / 0.5886 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/0.3684, allocations: 15.75 kB / 0.5886 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3684, allocations: 0 / 0.5886 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3684, allocations: 2.219 kB / 0.5887 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.931e-05/0.3685, allocations: 176.6 kB / 0.5888 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3685, allocations: 0 / 0.5888 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3685, allocations: 4 kB / 0.5888 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.3686, allocations: 1.188 kB / 0.5888 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.3686, allocations: 1.484 kB / 0.5888 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.3686, allocations: 3.938 kB / 0.5888 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3686, allocations: 1.234 kB / 0.5888 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.3687, allocations: 135.7 kB / 0.589 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.3687, allocations: 84.03 kB / 0.589 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.3688, allocations: 5.609 kB / 0.589 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.088e-05/0.3688, allocations: 4.031 kB / 0.589 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.045e-05/0.3688, allocations: 2.219 kB / 0.5891 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.3688, allocations: 2.438 kB / 0.5891 GB, free: 196 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.904e-05/0.3688, allocations: 104.5 kB / 0.5892 GB, free: 116 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3688, allocations: 0 / 0.5892 GB, free: 116 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.3692, allocations: 73.38 kB / 0.5892 GB, free: 104 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.0005556/0.3697, allocations: 0.7329 MB / 0.5899 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.3698, allocations: 64.33 kB / 0.59 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.3699, allocations: 4 kB / 0.59 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.199e-05/0.3699, allocations: 36.02 kB / 0.59 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.37, allocations: 0 / 0.59 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/0.3705, allocations: 284.4 kB / 0.5903 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.3707, allocations: 0.6947 MB / 0.591 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.488e-05/0.3708, allocations: 11 kB / 0.591 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.3708, allocations: 19.06 kB / 0.591 GB, free: 14.54 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3708, allocations: 1.375 kB / 0.591 GB, free: 14.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.893/2.264, allocations: 2.593 MB / 0.5936 GB, free: 14.35 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002708/2.264, allocations: 272.8 kB / 0.5938 GB, free: 13.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/4.697, allocations: 0 / 0.5938 GB, free: 13.99 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)