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.408/1.408, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001148/0.001148, allocations: 186.8 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.116/2.116, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.001146/0.001146, allocations: 88.53 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003567, allocations: 12.06 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2179, allocations: 106.3 MB / 0.9002 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0006274/0.2186, allocations: 287.5 kB / 0.9005 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008588/0.2194, allocations: 0.7701 MB / 0.9012 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.503e-05/0.2195, allocations: 0 / 0.9012 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.108e-05/0.2195, allocations: 0 / 0.9012 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.959e-06/0.2195, allocations: 0 / 0.9012 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.2197, allocations: 7.984 kB / 0.9012 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.592e-05/0.2198, allocations: 8 kB / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.2198, allocations: 0 / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.575e-05/0.2199, allocations: 7.984 kB / 0.9012 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.22, allocations: 11.98 kB / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.144e-06/0.22, allocations: 0 / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.777e-06/0.22, allocations: 4 kB / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.336e-06/0.22, allocations: 0 / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.721e-05/0.2201, allocations: 29.7 kB / 0.9013 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 2.481e-05/0.2201, allocations: 3.938 kB / 0.9013 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.2201, allocations: 0 / 0.9013 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2201, allocations: 0 / 0.9013 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2201, allocations: 0 / 0.9013 GB, free: 63.19 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.0001954/0.2203, allocations: 307.4 kB / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.2204, allocations: 12.09 kB / 0.9016 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.077e-05/0.2204, allocations: 34.55 kB / 0.9016 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.414e-05/0.2204, allocations: 0 / 0.9016 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.803e-05/0.2205, allocations: 163 kB / 0.9018 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.2205, allocations: 4 kB / 0.9018 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.463e-06/0.2205, allocations: 0 / 0.9018 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.134e-05/0.2206, allocations: 33.64 kB / 0.9018 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2206, allocations: 0 / 0.9018 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-06/0.2206, allocations: 0 / 0.9018 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.2206, allocations: 4 kB / 0.9018 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.056e-05/0.2207, allocations: 3.938 kB / 0.9018 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.2209, allocations: 387.5 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.554e-05/0.221, allocations: 165.1 kB / 0.9024 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.221, allocations: 75.28 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.221, allocations: 109.8 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.221, allocations: 4.031 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.281e-05/0.2211, allocations: 29.64 kB / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.2211, allocations: 134.6 kB / 0.9027 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.763e-05/0.2212, allocations: 93.84 kB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.702e-06/0.2212, allocations: 25.7 kB / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.927e-05/0.2212, allocations: 84.14 kB / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.2212, allocations: 0 / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-06/0.2212, allocations: 0 / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.367e-05/0.2213, allocations: 318.8 kB / 0.9032 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.592e-06/0.2213, allocations: 8.125 kB / 0.9032 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.509e-06/0.2213, allocations: 0 / 0.9032 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.507e-05/0.2213, allocations: 4 kB / 0.9032 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2213, allocations: 0 / 0.9032 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.169e-05/0.2214, allocations: 33.64 kB / 0.9032 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2215, allocations: 4 kB / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2215, allocations: 3.984 kB / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2215, allocations: 0 / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.11e-05/0.2215, allocations: 4 kB / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.2215, allocations: 8.078 kB / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.083e-05/0.2216, allocations: 0 / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-06/0.2216, allocations: 0 / 0.9032 GB, free: 60.95 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 5.555e-05/0.2216, allocations: 189.1 kB / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.2217, allocations: 101 kB / 0.9035 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.2217, allocations: 112 kB / 0.9036 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/0.2217, allocations: 180.2 kB / 0.9038 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.918e-05/0.2218, allocations: 188.2 kB / 0.904 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.559e-05/0.2218, allocations: 176.3 kB / 0.9042 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.222, allocations: 409.1 kB / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/0.222, allocations: 104.9 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.666e-05/0.222, allocations: 105 kB / 0.9047 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-05/0.222, allocations: 185 kB / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.2221, allocations: 176.3 kB / 0.9051 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.892e-05/0.2221, allocations: 176.3 kB / 0.9053 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-05/0.2221, allocations: 188.2 kB / 0.9054 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.411e-05/0.2222, allocations: 315.7 kB / 0.9057 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.2223, allocations: 178.4 kB / 0.9059 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.2223, allocations: 184.2 kB / 0.9061 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.329e-05/0.2224, allocations: 113 kB / 0.9062 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.2224, allocations: 180.3 kB / 0.9064 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.2224, allocations: 104.9 kB / 0.9065 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.739e-05/0.2224, allocations: 79.28 kB / 0.9065 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2225, allocations: 0 / 0.9065 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002459/0.2227, allocations: 0 / 0.9065 GB, free: 57.36 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.0002515/0.223, allocations: 0.8165 MB / 0.9073 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 4.68e-05/0.223, allocations: 8.031 kB / 0.9073 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.223, allocations: 0 / 0.9073 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.223, allocations: 0 / 0.9073 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.2232, allocations: 0.5204 MB / 0.9078 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/0.2235, allocations: 183.8 kB / 0.908 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.758e-05/0.2236, allocations: 0.6692 MB / 0.9087 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.489e-05/0.2236, allocations: 0 / 0.9087 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.446e-05/0.2237, allocations: 11.44 kB / 0.9087 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/0.2237, allocations: 0 / 0.9087 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01145/0.2351, allocations: 0.7652 MB / 0.9094 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/0.2353, allocations: 260.1 kB / 0.9097 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.393/1.628, allocations: 0 / 0.9097 GB, free: 54.16 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)