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.293/1.293, allocations: 251.5 MB / 266.7 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.001003/0.001003, allocations: 177.9 kB / 325.9 MB, free: 2.668 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.637/1.637, allocations: 205 MB / 0.576 GB, free: 21 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.0008413/0.0008414, allocations: 91.95 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003516, allocations: 9.438 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2243, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0007313/0.2251, allocations: 308.6 kB / 0.8965 GB, free: 67.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009655/0.2261, allocations: 0.769 MB / 0.8973 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.091e-05/0.2261, allocations: 0 / 0.8973 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.481e-05/0.2261, allocations: 4 kB / 0.8973 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.16e-06/0.2261, allocations: 3.938 kB / 0.8973 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.2264, allocations: 11.94 kB / 0.8973 GB, free: 66.94 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.304e-05/0.2265, allocations: 7.984 kB / 0.8973 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.2265, allocations: 4.797 kB / 0.8973 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.556e-05/0.2265, allocations: 0 / 0.8973 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.2267, allocations: 20.27 kB / 0.8973 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.2267, allocations: 4 kB / 0.8973 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.376e-06/0.2267, allocations: 0 / 0.8973 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.739e-06/0.2267, allocations: 0 / 0.8973 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.2268, allocations: 0 / 0.8973 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 3.622e-05/0.2268, allocations: 3.984 kB / 0.8973 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2268, allocations: 0 / 0.8973 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.355e-06/0.2268, allocations: 4 kB / 0.8973 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.2268, allocations: 0 / 0.8973 GB, free: 66.89 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.0001991/0.227, allocations: 305.8 kB / 0.8976 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2271, allocations: 8.094 kB / 0.8976 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.931e-05/0.2271, allocations: 34.75 kB / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.338e-05/0.2272, allocations: 4.938 kB / 0.8977 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.72e-05/0.2272, allocations: 172.2 kB / 0.8978 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.2272, allocations: 384 / 0.8978 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.2273, allocations: 384 / 0.8978 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.33e-05/0.2274, allocations: 30.27 kB / 0.8979 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2274, allocations: 7.875 kB / 0.8979 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.2274, allocations: 4 kB / 0.8979 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2274, allocations: 0 / 0.8979 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.827e-05/0.2274, allocations: 4 kB / 0.8979 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.2277, allocations: 379.5 kB / 0.8983 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.708e-05/0.2277, allocations: 173 kB / 0.8984 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.2277, allocations: 84.12 kB / 0.8985 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.2278, allocations: 79.31 kB / 0.8986 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.2278, allocations: 109.8 kB / 0.8987 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.2278, allocations: 3.938 kB / 0.8987 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.441e-05/0.2279, allocations: 29.7 kB / 0.8987 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.2279, allocations: 130.6 kB / 0.8988 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.993e-05/0.228, allocations: 93.86 kB / 0.8989 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.591e-06/0.228, allocations: 25.7 kB / 0.8989 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.918e-05/0.228, allocations: 84.27 kB / 0.899 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/0.228, allocations: 0 / 0.899 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.228, allocations: 17.7 kB / 0.899 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.882e-05/0.2281, allocations: 310.8 kB / 0.8993 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-06/0.2281, allocations: 0 / 0.8993 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-06/0.2281, allocations: 0 / 0.8993 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.509e-05/0.2282, allocations: 8.859 kB / 0.8994 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2282, allocations: 3.938 kB / 0.8994 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.045e-05/0.2283, allocations: 41.7 kB / 0.8994 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.2283, allocations: 4 kB / 0.8994 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2283, allocations: 0 / 0.8994 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.2283, allocations: 0 / 0.8994 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.996e-05/0.2284, allocations: 4 kB / 0.8994 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.2284, allocations: 3.984 kB / 0.8994 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.119e-05/0.2284, allocations: 0 / 0.8994 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.2284, allocations: 0 / 0.8994 GB, free: 64.54 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.811e-05/0.2285, allocations: 193.1 kB / 0.8996 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.2285, allocations: 101 kB / 0.8997 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.2285, allocations: 108 kB / 0.8998 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.739e-05/0.2286, allocations: 180.3 kB / 0.9 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.714e-05/0.2286, allocations: 184.2 kB / 0.9001 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.87e-05/0.2286, allocations: 184.2 kB / 0.9003 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.2288, allocations: 405.1 kB / 0.9007 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/0.2288, allocations: 108.9 kB / 0.9008 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.953e-05/0.2288, allocations: 109.8 kB / 0.9009 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.888e-05/0.2289, allocations: 176.3 kB / 0.9011 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.2289, allocations: 180.2 kB / 0.9012 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.674e-05/0.2289, allocations: 180.3 kB / 0.9014 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.639e-05/0.229, allocations: 184.2 kB / 0.9016 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.512e-05/0.2291, allocations: 315.9 kB / 0.9019 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/0.2291, allocations: 178.1 kB / 0.9021 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.2291, allocations: 176.3 kB / 0.9022 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.259e-05/0.2292, allocations: 116.9 kB / 0.9023 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.2292, allocations: 184.3 kB / 0.9025 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.2293, allocations: 104.9 kB / 0.9026 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.039e-05/0.2293, allocations: 75.28 kB / 0.9027 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2293, allocations: 0 / 0.9027 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002232/0.2295, allocations: 3.938 kB / 0.9027 GB, free: 60.95 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 (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.0002806/0.2298, allocations: 0.8166 MB / 0.9035 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.544e-05/0.2299, allocations: 0 / 0.9035 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2299, allocations: 0 / 0.9035 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.2299, allocations: 3.938 kB / 0.9035 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.2302, allocations: 0.5225 MB / 0.904 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002738/0.2304, allocations: 179.6 kB / 0.9042 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.2306, allocations: 0.6731 MB / 0.9048 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.429e-05/0.2306, allocations: 0 / 0.9048 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.2306, allocations: 7.438 kB / 0.9048 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of SimCode: time 9.52e-07/0.2306, allocations: 0 / 0.9048 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01057/0.2412, allocations: 0.7785 MB / 0.9056 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/0.2414, allocations: 290.9 kB / 0.9059 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/1.844, allocations: 0 / 0.9059 GB, free: 57.71 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)