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.001419/0.001419, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001429/0.001429, allocations: 187 kB / 17.34 MB, free: 5.742 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00218/0.00218, allocations: 288.5 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9256/0.9256, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 91.86 kB / 0.6822 GB, free: 6.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.4465, allocations: 86.97 MB / 0.7671 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002362/0.4489, allocations: 1.284 MB / 0.7683 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007694/0.4497, allocations: 444.8 kB / 0.7688 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.108e-05/0.4497, allocations: 0 / 0.7688 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.356e-05/0.4498, allocations: 7.922 kB / 0.7688 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.821e-05/0.4499, allocations: 4 kB / 0.7688 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.4501, allocations: 31.89 kB / 0.7688 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.033e-05/0.4502, allocations: 27.86 kB / 0.7688 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.4503, allocations: 7.938 kB / 0.7688 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.957e-05/0.4503, allocations: 7.984 kB / 0.7688 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.805e-05/0.4504, allocations: 15.86 kB / 0.7689 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.4504, allocations: 4 kB / 0.7689 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.4505, allocations: 43.95 kB / 0.7689 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.604e-05/0.4506, allocations: 11.98 kB / 0.7689 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.4506, allocations: 19.86 kB / 0.7689 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.4508, allocations: 62.48 kB / 0.769 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4508, allocations: 0 / 0.769 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4508, allocations: 0 / 0.769 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.4508, allocations: 0 / 0.769 GB, free: 1.906 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.000369/0.4512, allocations: 357.8 kB / 0.7693 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.4512, allocations: 8.031 kB / 0.7693 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/0.4513, allocations: 12.84 kB / 0.7694 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.4514, allocations: 171.2 kB / 0.7695 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.4514, allocations: 384 / 0.7695 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.4514, allocations: 384 / 0.7695 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.4515, allocations: 51.72 kB / 0.7696 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.4516, allocations: 0 / 0.7696 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.4516, allocations: 0 / 0.7696 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.4516, allocations: 4 kB / 0.7696 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.367e-05/0.4516, allocations: 11.94 kB / 0.7696 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.4518, allocations: 174.5 kB / 0.7698 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.831e-05/0.4518, allocations: 33.22 kB / 0.7698 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.4519, allocations: 21.72 kB / 0.7698 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-06/0.4519, allocations: 11.98 kB / 0.7698 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.4519, allocations: 34.5 kB / 0.7699 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.4519, allocations: 0 / 0.7699 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.000138/0.4521, allocations: 49.62 kB / 0.7699 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.4521, allocations: 77.11 kB / 0.77 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.4522, allocations: 137.7 kB / 0.7701 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.4523, allocations: 29.95 kB / 0.7701 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.4523, allocations: 88.14 kB / 0.7702 GB, free: 448 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.4523, allocations: 11.83 kB / 0.7702 GB, free: 436 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.4524, allocations: 21.72 kB / 0.7702 GB, free: 408 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.4525, allocations: 322.8 kB / 0.7706 GB, free: 76 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.96e-05/0.4525, allocations: 23.98 kB / 0.7706 GB, free: 52 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.837e-05/0.4526, allocations: 24 kB / 0.7706 GB, free: 28 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.344e-05/0.4526, allocations: 47.2 kB / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4526, allocations: 0 / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001194/0.4528, allocations: 97.53 kB / 0.7707 GB, free: 15.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.4528, allocations: 11.94 kB / 0.7708 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.4528, allocations: 3.938 kB / 0.7708 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.4528, allocations: 0 / 0.7708 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.252e-05/0.4529, allocations: 11.92 kB / 0.7708 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.4529, allocations: 0 / 0.7708 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.803e-05/0.4529, allocations: 7.844 kB / 0.7708 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.4529, allocations: 4 kB / 0.7708 GB, free: 15.84 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 6.974e-05/0.453, allocations: 116.2 kB / 0.7709 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.453, allocations: 11.84 kB / 0.7709 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.4531, allocations: 11.52 kB / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4531, allocations: 4 kB / 0.7709 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4531, allocations: 0 / 0.7709 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.4531, allocations: 0 / 0.7709 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.4532, allocations: 161.7 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4532, allocations: 0 / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.939e-05/0.4532, allocations: 7.938 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4532, allocations: 3.938 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.4532, allocations: 0 / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.4532, allocations: 4 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4533, allocations: 4 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.53e-05/0.4533, allocations: 69.98 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.4534, allocations: 84.95 kB / 0.7712 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.4534, allocations: 3.984 kB / 0.7712 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.672e-05/0.4534, allocations: 96 / 0.7712 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.4534, allocations: 7.984 kB / 0.7712 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.4534, allocations: 4.031 kB / 0.7713 GB, free: 15.26 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.634e-05/0.4535, allocations: 103.2 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4535, allocations: 0 / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002/0.4537, allocations: 20 kB / 0.7714 GB, free: 15.14 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.0001661/0.4539, allocations: 120.2 kB / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001391/0.454, allocations: 81.67 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.454, allocations: 0 / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.511e-05/0.4541, allocations: 15.94 kB / 0.7716 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.4542, allocations: 0 / 0.7716 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/0.4545, allocations: 172 kB / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.4547, allocations: 0.6807 MB / 0.7724 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.731e-05/0.4547, allocations: 11.44 kB / 0.7724 GB, free: 13.99 MB / 0.545 GB Notification: Performance of SimCode: time 1.362e-06/0.4548, allocations: 0 / 0.7724 GB, free: 13.99 MB / 0.545 GB Notification: Performance of Templates: time 0.002193/0.457, allocations: 0.7355 MB / 0.7731 GB, free: 13.26 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)