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.447/1.447, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001118/0.001118, allocations: 173.2 kB / 326.5 MB, free: 2.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.847/1.847, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009372/0.0009371, allocations: 104.1 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.0003891, allocations: 12.03 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1985, allocations: 106.3 MB / 0.9002 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1677/0.3663, allocations: 131.7 MB / 1.029 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.3666, allocations: 107.9 kB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001621/0.3682, allocations: 0.6763 MB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3683, allocations: 0 / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3683, allocations: 0 / 1.03 GB, free: 11.08 MB / 0.6823 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.0002471/0.3685, allocations: 315.4 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3686, allocations: 8.031 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.598e-05/0.3686, allocations: 42.5 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.68e-05/0.3686, allocations: 0 / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.3688, allocations: 167 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-06/0.3688, allocations: 4 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.3688, allocations: 3.938 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.419e-05/0.3689, allocations: 25.7 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.3689, allocations: 4 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.3689, allocations: 3.984 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3689, allocations: 0 / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.543e-05/0.3689, allocations: 0 / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.3692, allocations: 395.3 kB / 1.031 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.839e-05/0.3693, allocations: 165.1 kB / 1.031 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.3694, allocations: 79.22 kB / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.3694, allocations: 106.5 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3694, allocations: 0 / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 7.275e-05/0.3695, allocations: 37.64 kB / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.3696, allocations: 130.7 kB / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.63e-05/0.3696, allocations: 85 kB / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.3697, allocations: 25.7 kB / 1.031 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.3697, allocations: 80.14 kB / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-06/0.3697, allocations: 0 / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-06/0.3697, allocations: 0 / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3698, allocations: 322.8 kB / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-06/0.3698, allocations: 4.125 kB / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.447e-06/0.3699, allocations: 0 / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.308e-05/0.3699, allocations: 0 / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3699, allocations: 0 / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.396e-05/0.37, allocations: 37.7 kB / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.37, allocations: 4 kB / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.37, allocations: 3.938 kB / 1.032 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.37, allocations: 0 / 1.032 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.027e-05/0.3701, allocations: 4 kB / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3701, allocations: 0 / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.968e-06/0.3701, allocations: 4.094 kB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.3701, allocations: 3.984 kB / 1.032 GB, free: 8.84 MB / 0.6823 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 8.63e-05/0.3702, allocations: 185.6 kB / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.824e-05/0.3703, allocations: 106.7 kB / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/0.3703, allocations: 108 kB / 1.032 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.142e-05/0.3704, allocations: 180.3 kB / 1.032 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.391e-05/0.3705, allocations: 184.2 kB / 1.032 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.381e-05/0.3706, allocations: 184.2 kB / 1.032 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.3709, allocations: 397.2 kB / 1.033 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.254e-05/0.3709, allocations: 104.9 kB / 1.033 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-05/0.371, allocations: 116.9 kB / 1.033 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.954e-05/0.3711, allocations: 184.3 kB / 1.033 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.272e-05/0.3711, allocations: 184.2 kB / 1.033 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.783e-05/0.3712, allocations: 180.2 kB / 1.034 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.535e-05/0.3713, allocations: 180.2 kB / 1.034 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.3715, allocations: 311.8 kB / 1.034 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.554e-05/0.3716, allocations: 186 kB / 1.034 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.912e-05/0.3716, allocations: 176.3 kB / 1.034 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.431e-05/0.3717, allocations: 109.7 kB / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.3718, allocations: 180.3 kB / 1.035 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.3719, allocations: 105 kB / 1.035 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.69e-05/0.3719, allocations: 83.22 kB / 1.035 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.3719, allocations: 0 / 1.035 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002512/0.3722, allocations: 0 / 1.035 GB, free: 5.246 MB / 0.6823 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.0004512/0.3726, allocations: 0.8087 MB / 1.036 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 5.3e-05/0.3727, allocations: 8.094 kB / 1.036 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3727, allocations: 0 / 1.036 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.326e-06/0.3727, allocations: 3.938 kB / 1.036 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.3731, allocations: 0.5185 MB / 1.036 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/0.3734, allocations: 178.5 kB / 1.036 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.3737, allocations: 0.6771 MB / 1.037 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.368e-05/0.3737, allocations: 0 / 1.037 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.78e-05/0.3738, allocations: 7.438 kB / 1.037 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.3738, allocations: 0 / 1.037 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01209/0.3859, allocations: 0.7629 MB / 1.038 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002667/0.3862, allocations: 266.7 kB / 1.038 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/1.856, allocations: 0 / 1.038 GB, free: 2.059 MB / 0.6823 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)