Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009821/0.0009821, allocations: 194.7 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.4 MB / 0.5776 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001005/0.001004, allocations: 87.84 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003728, allocations: 9.969 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2215, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001469/0.223, allocations: 0.9826 MB / 0.9013 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.2243, allocations: 0.8826 MB / 0.9022 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.544e-05/0.2244, allocations: 0 / 0.9022 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.586e-05/0.2244, allocations: 4 kB / 0.9022 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.2246, allocations: 27.94 kB / 0.9022 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005372/0.2251, allocations: 183.7 kB / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.112e-05/0.2252, allocations: 23.97 kB / 0.9024 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.923e-05/0.2252, allocations: 0 / 0.9024 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.819e-05/0.2253, allocations: 23.97 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.2254, allocations: 43.94 kB / 0.9025 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.2254, allocations: 3.938 kB / 0.9025 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.2257, allocations: 239.6 kB / 0.9027 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.329e-05/0.2258, allocations: 15.98 kB / 0.9027 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.2258, allocations: 37.64 kB / 0.9027 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.226, allocations: 148 kB / 0.9029 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.226, allocations: 8 kB / 0.9029 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.014e-06/0.226, allocations: 0 / 0.9029 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.226, allocations: 0 / 0.9029 GB, free: 61.15 MB / 0.6042 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.0003021/0.2263, allocations: 379.1 kB / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2264, allocations: 8.031 kB / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.192e-05/0.2264, allocations: 34.56 kB / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.257e-05/0.2264, allocations: 7.859 kB / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.363e-05/0.2265, allocations: 178.9 kB / 0.9035 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.2266, allocations: 0 / 0.9035 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.2266, allocations: 4 kB / 0.9035 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.87e-05/0.2267, allocations: 61.62 kB / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.2267, allocations: 0 / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.2267, allocations: 0 / 0.9035 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.2267, allocations: 12 kB / 0.9035 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.849e-05/0.2268, allocations: 27.98 kB / 0.9036 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.2269, allocations: 173.6 kB / 0.9037 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.066e-05/0.227, allocations: 58.59 kB / 0.9038 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.227, allocations: 40.88 kB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.227, allocations: 0 / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.227, allocations: 34.56 kB / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 7.41e-07/0.227, allocations: 0 / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0001554/0.2272, allocations: 125.6 kB / 0.904 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.2272, allocations: 51.41 kB / 0.904 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.379e-05/0.2273, allocations: 129.8 kB / 0.9042 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.2273, allocations: 25.7 kB / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.318e-05/0.2274, allocations: 96.44 kB / 0.9043 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.2274, allocations: 27.56 kB / 0.9043 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-06/0.2274, allocations: 0 / 0.9043 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.944e-05/0.2275, allocations: 326.7 kB / 0.9046 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.394e-05/0.2275, allocations: 31.98 kB / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.803e-05/0.2275, allocations: 31.92 kB / 0.9047 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.959e-05/0.2275, allocations: 27.98 kB / 0.9047 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2276, allocations: 0 / 0.9047 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 7.636e-05/0.2276, allocations: 101.5 kB / 0.9048 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.2277, allocations: 8.062 kB / 0.9048 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.2277, allocations: 0 / 0.9048 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.2277, allocations: 0 / 0.9048 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.2277, allocations: 4 kB / 0.9048 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.2277, allocations: 0 / 0.9048 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.617e-05/0.2277, allocations: 7.844 kB / 0.9048 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.2277, allocations: 4 kB / 0.9048 GB, free: 58.95 MB / 0.6042 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 5.875e-05/0.2278, allocations: 125.8 kB / 0.9049 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.2278, allocations: 7.906 kB / 0.9049 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.339e-05/0.2278, allocations: 12.38 kB / 0.905 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.2278, allocations: 19.98 kB / 0.905 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2279, allocations: 0 / 0.905 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.2279, allocations: 0 / 0.905 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.131e-05/0.228, allocations: 177.5 kB / 0.9051 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.228, allocations: 0 / 0.9051 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.228, allocations: 0 / 0.9051 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.228, allocations: 0 / 0.9051 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.228, allocations: 4 kB / 0.9052 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.228, allocations: 0 / 0.9052 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.228, allocations: 3.984 kB / 0.9052 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.437e-05/0.2281, allocations: 129 kB / 0.9053 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.2281, allocations: 88.95 kB / 0.9054 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.2281, allocations: 7.922 kB / 0.9054 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.107e-05/0.2281, allocations: 0 / 0.9054 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.047e-05/0.2282, allocations: 0 / 0.9054 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.2282, allocations: 4 kB / 0.9054 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.809e-05/0.2282, allocations: 103.6 kB / 0.9055 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2282, allocations: 0 / 0.9055 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002763/0.2285, allocations: 76.02 kB / 0.9055 GB, free: 58.11 MB / 0.6042 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.0003983/0.2289, allocations: 0.7294 MB / 0.9063 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.947e-05/0.229, allocations: 67.97 kB / 0.9063 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.229, allocations: 0 / 0.9063 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.36e-05/0.229, allocations: 40.08 kB / 0.9064 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.2292, allocations: 0 / 0.9064 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004121/0.2296, allocations: 259 kB / 0.9066 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.2297, allocations: 0.7004 MB / 0.9073 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.574e-05/0.2298, allocations: 9.938 kB / 0.9073 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.2298, allocations: 19.42 kB / 0.9073 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2298, allocations: 4 kB / 0.9073 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01134/0.2412, allocations: 2.639 MB / 0.9099 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/0.2414, allocations: 270.8 kB / 0.9102 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/1.841, allocations: 3.453 kB / 0.9102 GB, free: 53.43 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)