Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.CountAggregationCells,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007986/0.0007985, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.004857/0.004857, allocations: 170.4 kB / 16.27 MB, free: 6.652 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.391/1.391, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.607/1.607, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004715/0.0004713, allocations: 19.12 kB / 0.6745 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1988, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0006458/0.1995, allocations: 298.1 kB / 0.7883 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008963/0.2004, allocations: 0.7728 MB / 0.7891 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.806e-06/0.2004, allocations: 0 / 0.7891 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.057e-05/0.2005, allocations: 0 / 0.7891 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.588e-06/0.2005, allocations: 0 / 0.7891 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.2007, allocations: 8 kB / 0.7891 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.157e-05/0.2007, allocations: 4 kB / 0.7891 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/0.2008, allocations: 11.92 kB / 0.7891 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.311e-05/0.2008, allocations: 0 / 0.7891 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.2009, allocations: 27.97 kB / 0.7891 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.883e-06/0.2009, allocations: 0 / 0.7891 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.577e-06/0.2009, allocations: 0 / 0.7891 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.201, allocations: 0 / 0.7891 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.201, allocations: 29.64 kB / 0.7891 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 2.83e-05/0.201, allocations: 4 kB / 0.7892 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.201, allocations: 0 / 0.7892 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.664e-06/0.201, allocations: 0 / 0.7892 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.2011, allocations: 4 kB / 0.7892 GB, free: 10.32 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002001/0.2013, allocations: 303.6 kB / 0.7894 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.2013, allocations: 12.09 kB / 0.7895 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.851e-05/0.2013, allocations: 34.69 kB / 0.7895 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.812e-05/0.2014, allocations: 0.9375 kB / 0.7895 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.755e-05/0.2014, allocations: 164.4 kB / 0.7896 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.2015, allocations: 384 / 0.7896 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-06/0.2015, allocations: 384 / 0.7896 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.322e-05/0.2016, allocations: 34.27 kB / 0.7897 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.2016, allocations: 7.938 kB / 0.7897 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.2016, allocations: 0 / 0.7897 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2016, allocations: 4 kB / 0.7897 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.446e-05/0.2016, allocations: 3.938 kB / 0.7897 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.2019, allocations: 379.5 kB / 0.7901 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.303e-05/0.2019, allocations: 169.1 kB / 0.7902 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.816e-05/0.202, allocations: 84.14 kB / 0.7903 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.202, allocations: 75.28 kB / 0.7904 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.202, allocations: 109.8 kB / 0.7905 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.2021, allocations: 4.031 kB / 0.7905 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 5.918e-05/0.2021, allocations: 25.7 kB / 0.7905 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.2022, allocations: 126.7 kB / 0.7906 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.635e-05/0.2022, allocations: 97.86 kB / 0.7907 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.2023, allocations: 25.7 kB / 0.7907 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.148e-05/0.2023, allocations: 92.03 kB / 0.7908 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-06/0.2023, allocations: 0 / 0.7908 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/0.2023, allocations: 13.66 kB / 0.7908 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.892e-05/0.2024, allocations: 310.8 kB / 0.7911 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-06/0.2024, allocations: 0 / 0.7911 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.429e-06/0.2024, allocations: 128 / 0.7911 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.245e-05/0.2025, allocations: 16.86 kB / 0.7912 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2025, allocations: 3.938 kB / 0.7912 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.866e-05/0.2026, allocations: 33.7 kB / 0.7912 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.2026, allocations: 4 kB / 0.7912 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2026, allocations: 4 kB / 0.7912 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-06/0.2026, allocations: 0 / 0.7912 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.553e-05/0.2027, allocations: 3.984 kB / 0.7912 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.2027, allocations: 0 / 0.7912 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.089e-05/0.2027, allocations: 320 / 0.7912 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.2027, allocations: 8 kB / 0.7912 GB, free: 7.973 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.479e-05/0.2028, allocations: 185.7 kB / 0.7914 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.2028, allocations: 104.9 kB / 0.7915 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.403e-05/0.2029, allocations: 108.1 kB / 0.7916 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.443e-05/0.2029, allocations: 192.2 kB / 0.7918 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.836e-05/0.203, allocations: 181.3 kB / 0.7919 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.736e-05/0.203, allocations: 176.3 kB / 0.7921 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.2032, allocations: 405 kB / 0.7925 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.947e-05/0.2033, allocations: 109 kB / 0.7926 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.2033, allocations: 108.9 kB / 0.7927 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.305e-05/0.2034, allocations: 176.3 kB / 0.7929 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.163e-05/0.2034, allocations: 180.3 kB / 0.793 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.812e-05/0.2035, allocations: 188.2 kB / 0.7932 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.823e-05/0.2035, allocations: 176.5 kB / 0.7934 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.2036, allocations: 315.7 kB / 0.7937 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.2037, allocations: 182.1 kB / 0.7939 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.814e-05/0.2038, allocations: 184.2 kB / 0.794 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.449e-05/0.2038, allocations: 105 kB / 0.7941 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.2039, allocations: 184.2 kB / 0.7943 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.2039, allocations: 101 kB / 0.7944 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.666e-05/0.204, allocations: 75.28 kB / 0.7945 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.204, allocations: 4.094 kB / 0.7945 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002018/0.2042, allocations: 4 kB / 0.7945 GB, free: 4.375 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.000323/0.2045, allocations: 0.8226 MB / 0.7953 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.457e-05/0.2046, allocations: 0 / 0.7953 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2046, allocations: 8.062 kB / 0.7953 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.2046, allocations: 0 / 0.7953 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.2049, allocations: 0.5146 MB / 0.7958 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.2052, allocations: 183.6 kB / 0.796 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.2054, allocations: 0.6692 MB / 0.7966 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.113e-05/0.2054, allocations: 4 kB / 0.7966 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.579e-05/0.2054, allocations: 11.44 kB / 0.7967 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2054, allocations: 0 / 0.7967 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1398/0.3453, allocations: 0.77 MB / 0.7974 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000266/0.3456, allocations: 272.1 kB / 0.7977 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/2.093, allocations: 0 / 0.7977 GB, free: 1.152 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)