Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.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.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary") translateModel(BuildingSystems.Fluid.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001419, allocations: 102.8 kB / 16.38 MB, free: 6.43 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.001379/0.001379, allocations: 190.6 kB / 17.31 MB, free: 5.777 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.353/1.353, 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.002137/0.002137, allocations: 291.4 kB / 291.4 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.9429/0.9429, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.763e-05, allocations: 5.094 kB / 0.5966 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.Boundary): time 0.631/0.6311, allocations: 253.3 MB / 0.844 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02479/0.6559, allocations: 20.59 MB / 0.8641 GB, free: 100 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003409/0.6593, allocations: 75.44 kB / 0.8641 GB, free: 24 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002905/0.6623, allocations: 0.8337 MB / 0.8649 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008361/0.6707, allocations: 2.919 MB / 0.8678 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006952/0.6777, allocations: 2.744 MB / 0.8705 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006808/0.6845, allocations: 4.265 MB / 0.8746 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002823/0.6874, allocations: 1.656 MB / 0.8763 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004217/0.6916, allocations: 1.696 MB / 0.8779 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002434/0.694, allocations: 1.179 MB / 0.8791 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003071/0.6944, allocations: 108 kB / 0.8792 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009241/0.7036, allocations: 3.791 MB / 0.8829 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.003854/0.7075, allocations: 2.829 MB / 0.8856 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.002111/0.7096, allocations: 1.917 MB / 0.8875 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.7107, allocations: 311.1 kB / 0.8878 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of FrontEnd: time 0.0005805/0.7113, allocations: 99.61 kB / 0.8879 GB, free: 7.566 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 (216) * Number of variables: 320 (216) Notification: Performance of Bindings: time 0.01018/0.7215, allocations: 6.937 MB / 0.8947 GB, free: 420 kB / 0.6075 GB Notification: Performance of FunctionAlias: time 0.0003318/0.7218, allocations: 263.6 kB / 0.8949 GB, free: 156 kB / 0.6075 GB Notification: Performance of Early Inline: time 0.003766/0.7256, allocations: 3.07 MB / 0.8979 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simplify1: time 0.0002267/0.7259, allocations: 183.8 kB / 0.8981 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of Alias: time 0.005369/0.7312, allocations: 4.198 MB / 0.9022 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of simplify2: time 0.0003437/0.7316, allocations: 139.8 kB / 0.9023 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of Events: time 0.000248/0.7319, allocations: 199.3 kB / 0.9025 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of Detect States: time 0.0006634/0.7325, allocations: 0.6295 MB / 0.9031 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of Partitioning: time 0.00128/0.7338, allocations: 1.222 MB / 0.9043 GB, free: 5.707 MB / 0.6231 GB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency bouProFluGas.sou.ports[1].Xi_outflow[1] could not be devided by the body size 6 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (6) bouProFluGas.senTem.port_b.Xi_outflow = {bouProFluGas.sou.ports[1].Xi_outflow[1], bouProFluGas.sou.ports[1].Xi_outflow[2], bouProFluGas.sou.ports[1].Xi_outflow[3], bouProFluGas.sou.ports[1].Xi_outflow[4], bouProFluGas.sou.ports[1].Xi_outflow[5], bouProFluGas.sou.ports[1].Xi_outflow[6]} ($RES_SIM_61) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (9/34) ************************* (1) [ALGB] (1) protected Real bouProFluGas.sou.h_internal = BuildingSystems.Fluid.Sources.Validation.Boundary.bouProFluGas.sou.Medium.specificEnthalpy(BuildingSystems.Fluid.Sources.Validation.Boundary.bouProFluGas.sou.Medium.setState_pTX(bouProFluGas.sou.p, bouProFluGas.sou.T, bouProFluGas.sou.X_in_internal)) (2) [ALGB] (6) protected Real[6] bouProFluGas.sou.X_in_internal (3) [ALGB] (1) stream Real[1] bouProFluGas.sou.ports.h_outflow (start = {3e5}, min = {-1e10 for $i1 in 1:1}, max = {1e10 for $i1 in 1:1}, nominal = {1e5 for $i1 in 1:1}) (4) [ALGB] (6) stream Real[6] bouProFluGas.senTem.port_b.Xi_outflow (min = {0.0 for $i1 in 1:6}, max = {1.0 for $i1 in 1:6}, nominal = {0.1 for $i1 in 1:6}) (5) [ALGB] (6) stream Real[1, 6] bouProFluGas.sou.ports.Xi_outflow (min = {{0.0 for $i1 in 1:6}}, max = {{1.0 for $i1 in 1:6}}, nominal = {{0.1 for $i1 in 1:6}}) (6) [ALGB] (6) Real[6] bouProFluGas.Xi = bouProFluGas.sou.ports[1].Xi_outflow (min = {0.0 for $i1 in 1:6}, max = {1.0 for $i1 in 1:6}) (7) [ALGB] (6) protected Real[6] bouProFluGas.sou.Xi_in_internal (8) [ALGB] (1) stream Real bouProFluGas.senTem.port_b.h_outflow (start = 3e5, min = -1e10, max = 1e10, nominal = 1e5) (9) [ALGB] (1) Real bouProFluGas.T = bouProFluGas.T (start = 288.15, min = 0.0, nominal = 300.0) System Equations (9/34) ************************* (1) [SCAL] (1) bouProFluGas.sou.h_internal = BuildingSystems.Fluid.Sources.Validation.Boundary.bouProFluGas.sou.Medium.h_TX(bouProFluGas.sou.T, bouProFluGas.sou.X_in_internal, true, Modelica.Media.Interfaces.Choices.ReferenceEnthalpy.ZeroAt0K, 0.0) ($RES_BND_223) (2) [SCAL] (1) bouProFluGas.T = Modelica.Math.Nonlinear.solveOneNonlinearEquation(function BuildingSystems.Fluid.Sources.Validation.Boundary.bouProFluGas.senTem.Medium.T_hX.f_nonlinear(h = BOX(bouProFluGas.senTem.port_b.h_outflow), X = BOX(bouProFluGas.senTem.port_b.Xi_outflow), exclEnthForm = BOX(true), refChoice = BOX(Modelica.Media.Interfaces.Choices.ReferenceEnthalpy.ZeroAt0K), h_off = BOX(0.0)), 200.0, 6000.0, 1e-13) ($RES_SIM_69) (3) [ARRY] (6) bouProFluGas.Xi = bouProFluGas.sou.ports[1].Xi_outflow ($RES_BND_226) (4) [ARRY] (6) bouProFluGas.senTem.port_b.Xi_outflow = {bouProFluGas.sou.ports[1].Xi_outflow[1], bouProFluGas.sou.ports[1].Xi_outflow[2], bouProFluGas.sou.ports[1].Xi_outflow[3], bouProFluGas.sou.ports[1].Xi_outflow[4], bouProFluGas.sou.ports[1].Xi_outflow[5], bouProFluGas.sou.ports[1].Xi_outflow[6]} ($RES_SIM_61) (5) [ARRY] (6) bouProFluGas.sou.Xi_in_internal = bouProFluGas.sou.X[:] ($RES_SIM_81) (6) [ARRY] (6) bouProFluGas.sou.X_in_internal = bouProFluGas.sou.X ($RES_SIM_82) (7) [FOR-] (6) ($RES_SIM_79) (7) [----] for $i1 in 1:1 loop (7) [----] [ARRY] (6) bouProFluGas.sou.ports[$i1].Xi_outflow = bouProFluGas.sou.Xi_in_internal ($RES_SIM_80) (7) [----] end for; (8) [SCAL] (1) bouProFluGas.senTem.port_b.h_outflow = bouProFluGas.sou.ports[1].h_outflow ($RES_SIM_63) (9) [SCAL] (1) bouProFluGas.sou.ports[1].h_outflow = bouProFluGas.sou.h_internal ($RES_SIM_83)