Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/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(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 113 kB / 17.75 MB, free: 5.352 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.001051/0.001051, allocations: 188.8 kB / 18.68 MB, free: 4.426 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.744/1.744, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4012/0.4012, allocations: 48.85 MB / 320.8 MB, free: 11.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.459e-05/3.461e-05, allocations: 2.281 kB / 451.2 MB, free: 8.586 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F): time 0.4408/0.4408, allocations: 93.2 MB / 0.5316 GB, free: 7.887 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0226/0.4635, allocations: 14.54 MB / 0.5458 GB, free: 7.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001803/0.4653, allocations: 28.94 kB / 0.5458 GB, free: 7.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.4673, allocations: 0.637 MB / 0.5465 GB, free: 7.766 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002738/0.4701, allocations: 1.006 MB / 0.5475 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02367/0.4938, allocations: 6.009 MB / 0.5533 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006804/0.5007, allocations: 3.063 MB / 0.5563 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002354/0.503, allocations: 0.8001 MB / 0.5571 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004389/0.5074, allocations: 1.21 MB / 0.5583 GB, free: 7.312 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003532/0.511, allocations: 1.111 MB / 0.5594 GB, free: 7.156 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006255/0.5116, allocations: 100.3 kB / 0.5595 GB, free: 7.156 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01895/0.5306, allocations: 6.221 MB / 0.5655 GB, free: 7 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.005393/0.536, allocations: 2.599 MB / 0.5681 GB, free: 5.711 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.002104/0.5382, allocations: 1.636 MB / 0.5697 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001376/0.5396, allocations: 230.9 kB / 0.5699 GB, free: 4.703 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0004767/0.5401, allocations: 28.17 kB / 0.5699 GB, free: 4.703 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1647 (195) * Number of variables: 9247 (225) Notification: Performance of Bindings: time 0.009709/0.5498, allocations: 7.725 MB / 0.5775 GB, free: 1.539 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0004727/0.5503, allocations: 389.9 kB / 0.5778 GB, free: 1.414 MB / 414.1 MB Notification: Performance of Early Inline: time 0.00376/0.554, allocations: 3.773 MB / 0.5815 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simplify1: time 0.0002233/0.5543, allocations: 162.2 kB / 0.5817 GB, free: 15.7 MB / 430.1 MB Notification: Performance of Alias: time 0.005994/0.5603, allocations: 4.354 MB / 0.5859 GB, free: 12.85 MB / 430.1 MB Notification: Performance of simplify2: time 0.0001475/0.5604, allocations: 99.12 kB / 0.586 GB, free: 12.78 MB / 430.1 MB Notification: Performance of Events: time 0.0005172/0.561, allocations: 426.7 kB / 0.5864 GB, free: 12.48 MB / 430.1 MB Notification: Performance of Detect States: time 0.0008457/0.5618, allocations: 0.7023 MB / 0.5871 GB, free: 11.93 MB / 430.1 MB Notification: Performance of Partitioning: time 0.001415/0.5632, allocations: 1.086 MB / 0.5882 GB, free: 11.09 MB / 430.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(400) {hexFVb.heatTransfer.fluidState[1].h, hexFVb.heatTransfer.fluidState[2].h, hexFVb.heatTransfer.fluidState[3].h, hexFVb.heatTransfer.fluidState[4].h, hexFVb.heatTransfer.fluidState[5].h, hexFVb.heatTransfer.fluidState[6].h, hexFVb.heatTransfer.fluidState[7].h, hexFVb.heatTransfer.fluidState[8].h, hexFVb.heatTransfer.fluidState[9].h, hexFVb.heatTransfer.fluidState[10].h, hexFVb.heatTransfer.fluidState[11].h, hexFVb.heatTransfer.fluidState[12].h, hexFVb.heatTransfer.fluidState[13].h, hexFVb.heatTransfer.fluidState[14].h, hexFVb.heatTransfer.fluidState[15].h, hexFVb.heatTransfer.fluidState[16].h, hexFVb.heatTransfer.fluidState[17].h, hexFVb.heatTransfer.fluidState[18].h, hexFVb.heatTransfer.fluidState[19].h, hexFVb.heatTransfer.fluidState[20].h}, does not fit the equation size 20. Error: Internal error NBSlice.resolveDependency failed for: hexFVb.heatTransfer.fluidState.h. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (20) ($RES_SIM_130) [----] for $i1 in 1:20 loop [----] [SCAL] (1) hexFVb.heatTransfer.T[$i1] = hexFVb.heatTransfer.fluidState.h ($RES_SIM_131) [----] end for;