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.001591/0.001591, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002347/0.002347, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.749/2.749, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.771/1.771, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007318/0.0007323, allocations: 12 kB / 0.5069 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2995, allocations: 82.32 MB / 0.5873 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002583/0.3021, allocations: 0.9556 MB / 0.5883 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.3047, allocations: 0.8174 MB / 0.5891 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/0.3047, allocations: 0 / 0.5891 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.901e-05/0.3048, allocations: 0 / 0.5891 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.305, allocations: 27.95 kB / 0.5891 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.3061, allocations: 179.6 kB / 0.5893 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.3063, allocations: 19.97 kB / 0.5893 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.44e-05/0.3063, allocations: 3.984 kB / 0.5893 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.424e-05/0.3064, allocations: 15.98 kB / 0.5893 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.3066, allocations: 31.97 kB / 0.5893 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.3067, allocations: 0 / 0.5893 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006844/0.3073, allocations: 227.7 kB / 0.5895 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.3074, allocations: 12 kB / 0.5896 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.89e-05/0.3075, allocations: 33.62 kB / 0.5896 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004166/0.3079, allocations: 156 kB / 0.5897 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3079, allocations: 0 / 0.5897 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.308, allocations: 3.938 kB / 0.5897 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.308, allocations: 0 / 0.5897 GB, free: 0.5039 MB / 494.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.0006888/0.3087, allocations: 385.2 kB / 0.5901 GB, free: 84 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.565e-05/0.3087, allocations: 8.031 kB / 0.5901 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.432e-05/0.3088, allocations: 42.55 kB / 0.5902 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.3089, allocations: 7.906 kB / 0.5902 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.3091, allocations: 178.8 kB / 0.5903 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3092, allocations: 0 / 0.5903 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.3092, allocations: 0 / 0.5903 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.3094, allocations: 57.69 kB / 0.5904 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3094, allocations: 0 / 0.5904 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3094, allocations: 0 / 0.5904 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.582e-05/0.3095, allocations: 11.98 kB / 0.5904 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.76e-05/0.3096, allocations: 27.98 kB / 0.5904 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.3099, allocations: 177.6 kB / 0.5906 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.3101, allocations: 54.59 kB / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.3101, allocations: 0 / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.3101, allocations: 34.59 kB / 0.5907 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.983e-06/0.3101, allocations: 0 / 0.5907 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.00042/0.3106, allocations: 218.6 kB / 0.5909 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.3106, allocations: 51.41 kB / 0.5909 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.3108, allocations: 133.9 kB / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.3109, allocations: 25.7 kB / 0.5911 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.3109, allocations: 88.14 kB / 0.5912 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.781e-05/0.311, allocations: 35.53 kB / 0.5912 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.311, allocations: 3.938 kB / 0.5912 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3112, allocations: 322.8 kB / 0.5915 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.025e-05/0.3113, allocations: 23.98 kB / 0.5915 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.982e-05/0.3113, allocations: 27.98 kB / 0.5916 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.972e-05/0.3114, allocations: 39.95 kB / 0.5916 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3114, allocations: 0 / 0.5916 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001945/0.3116, allocations: 101.6 kB / 0.5917 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.3117, allocations: 10.19 kB / 0.5917 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.3117, allocations: 0 / 0.5917 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3117, allocations: 0 / 0.5917 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.873e-06/0.3117, allocations: 0 / 0.5917 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.3117, allocations: 0 / 0.5917 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.509e-05/0.3118, allocations: 3.906 kB / 0.5917 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.3118, allocations: 4 kB / 0.5917 GB, free: 14.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.312, allocations: 125.8 kB / 0.5918 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.312, allocations: 7.938 kB / 0.5918 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.312, allocations: 16.34 kB / 0.5919 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-05/0.3121, allocations: 8.375 kB / 0.5919 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3121, allocations: 0 / 0.5919 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3121, allocations: 0 / 0.5919 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.3123, allocations: 177.5 kB / 0.592 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3123, allocations: 7.938 kB / 0.592 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.223e-06/0.3124, allocations: 0 / 0.592 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.3124, allocations: 0 / 0.592 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.3124, allocations: 4 kB / 0.5921 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3124, allocations: 0 / 0.5921 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3124, allocations: 0 / 0.5921 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.3127, allocations: 132.9 kB / 0.5922 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.3127, allocations: 88.91 kB / 0.5923 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.3128, allocations: 0 / 0.5923 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.993e-05/0.3128, allocations: 0 / 0.5923 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.3128, allocations: 4 kB / 0.5923 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.3128, allocations: 4.031 kB / 0.5923 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001072/0.313, allocations: 110.9 kB / 0.5924 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.51e-07/0.313, allocations: 0 / 0.5924 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005647/0.3135, allocations: 72 kB / 0.5924 GB, free: 13.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00102/0.3146, allocations: 0.7217 MB / 0.5931 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001872/0.3148, allocations: 68 kB / 0.5932 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.3148, allocations: 4 kB / 0.5932 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.384e-05/0.3149, allocations: 35.98 kB / 0.5933 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.3151, allocations: 0 / 0.5933 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009288/0.316, allocations: 279 kB / 0.5935 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.3165, allocations: 0.6965 MB / 0.5942 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.903e-05/0.3166, allocations: 7.938 kB / 0.5942 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.764e-05/0.3167, allocations: 27.42 kB / 0.5942 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of SimCode: time 6.32e-07/0.3167, allocations: 0 / 0.5942 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/0.3437, allocations: 2.591 MB / 0.5968 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000374/0.3442, allocations: 244.9 kB / 0.597 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.972/3.316, allocations: 7.938 kB / 0.597 GB, free: 8.766 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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) Environment - environmentSimulation: