Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 2.016/2.016, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001076/0.001076, allocations: 180.9 kB / 366.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.2 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008387/0.0008385, allocations: 96.19 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.375e-05/2.379e-05, allocations: 4 kB / 0.8598 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7642/0.7643, allocations: 116.3 MB / 0.9734 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2023/0.9667, allocations: 138.2 MB / 1.108 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/0.967, allocations: 109.2 kB / 1.108 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001735/0.9688, allocations: 0.6745 MB / 1.109 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9688, allocations: 0 / 1.109 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.9688, allocations: 0 / 1.109 GB, free: 11.06 MB / 0.7136 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.0002574/0.9691, allocations: 324.8 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.9691, allocations: 12.03 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.515e-05/0.9692, allocations: 1.406 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.9693, allocations: 163 kB / 1.11 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.9693, allocations: 0 / 1.11 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-06/0.9693, allocations: 0 / 1.11 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.658e-05/0.9694, allocations: 0.7812 kB / 1.11 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.048e-05/0.9694, allocations: 34.3 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.9695, allocations: 0 / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.9695, allocations: 0.6875 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.9695, allocations: 0.6562 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.9698, allocations: 357.1 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.455e-05/0.9699, allocations: 178.3 kB / 1.11 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.9699, allocations: 84.67 kB / 1.11 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.97, allocations: 76 kB / 1.11 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.496e-05/0.97, allocations: 109.4 kB / 1.11 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.97, allocations: 0.5 kB / 1.11 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.488e-05/0.9701, allocations: 26.23 kB / 1.11 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.9702, allocations: 53.97 kB / 1.111 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.311e-05/0.9702, allocations: 97.8 kB / 1.111 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.9703, allocations: 25.7 kB / 1.111 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.9703, allocations: 84.14 kB / 1.111 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.9703, allocations: 1.031 kB / 1.111 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-06/0.9703, allocations: 0 / 1.111 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.9705, allocations: 319.7 kB / 1.111 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-06/0.9705, allocations: 4 kB / 1.111 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.038e-06/0.9705, allocations: 1.062 kB / 1.111 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.755e-05/0.9705, allocations: 0 / 1.111 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.9705, allocations: 3.125 kB / 1.111 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.353e-05/0.9706, allocations: 29.7 kB / 1.111 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.9706, allocations: 8 kB / 1.111 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.9706, allocations: 0 / 1.111 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.9707, allocations: 0 / 1.111 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.349e-05/0.9707, allocations: 3.984 kB / 1.111 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.9707, allocations: 0 / 1.111 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.246e-05/0.9707, allocations: 3.906 kB / 1.111 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.9708, allocations: 12.73 kB / 1.111 GB, free: 8.922 MB / 0.7136 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.422e-05/0.9709, allocations: 184.2 kB / 1.111 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.94e-05/0.9709, allocations: 130.7 kB / 1.111 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.971, allocations: 104.7 kB / 1.111 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.375e-05/0.9711, allocations: 113.6 kB / 1.112 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-05/0.9712, allocations: 180.3 kB / 1.112 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-05/0.9712, allocations: 181.1 kB / 1.112 GB, free: 8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001055/0.9713, allocations: 182.5 kB / 1.112 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.9716, allocations: 381.7 kB / 1.112 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.541e-05/0.9716, allocations: 101 kB / 1.113 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.9717, allocations: 108 kB / 1.113 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.764e-05/0.9717, allocations: 188.2 kB / 1.113 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-05/0.9718, allocations: 176.3 kB / 1.113 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.525e-05/0.9719, allocations: 188.2 kB / 1.113 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.45e-05/0.972, allocations: 177.3 kB / 1.113 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.9721, allocations: 307 kB / 1.114 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.011e-05/0.9722, allocations: 178.1 kB / 1.114 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.35e-05/0.9723, allocations: 184.2 kB / 1.114 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.068e-05/0.9724, allocations: 109.1 kB / 1.114 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.527e-05/0.9725, allocations: 181.2 kB / 1.114 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.033e-05/0.9725, allocations: 101 kB / 1.114 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.197e-05/0.9726, allocations: 83.22 kB / 1.114 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9726, allocations: 0 / 1.114 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002325/0.9728, allocations: 0 / 1.114 GB, free: 5.25 MB / 0.7136 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.0004161/0.9733, allocations: 0.8127 MB / 1.115 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.417e-05/0.9733, allocations: 4 kB / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9733, allocations: 0 / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.9733, allocations: 0 / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.9736, allocations: 0.5224 MB / 1.116 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.9739, allocations: 151.6 kB / 1.116 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.9741, allocations: 0.669 MB / 1.117 GB, free: 3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.406e-05/0.9742, allocations: 4 kB / 1.117 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/0.9742, allocations: 7.438 kB / 1.117 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.9742, allocations: 0 / 1.117 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.9934, allocations: 446.8 kB / 1.117 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000299/0.9937, allocations: 212.5 kB / 1.117 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.569, allocations: 6.234 kB / 1.117 GB, free: 2.301 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)