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.001175/0.001175, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001213/0.001213, allocations: 196.8 kB / 16.14 MB, free: 6.707 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.195/1.195, allocations: 205.1 MB / 222 MB, free: 4.758 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.622/1.622, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001374/0.001374, allocations: 71 kB / 0.671 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1845, allocations: 114.5 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002148/0.1866, allocations: 1.311 MB / 0.7841 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.1881, allocations: 0.969 MB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.444e-05/0.1881, allocations: 0 / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.1881, allocations: 0 / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.1882, allocations: 31.89 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005745/0.1888, allocations: 191.6 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.564e-05/0.1889, allocations: 35.95 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.507e-05/0.1889, allocations: 4 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.04e-05/0.189, allocations: 15.98 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.1891, allocations: 51.94 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.1891, allocations: 0 / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003734/0.1895, allocations: 283.5 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.906e-05/0.1896, allocations: 15.92 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.326e-05/0.1896, allocations: 15.88 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.1899, allocations: 255.7 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1899, allocations: 0 / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.92e-07/0.1899, allocations: 0 / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.1899, allocations: 0 / 0.7859 GB, free: 10.7 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.0003299/0.1902, allocations: 383.3 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.1903, allocations: 8.031 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.903e-05/0.1903, allocations: 38.69 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.224e-05/0.1904, allocations: 4.844 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.1905, allocations: 176.3 kB / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.1905, allocations: 4.375 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-06/0.1905, allocations: 4.375 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.1906, allocations: 61.75 kB / 0.7866 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-06/0.1906, allocations: 0 / 0.7866 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.1906, allocations: 0 / 0.7866 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/0.1907, allocations: 12 kB / 0.7866 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.405e-05/0.1907, allocations: 27.98 kB / 0.7866 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.1909, allocations: 181.5 kB / 0.7868 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.076e-05/0.191, allocations: 54.56 kB / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.191, allocations: 37.02 kB / 0.7869 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.191, allocations: 0 / 0.7869 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.191, allocations: 42.48 kB / 0.7869 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.191, allocations: 0 / 0.7869 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0001797/0.1912, allocations: 133.4 kB / 0.787 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.1913, allocations: 51.41 kB / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.976e-05/0.1914, allocations: 133.9 kB / 0.7872 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.1914, allocations: 25.7 kB / 0.7872 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.1914, allocations: 88.14 kB / 0.7873 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.1915, allocations: 31.55 kB / 0.7874 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.1915, allocations: 17.72 kB / 0.7874 GB, free: 9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.494e-05/0.1916, allocations: 322.8 kB / 0.7877 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.834e-05/0.1916, allocations: 23.98 kB / 0.7877 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.448e-05/0.1916, allocations: 27.98 kB / 0.7877 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.638e-05/0.1917, allocations: 76.86 kB / 0.7878 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1917, allocations: 0 / 0.7878 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001033/0.1918, allocations: 105.5 kB / 0.7879 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1919, allocations: 4 kB / 0.7879 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1919, allocations: 3.938 kB / 0.7879 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.1919, allocations: 0 / 0.7879 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.1919, allocations: 0 / 0.7879 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1919, allocations: 0 / 0.7879 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.514e-05/0.1919, allocations: 4 kB / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1919, allocations: 384 / 0.7879 GB, free: 8.426 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 7.049e-05/0.192, allocations: 125.9 kB / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.192, allocations: 7.844 kB / 0.788 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.334e-05/0.192, allocations: 8.375 kB / 0.788 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.1921, allocations: 23.86 kB / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1921, allocations: 0 / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1921, allocations: 0 / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.1922, allocations: 181.5 kB / 0.7882 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1922, allocations: 0 / 0.7882 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-06/0.1922, allocations: 3.938 kB / 0.7882 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.1922, allocations: 0 / 0.7882 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1922, allocations: 7.984 kB / 0.7883 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1923, allocations: 7.984 kB / 0.7883 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1923, allocations: 0 / 0.7883 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.1924, allocations: 117 kB / 0.7884 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.364e-05/0.1924, allocations: 92.94 kB / 0.7885 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.1924, allocations: 3.984 kB / 0.7885 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.219e-05/0.1924, allocations: 4 kB / 0.7885 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-06/0.1925, allocations: 0 / 0.7885 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.1925, allocations: 8.031 kB / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.019e-05/0.1925, allocations: 99.27 kB / 0.7886 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1925, allocations: 0 / 0.7886 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002877/0.1928, allocations: 71.98 kB / 0.7886 GB, free: 7.582 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.0005252/0.1934, allocations: 0.7332 MB / 0.7894 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.49e-05/0.1935, allocations: 68.02 kB / 0.7894 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1935, allocations: 0 / 0.7894 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.231e-05/0.1935, allocations: 35.98 kB / 0.7895 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.1937, allocations: 3.938 kB / 0.7895 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004578/0.1941, allocations: 281.6 kB / 0.7897 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.1943, allocations: 0.6965 MB / 0.7904 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.694e-05/0.1944, allocations: 7.125 kB / 0.7904 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.1944, allocations: 23.44 kB / 0.7904 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1944, allocations: 0 / 0.7904 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.2173, allocations: 2.685 MB / 0.7931 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/0.2175, allocations: 292.8 kB / 0.7933 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.071, allocations: 0 / 0.7933 GB, free: 2.781 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --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)