Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_8_0_0_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_0_0_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 8.0.0/package.mo): time 2.708/2.708, allocations: 287.5 MB / 302.4 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001326/0.001326, allocations: 176.8 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009491/0.0009486, allocations: 107.5 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005647/0.0005648, allocations: 16.62 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.216, allocations: 115.3 MB / 0.9785 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0007143/0.2168, allocations: 286.1 kB / 0.9788 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008881/0.2177, allocations: 0.7574 MB / 0.9795 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.255e-05/0.2177, allocations: 0 / 0.9795 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.002e-05/0.2177, allocations: 0 / 0.9795 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.731e-06/0.2178, allocations: 0 / 0.9795 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.218, allocations: 19.91 kB / 0.9795 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.248e-05/0.218, allocations: 0 / 0.9795 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.664e-05/0.2181, allocations: 12 kB / 0.9795 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.347e-05/0.2181, allocations: 0 / 0.9795 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.2182, allocations: 19.97 kB / 0.9796 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.604e-06/0.2183, allocations: 0 / 0.9796 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.008e-06/0.2183, allocations: 3.938 kB / 0.9796 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.065e-06/0.2183, allocations: 0 / 0.9796 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.592e-05/0.2183, allocations: 25.7 kB / 0.9796 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 2.151e-05/0.2184, allocations: 8 kB / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2184, allocations: 0 / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2184, allocations: 0 / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.2184, allocations: 0 / 0.9796 GB, free: 27.07 MB / 0.6198 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.0001863/0.2186, allocations: 315.4 kB / 0.9799 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.2186, allocations: 12.02 kB / 0.9799 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.087e-05/0.2187, allocations: 34.5 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.763e-05/0.2187, allocations: 3.938 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.757e-05/0.2188, allocations: 163 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.2188, allocations: 4 kB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.2188, allocations: 4 kB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.604e-05/0.2189, allocations: 25.7 kB / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2189, allocations: 0 / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.2189, allocations: 0 / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.2189, allocations: 0 / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.879e-05/0.219, allocations: 7.984 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002375/0.2192, allocations: 379.4 kB / 0.9805 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.522e-05/0.2193, allocations: 173.2 kB / 0.9807 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.873e-05/0.2193, allocations: 84.14 kB / 0.9807 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.2193, allocations: 75.28 kB / 0.9808 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.2194, allocations: 105.8 kB / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/0.2194, allocations: 0 / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.442e-05/0.2195, allocations: 37.62 kB / 0.981 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.2195, allocations: 126.7 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.83e-05/0.2196, allocations: 97.81 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.2196, allocations: 25.7 kB / 0.9812 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.077e-05/0.2196, allocations: 84.05 kB / 0.9813 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.2196, allocations: 0 / 0.9813 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.2196, allocations: 4 kB / 0.9813 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.461e-05/0.2197, allocations: 315 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-06/0.2197, allocations: 4 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-06/0.2197, allocations: 0 / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.714e-05/0.2198, allocations: 0 / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2198, allocations: 0 / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.112e-05/0.2199, allocations: 37.62 kB / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2199, allocations: 8 kB / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2199, allocations: 0 / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2199, allocations: 0 / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.053e-05/0.22, allocations: 96 / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.22, allocations: 11.94 kB / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.278e-05/0.22, allocations: 288 / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.22, allocations: 3.953 kB / 0.9816 GB, free: 24.74 MB / 0.6198 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 5.857e-05/0.2201, allocations: 185.1 kB / 0.9818 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.2202, allocations: 108.9 kB / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/0.2202, allocations: 112 kB / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.09e-05/0.2202, allocations: 180.3 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.192e-05/0.2203, allocations: 176.3 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.134e-05/0.2203, allocations: 180.2 kB / 0.9825 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.2205, allocations: 410 kB / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.926e-05/0.2205, allocations: 104.9 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-05/0.2205, allocations: 101 kB / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.168e-05/0.2206, allocations: 184.3 kB / 0.9833 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/0.2206, allocations: 188.2 kB / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.168e-05/0.2207, allocations: 180.3 kB / 0.9837 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.161e-05/0.2207, allocations: 184.2 kB / 0.9838 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.175e-05/0.2208, allocations: 312 kB / 0.9841 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.2209, allocations: 186.1 kB / 0.9843 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.2209, allocations: 184.3 kB / 0.9845 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.484e-05/0.221, allocations: 104.9 kB / 0.9846 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.221, allocations: 176.3 kB / 0.9847 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.2211, allocations: 104.9 kB / 0.9848 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.952e-05/0.2211, allocations: 87.27 kB / 0.9849 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2211, allocations: 0 / 0.9849 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002537/0.2214, allocations: 0 / 0.9849 GB, free: 21.15 MB / 0.6198 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.000281/0.2217, allocations: 0.8127 MB / 0.9857 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.23e-05/0.2217, allocations: 0 / 0.9857 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2218, allocations: 4 kB / 0.9857 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-06/0.2218, allocations: 3.938 kB / 0.9857 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.2221, allocations: 0.5237 MB / 0.9862 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/0.2224, allocations: 176 kB / 0.9864 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.2226, allocations: 0.6692 MB / 0.9871 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.271e-05/0.2226, allocations: 0 / 0.9871 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.941e-05/0.2226, allocations: 13.62 kB / 0.9871 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of SimCode: time 7.91e-07/0.2226, allocations: 0 / 0.9871 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.2417, allocations: 0.7667 MB / 0.9878 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002278/0.242, allocations: 265.2 kB / 0.9881 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.601/2.843, allocations: 3.859 kB / 0.9881 GB, free: 17.95 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)