Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 108 kB / 15.61 MB, free: 152 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.001149/0.001149, allocations: 197.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.769/1.769, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 67.69 kB / 0.6716 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2137, allocations: 114.6 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.00234/0.2161, allocations: 1.245 MB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.2175, allocations: 0.9182 MB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.2176, allocations: 0 / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.011e-05/0.2176, allocations: 11.92 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.2177, allocations: 35.89 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007978/0.2185, allocations: 246.6 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.86e-05/0.2186, allocations: 27.95 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.2187, allocations: 4 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.738e-05/0.2187, allocations: 19.92 kB / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.2189, allocations: 55.88 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.2189, allocations: 0 / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004239/0.2193, allocations: 271.6 kB / 0.7863 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.2194, allocations: 19.98 kB / 0.7863 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.2194, allocations: 23.8 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.2197, allocations: 239.7 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2197, allocations: 0 / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2197, allocations: 0 / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.2198, allocations: 0 / 0.7865 GB, free: 10.25 MB / 0.6075 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.000368/0.2201, allocations: 387.2 kB / 0.7869 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2202, allocations: 12.03 kB / 0.7869 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.081e-05/0.2202, allocations: 30.75 kB / 0.7869 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.2202, allocations: 12.84 kB / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.2204, allocations: 180.2 kB / 0.7871 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.2204, allocations: 384 / 0.7871 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.373e-06/0.2204, allocations: 384 / 0.7871 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.2205, allocations: 61.81 kB / 0.7872 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.2205, allocations: 3.938 kB / 0.7872 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.2205, allocations: 0 / 0.7872 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/0.2206, allocations: 11.98 kB / 0.7872 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.382e-05/0.2206, allocations: 24 kB / 0.7872 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.2208, allocations: 181.5 kB / 0.7874 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.651e-05/0.2209, allocations: 54.59 kB / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/0.2209, allocations: 40.88 kB / 0.7875 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.2209, allocations: 0 / 0.7875 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.221, allocations: 38.5 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.221, allocations: 0 / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0001901/0.2212, allocations: 129.5 kB / 0.7877 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.2212, allocations: 55.44 kB / 0.7877 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.467e-05/0.2213, allocations: 133.8 kB / 0.7878 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.2213, allocations: 25.7 kB / 0.7879 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.2214, allocations: 88.12 kB / 0.7879 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.2214, allocations: 27.56 kB / 0.788 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.2215, allocations: 17.7 kB / 0.788 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.969e-05/0.2216, allocations: 318.8 kB / 0.7883 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.138e-05/0.2216, allocations: 27.98 kB / 0.7883 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.855e-05/0.2216, allocations: 35.98 kB / 0.7884 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.965e-05/0.2217, allocations: 72.77 kB / 0.7884 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2217, allocations: 0 / 0.7884 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001483/0.2219, allocations: 105.5 kB / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2219, allocations: 7.938 kB / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2219, allocations: 0 / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2219, allocations: 4 kB / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.2219, allocations: 0 / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.2219, allocations: 0 / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.706e-05/0.222, allocations: 0 / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.222, allocations: 4.062 kB / 0.7885 GB, free: 7.969 MB / 0.6075 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 8.133e-05/0.2221, allocations: 121.8 kB / 0.7887 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.2221, allocations: 12.22 kB / 0.7887 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.667e-05/0.2221, allocations: 12.34 kB / 0.7887 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/0.2221, allocations: 15.94 kB / 0.7887 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2222, allocations: 0 / 0.7887 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.2222, allocations: 3.938 kB / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.2223, allocations: 177.5 kB / 0.7889 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2223, allocations: 0 / 0.7889 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.494e-06/0.2223, allocations: 3.938 kB / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2223, allocations: 4 kB / 0.7889 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.2223, allocations: 4 kB / 0.7889 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2223, allocations: 0 / 0.7889 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2223, allocations: 0 / 0.7889 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.2225, allocations: 129 kB / 0.789 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.2225, allocations: 88.95 kB / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.2225, allocations: 0 / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.062e-05/0.2225, allocations: 0 / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.2226, allocations: 8.031 kB / 0.7891 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.2226, allocations: 0 / 0.7891 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.216e-05/0.2226, allocations: 103.6 kB / 0.7892 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2226, allocations: 0 / 0.7892 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003011/0.223, allocations: 71.98 kB / 0.7893 GB, free: 7.133 MB / 0.6075 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.0005601/0.2235, allocations: 0.7372 MB / 0.79 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.2236, allocations: 59.98 kB / 0.79 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2236, allocations: 0 / 0.79 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.499e-05/0.2237, allocations: 39.92 kB / 0.7901 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.2238, allocations: 8.938 kB / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004729/0.2243, allocations: 263.8 kB / 0.7903 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.2246, allocations: 0.7 MB / 0.791 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.656e-05/0.2246, allocations: 8 kB / 0.791 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.2246, allocations: 19.42 kB / 0.791 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of SimCode: time 6.01e-07/0.2247, allocations: 0 / 0.791 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.2425, allocations: 2.804 MB / 0.7938 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/7.823, allocations: 13.69 kB / 0.7938 GB, free: 2.582 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)