Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001198/0.001198, allocations: 103.5 kB / 16.37 MB, free: 6.367 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.001209/0.001209, allocations: 195.2 kB / 17.31 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/2.899e-05, allocations: 6.219 kB / 0.6729 GB, free: 5.902 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002332/0.002377, allocations: 1.301 MB / 0.6741 GB, free: 4.594 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007429/0.003132, allocations: 495.6 kB / 0.6746 GB, free: 4.102 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.786e-05/0.003172, allocations: 4 kB / 0.6746 GB, free: 4.098 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.202e-05/0.003259, allocations: 0 / 0.6746 GB, free: 4.098 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.36e-05/0.003335, allocations: 11.92 kB / 0.6746 GB, free: 4.086 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.003569, allocations: 31.89 kB / 0.6747 GB, free: 4.055 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.066e-05/0.003649, allocations: 23.92 kB / 0.6747 GB, free: 4.031 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.003701, allocations: 8 kB / 0.6747 GB, free: 4.023 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.774e-05/0.003733, allocations: 7.984 kB / 0.6747 GB, free: 4.016 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.074e-05/0.003788, allocations: 11.92 kB / 0.6747 GB, free: 4.004 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.556e-06/0.003801, allocations: 0 / 0.6747 GB, free: 4.004 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.003914, allocations: 51.89 kB / 0.6748 GB, free: 3.953 MB / 0.545 GB Notification: Performance of combineBinaries: time 5.182e-05/0.003973, allocations: 27.73 kB / 0.6748 GB, free: 3.926 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 1.799e-05/0.003996, allocations: 23.66 kB / 0.6748 GB, free: 3.902 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.648e-05/0.004018, allocations: 4 kB / 0.6748 GB, free: 3.898 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.118e-05/0.004034, allocations: 3.984 kB / 0.6748 GB, free: 3.895 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 (2) * Number of variables: 2 (2) Notification: Performance of Bindings: time 0.000268/0.004306, allocations: 212.8 kB / 0.675 GB, free: 3.586 MB / 0.545 GB Notification: Performance of FunctionAlias: time 5.573e-05/0.004367, allocations: 11.95 kB / 0.675 GB, free: 3.574 MB / 0.545 GB Notification: Performance of Early Inline: time 7.745e-05/0.004451, allocations: 68.28 kB / 0.6751 GB, free: 3.48 MB / 0.545 GB Notification: Performance of simplify1: time 1.377e-05/0.004472, allocations: 8 kB / 0.6751 GB, free: 3.473 MB / 0.545 GB Notification: Performance of Alias: time 0.00021/0.004686, allocations: 108.7 kB / 0.6752 GB, free: 3.312 MB / 0.545 GB Notification: Performance of simplify2: time 3.206e-06/0.004697, allocations: 0 / 0.6752 GB, free: 3.312 MB / 0.545 GB Notification: Performance of Events: time 1.126e-05/0.004715, allocations: 8.328 kB / 0.6752 GB, free: 3.305 MB / 0.545 GB Notification: Performance of Detect States: time 4.47e-05/0.004765, allocations: 32.17 kB / 0.6753 GB, free: 3.258 MB / 0.545 GB Notification: Performance of Partitioning: time 9.037e-06/0.004779, allocations: 0 / 0.6753 GB, free: 3.258 MB / 0.545 GB Notification: Performance of Causalize: time 9.698e-06/0.004792, allocations: 0 / 0.6753 GB, free: 3.258 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 3.539e-05/0.004831, allocations: 56.34 kB / 0.6753 GB, free: 3.176 MB / 0.545 GB Notification: Performance of Inline: time 5.702e-05/0.004893, allocations: 60.48 kB / 0.6754 GB, free: 3.082 MB / 0.545 GB Notification: Performance of Partitioning: time 1.145e-05/0.004909, allocations: 12.12 kB / 0.6754 GB, free: 3.062 MB / 0.545 GB Notification: Performance of Cleanup: time 4.809e-06/0.004918, allocations: 0 / 0.6754 GB, free: 3.062 MB / 0.545 GB Error: Internal error NBSorting.tarjan failed to sort system: system vars Variables (4/24) ****************************** (1) [PRMT] (6) Real[6] $FUN_1 (fixed = {false for $i1 in 1:6}) (2) [PRMT] (6) Real[6] $FUN_2 (fixed = {false for $i1 in 1:6}) (3) [PRMT] (6) final parameter Real[6] rCel (fixed = {false for $i1 in 1:6}) (4) [PRMT] (6) final parameter Real[6] nu (fixed = {false for $i1 in 1:6}) system eqns Equations (3/24) ****************************** (1) [ARRY] (6) rCel = $FUN_2 ($RES_$AUX_5) (2) [ARRY] (6) nu = $FUN_1 ($RES_$AUX_4) (3) [TUPL] (12) ($FUN_1, $FUN_2) = Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.aggregationCellTimes(6, 2.0, 2, tLoaAgg, 12.0 * tLoaAgg) ($RES_$AUX_3) =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 24 var 2 --> eqn 23 var 3 --> eqn 22 var 4 --> eqn 21 var 5 --> eqn 20 var 6 --> eqn 19 var 7 --> eqn 18 var 8 --> eqn 17 var 9 --> eqn 16 var 10 --> eqn 15 var 11 --> eqn 14 var 12 --> eqn 13 var 13 --> eqn 1 var 14 --> eqn 2 var 15 --> eqn 3 var 16 --> eqn 4 var 17 --> eqn 5 var 18 --> eqn 6 var 19 --> eqn 7 var 20 --> eqn 8 var 21 --> eqn 9 var 22 --> eqn 10 var 23 --> eqn 11 var 24 --> eqn 12 equation to variable ********************** eqn 1 --> var 13 eqn 2 --> var 14 eqn 3 --> var 15 eqn 4 --> var 16 eqn 5 --> var 17 eqn 6 --> var 18 eqn 7 --> var 19 eqn 8 --> var 20 eqn 9 --> var 21 eqn 10 --> var 22 eqn 11 --> var 23 eqn 12 --> var 24 eqn 13 --> var 12 eqn 14 --> var 11 eqn 15 --> var 10 eqn 16 --> var 9 eqn 17 --> var 8 eqn 18 --> var 7 eqn 19 --> var 6 eqn 20 --> var 5 eqn 21 --> var 4 eqn 22 --> var 3 eqn 23 --> var 2 eqn 24 --> var 1 Error: Internal error NBInitialization.main failed to apply modules!