Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 111.8 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 189.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002619/0.002619, allocations: 279.1 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9862/0.9862, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002821/0.002821, allocations: 99.84 kB / 0.6822 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3875, allocations: 86.97 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002338/0.3898, allocations: 1.276 MB / 0.7683 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007769/0.3906, allocations: 456.8 kB / 0.7688 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.033e-05/0.3906, allocations: 0 / 0.7688 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.982e-05/0.3907, allocations: 0 / 0.7688 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.077e-05/0.3908, allocations: 3.938 kB / 0.7688 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.391, allocations: 35.89 kB / 0.7688 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.457e-05/0.3911, allocations: 31.84 kB / 0.7688 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.405e-05/0.3911, allocations: 0 / 0.7688 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.637e-05/0.3911, allocations: 8 kB / 0.7689 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.272e-05/0.3912, allocations: 15.91 kB / 0.7689 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.3912, allocations: 4 kB / 0.7689 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.3913, allocations: 43.91 kB / 0.7689 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.886e-05/0.3914, allocations: 7.984 kB / 0.7689 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.658e-05/0.3914, allocations: 23.86 kB / 0.7689 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.3915, allocations: 55.19 kB / 0.769 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3916, allocations: 7.938 kB / 0.769 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3916, allocations: 0 / 0.769 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.3916, allocations: 0 / 0.769 GB, free: 1.938 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000411/0.392, allocations: 357.4 kB / 0.7693 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.392, allocations: 8.031 kB / 0.7694 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.584e-05/0.392, allocations: 4.938 kB / 0.7694 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.3922, allocations: 176.3 kB / 0.7695 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-06/0.3922, allocations: 4.375 kB / 0.7695 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.3922, allocations: 384 / 0.7695 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.3923, allocations: 51.67 kB / 0.7696 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3923, allocations: 3.984 kB / 0.7696 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-06/0.3923, allocations: 0 / 0.7696 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3923, allocations: 0 / 0.7696 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.174e-05/0.3924, allocations: 11.98 kB / 0.7696 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.3925, allocations: 170.5 kB / 0.7698 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.518e-05/0.3926, allocations: 37.22 kB / 0.7698 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/0.3926, allocations: 25.7 kB / 0.7698 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.3926, allocations: 4 kB / 0.7698 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.3927, allocations: 38.5 kB / 0.7699 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3927, allocations: 0 / 0.7699 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001355/0.3928, allocations: 53.58 kB / 0.7699 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.3929, allocations: 81.05 kB / 0.77 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.393, allocations: 140 kB / 0.7701 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.393, allocations: 25.95 kB / 0.7701 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.3931, allocations: 92.08 kB / 0.7702 GB, free: 468 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.3931, allocations: 3.953 kB / 0.7702 GB, free: 464 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.3931, allocations: 33.7 kB / 0.7703 GB, free: 424 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3932, allocations: 310.8 kB / 0.7706 GB, free: 104 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.913e-05/0.3933, allocations: 27.98 kB / 0.7706 GB, free: 76 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.484e-05/0.3933, allocations: 27.98 kB / 0.7706 GB, free: 48 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.04e-05/0.3934, allocations: 43.47 kB / 0.7707 GB, free: 4 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.3934, allocations: 0 / 0.7707 GB, free: 4 kB / 0.5294 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001472/0.3935, allocations: 97.62 kB / 0.7708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3936, allocations: 7.938 kB / 0.7708 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.3936, allocations: 11.88 kB / 0.7708 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.3936, allocations: 0 / 0.7708 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.185e-05/0.3936, allocations: 0 / 0.7708 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3936, allocations: 4 kB / 0.7708 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.541e-05/0.3937, allocations: 11.89 kB / 0.7708 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.3937, allocations: 0 / 0.7708 GB, free: 15.87 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.477e-05/0.3938, allocations: 120.2 kB / 0.7709 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.3938, allocations: 7.938 kB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.678e-05/0.3938, allocations: 7.469 kB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.3938, allocations: 0 / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.3938, allocations: 4 kB / 0.7709 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3938, allocations: 4 kB / 0.7709 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.3939, allocations: 165.6 kB / 0.7711 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3939, allocations: 0 / 0.7711 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.304e-05/0.3939, allocations: 7.984 kB / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3939, allocations: 3.938 kB / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.394, allocations: 0 / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.394, allocations: 0 / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.394, allocations: 4 kB / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.518e-05/0.394, allocations: 73.92 kB / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.3941, allocations: 89 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.3941, allocations: 0 / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.728e-05/0.3941, allocations: 0 / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.3941, allocations: 0 / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.3941, allocations: 8.031 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.829e-05/0.3942, allocations: 103.2 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3942, allocations: 0 / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002124/0.3944, allocations: 19.94 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001724/0.3946, allocations: 115.2 kB / 0.7715 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.3947, allocations: 73.62 kB / 0.7716 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3947, allocations: 0 / 0.7716 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.589e-05/0.3948, allocations: 15.98 kB / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.3949, allocations: 4 kB / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.3952, allocations: 151.9 kB / 0.7717 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.3955, allocations: 0.6923 MB / 0.7724 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.793e-05/0.3956, allocations: 7.875 kB / 0.7724 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.55e-05/0.3956, allocations: 7.438 kB / 0.7724 GB, free: 14.04 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.3956, allocations: 4.125 kB / 0.7724 GB, free: 14.03 MB / 0.545 GB Notification: Performance of Templates: time 0.003024/0.3986, allocations: 0.5545 MB / 0.773 GB, free: 13.53 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)