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.397/1.397, allocations: 249.5 MB / 257 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 180.8 kB / 316.3 MB, free: 3.246 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.536/1.536, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0008792/0.0008789, allocations: 96.19 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.998e-05/2.028e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2107, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7311/0.9417, allocations: 132 MB / 1.014 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.9421, allocations: 104 kB / 1.014 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001684/0.9438, allocations: 0.6752 MB / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9438, allocations: 0 / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.9438, allocations: 4 kB / 1.015 GB, free: 4.762 MB / 0.6355 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.0002567/0.9441, allocations: 315.6 kB / 1.015 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.9441, allocations: 8.031 kB / 1.015 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.684e-05/0.9442, allocations: 4 kB / 1.015 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.9443, allocations: 173.5 kB / 1.015 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.9443, allocations: 0 / 1.015 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.9443, allocations: 0 / 1.015 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.848e-05/0.9444, allocations: 0 / 1.015 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.105e-05/0.9444, allocations: 29.7 kB / 1.015 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.9444, allocations: 4 kB / 1.015 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.9445, allocations: 3.938 kB / 1.015 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.9445, allocations: 0 / 1.015 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002904/0.9448, allocations: 352 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.067e-05/0.9449, allocations: 176.6 kB / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.712e-05/0.9449, allocations: 84.14 kB / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.9449, allocations: 75.28 kB / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.699e-05/0.945, allocations: 112.4 kB / 1.016 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.945, allocations: 0 / 1.016 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.724e-05/0.9451, allocations: 29.64 kB / 1.016 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.9451, allocations: 51.41 kB / 1.016 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.978e-05/0.9452, allocations: 96.38 kB / 1.016 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.9452, allocations: 25.7 kB / 1.016 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.404e-05/0.9453, allocations: 80.14 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-06/0.9453, allocations: 0 / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.9453, allocations: 3.938 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.9454, allocations: 314.8 kB / 1.017 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-06/0.9454, allocations: 4 kB / 1.017 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.166e-06/0.9454, allocations: 0 / 1.017 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.578e-05/0.9455, allocations: 4.172 kB / 1.017 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.9455, allocations: 4 kB / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.309e-05/0.9456, allocations: 29.7 kB / 1.017 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.9456, allocations: 8 kB / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.9456, allocations: 0 / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.9456, allocations: 3.938 kB / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.791e-05/0.9457, allocations: 0 / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.9457, allocations: 0.7031 kB / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.021e-05/0.9457, allocations: 0 / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.9457, allocations: 4 kB / 1.017 GB, free: 2.629 MB / 0.6355 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 () * 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 9.181e-05/0.9458, allocations: 191.5 kB / 1.017 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.114e-05/0.9459, allocations: 134.7 kB / 1.017 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.946, allocations: 104.9 kB / 1.017 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.59e-05/0.946, allocations: 104.7 kB / 1.017 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.961e-05/0.9461, allocations: 176.3 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-05/0.9462, allocations: 184.2 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.09e-05/0.9462, allocations: 184.3 kB / 1.018 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.9465, allocations: 380.9 kB / 1.018 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.535e-05/0.9465, allocations: 104.9 kB / 1.018 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.9466, allocations: 105.4 kB / 1.018 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.741e-05/0.9466, allocations: 184.3 kB / 1.019 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.265e-05/0.9467, allocations: 184.2 kB / 1.019 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.391e-05/0.9468, allocations: 176.3 kB / 1.019 GB, free: 336 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.319e-05/0.9469, allocations: 179 kB / 1.019 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.947, allocations: 307.7 kB / 1.019 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.425e-05/0.9471, allocations: 185.4 kB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-05/0.9472, allocations: 184.2 kB / 1.02 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.702e-05/0.9473, allocations: 101 kB / 1.02 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.645e-05/0.9474, allocations: 185.2 kB / 1.02 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.034e-05/0.9475, allocations: 104.9 kB / 1.02 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.295e-05/0.9475, allocations: 83.22 kB / 1.02 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9475, allocations: 96 / 1.02 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002238/0.9477, allocations: 4 kB / 1.02 GB, free: 14.95 MB / 0.6511 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 () * 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.0004029/0.9481, allocations: 0.8079 MB / 1.021 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 4.707e-05/0.9482, allocations: 7.938 kB / 1.021 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.9482, allocations: 4.062 kB / 1.021 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.9482, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.9485, allocations: 0.5238 MB / 1.022 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.9488, allocations: 147.5 kB / 1.022 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.9491, allocations: 0.6729 MB / 1.022 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.121e-05/0.9491, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.661e-05/0.9491, allocations: 15.44 kB / 1.022 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/0.9491, allocations: 0 / 1.022 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.9692, allocations: 444.6 kB / 1.023 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002636/0.9695, allocations: 221.1 kB / 1.023 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.457/2.427, allocations: 0.8594 kB / 1.023 GB, free: 12.01 MB / 0.6511 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)