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.CountAggregationCells.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.CountAggregationCells,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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.347/1.347, allocations: 252 MB / 267 MB, free: 10.97 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.001023/0.001023, allocations: 176.9 kB / 326.6 MB, free: 2.223 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.65/1.65, 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.0007967/0.0007968, allocations: 87.62 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 12.28 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1892, allocations: 106.3 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.000697/0.1899, allocations: 299.6 kB / 0.9006 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007832/0.1907, allocations: 0.7651 MB / 0.9014 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.088e-05/0.1908, allocations: 0 / 0.9014 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.777e-06/0.1908, allocations: 0 / 0.9014 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.27e-06/0.1908, allocations: 4 kB / 0.9014 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.191, allocations: 19.92 kB / 0.9014 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.693e-05/0.1911, allocations: 0 / 0.9014 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.1911, allocations: 0 / 0.9014 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.666e-05/0.1911, allocations: 0 / 0.9014 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.1913, allocations: 19.97 kB / 0.9014 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.724e-06/0.1913, allocations: 4 kB / 0.9014 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.118e-06/0.1913, allocations: 3.938 kB / 0.9014 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.796e-06/0.1913, allocations: 0 / 0.9014 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.764e-05/0.1913, allocations: 25.7 kB / 0.9014 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 2.443e-05/0.1914, allocations: 0 / 0.9014 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1914, allocations: 4 kB / 0.9015 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1914, allocations: 0 / 0.9015 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.1914, allocations: 0 / 0.9015 GB, free: 62.62 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001947/0.1916, allocations: 303.4 kB / 0.9017 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1916, allocations: 8.094 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.793e-05/0.1917, allocations: 42.56 kB / 0.9018 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.102e-05/0.1917, allocations: 0 / 0.9018 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.236e-05/0.1918, allocations: 174.9 kB / 0.902 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1918, allocations: 0 / 0.902 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.563e-06/0.1918, allocations: 0 / 0.902 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.179e-05/0.1919, allocations: 25.7 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1919, allocations: 4 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.1919, allocations: 0 / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1919, allocations: 0 / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.478e-05/0.1919, allocations: 0 / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/0.1921, allocations: 387.5 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.255e-05/0.1922, allocations: 177 kB / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.1922, allocations: 80.14 kB / 0.9026 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.1922, allocations: 75.28 kB / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.1923, allocations: 109.8 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.1923, allocations: 0 / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 5.714e-05/0.1923, allocations: 33.7 kB / 0.9028 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.1924, allocations: 130.6 kB / 0.9029 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.377e-05/0.1924, allocations: 97.8 kB / 0.903 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.43e-06/0.1924, allocations: 25.7 kB / 0.9031 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.644e-05/0.1925, allocations: 80.27 kB / 0.9031 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.1925, allocations: 4 kB / 0.9031 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-06/0.1925, allocations: 4 kB / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.307e-05/0.1925, allocations: 310.8 kB / 0.9034 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.62e-06/0.1925, allocations: 0 / 0.9034 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.337e-06/0.1925, allocations: 0 / 0.9034 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.421e-05/0.1926, allocations: 8 kB / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1926, allocations: 0 / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.612e-05/0.1926, allocations: 29.7 kB / 0.9035 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.1927, allocations: 8.094 kB / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1927, allocations: 0 / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1927, allocations: 0 / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.452e-05/0.1927, allocations: 11.92 kB / 0.9035 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1927, allocations: 3.938 kB / 0.9035 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.01e-05/0.1928, allocations: 0 / 0.9035 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.1928, allocations: 3.953 kB / 0.9035 GB, free: 60.3 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * 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 4.852e-05/0.1928, allocations: 181.1 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.1929, allocations: 109 kB / 0.9038 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.066e-05/0.1929, allocations: 108.1 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.1929, allocations: 180.2 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.201e-05/0.1929, allocations: 180.2 kB / 0.9042 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.2e-05/0.193, allocations: 188.2 kB / 0.9044 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.1931, allocations: 397.2 kB / 0.9048 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-05/0.1931, allocations: 113 kB / 0.9049 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.492e-05/0.1931, allocations: 108.9 kB / 0.905 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.336e-05/0.1932, allocations: 176.3 kB / 0.9052 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.1932, allocations: 180.2 kB / 0.9053 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-05/0.1932, allocations: 180.2 kB / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.386e-05/0.1933, allocations: 188.2 kB / 0.9057 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.749e-05/0.1933, allocations: 308 kB / 0.906 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.127e-05/0.1934, allocations: 186 kB / 0.9061 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.1934, allocations: 180.3 kB / 0.9063 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.818e-05/0.1935, allocations: 108.9 kB / 0.9064 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.1935, allocations: 188.3 kB / 0.9066 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.1935, allocations: 101 kB / 0.9067 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.584e-05/0.1935, allocations: 75.28 kB / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1935, allocations: 0 / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002688/0.1938, allocations: 0 / 0.9068 GB, free: 56.71 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0002329/0.1941, allocations: 0.8205 MB / 0.9076 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 4.417e-05/0.1941, allocations: 0 / 0.9076 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1941, allocations: 0 / 0.9076 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.1941, allocations: 0 / 0.9076 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.1944, allocations: 0.5263 MB / 0.9081 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002431/0.1946, allocations: 183.6 kB / 0.9083 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.632e-05/0.1947, allocations: 0.6692 MB / 0.9089 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.321e-05/0.1947, allocations: 0 / 0.9089 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.33e-05/0.1948, allocations: 7.438 kB / 0.9089 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.1948, allocations: 0 / 0.9089 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/0.2081, allocations: 0.7721 MB / 0.9097 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/0.2084, allocations: 276.8 kB / 0.9099 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.489/1.698, allocations: 2.406 kB / 0.9099 GB, free: 53.51 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)