Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Validation.Boundary") translateModel(Buildings.Fluid.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001271/0.001272, allocations: 105.3 kB / 16.38 MB, free: 6.387 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.001285/0.001285, allocations: 195.6 kB / 17.32 MB, free: 5.766 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.495/1.495, 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.81/1.81, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.54e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.6562/0.6562, allocations: 264 MB / 0.9306 GB, free: 12.63 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02845/0.6847, allocations: 21.99 MB / 0.9521 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003185/0.6879, allocations: 75.44 kB / 0.9522 GB, free: 9.215 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002002/0.6899, allocations: 0.8376 MB / 0.953 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0078/0.6978, allocations: 2.908 MB / 0.9558 GB, free: 5.449 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00774/0.7056, allocations: 3.218 MB / 0.959 GB, free: 2.246 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005904/0.7115, allocations: 4.269 MB / 0.9631 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00221/0.7137, allocations: 1.656 MB / 0.9648 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002889/0.7166, allocations: 1.689 MB / 0.9664 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.7178, allocations: 1.192 MB / 0.9676 GB, free: 9.438 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.718, allocations: 108 kB / 0.9677 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008917/0.7269, allocations: 4.216 MB / 0.9718 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of combineBinaries: time 0.002713/0.7296, allocations: 2.829 MB / 0.9746 GB, free: 2.246 MB / 0.7012 GB Notification: Performance of replaceArrayConstructors: time 0.001748/0.7314, allocations: 1.919 MB / 0.9764 GB, free: 312 kB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005513/0.732, allocations: 307.1 kB / 0.9767 GB, free: 4 kB / 0.7012 GB Notification: Performance of FrontEnd: time 0.0004576/0.7324, allocations: 103.5 kB / 0.9768 GB, free: 15.9 MB / 0.7169 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.006186/0.7386, allocations: 6.941 MB / 0.9836 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of FunctionAlias: time 0.0003018/0.7389, allocations: 263.6 kB / 0.9838 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of Early Inline: time 0.0032/0.7422, allocations: 3.081 MB / 0.9869 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of simplify1: time 0.0001868/0.7423, allocations: 179.8 kB / 0.987 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of Alias: time 0.004243/0.7466, allocations: 4.191 MB / 0.9911 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of simplify2: time 0.0001595/0.7468, allocations: 139.8 kB / 0.9913 GB, free: 448 kB / 0.7169 GB Notification: Performance of Events: time 0.0002172/0.747, allocations: 208.8 kB / 0.9915 GB, free: 240 kB / 0.7169 GB Notification: Performance of Detect States: time 0.0005325/0.7475, allocations: 0.6341 MB / 0.9921 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of Partitioning: time 0.001143/0.7487, allocations: 1.223 MB / 0.9933 GB, free: 14.04 MB / 0.7325 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 = Buildings.Fluid.Sources.Validation.Boundary.bouProFluGas.sou.Medium.specificEnthalpy(Buildings.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 = Buildings.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 = Buildings.Fluid.Sources.Validation.Boundary.bouProFluGas.senTem.Medium.T_hX.Internal.solve(bouProFluGas.senTem.port_b.h_outflow, 200.0, 6000.0, 1e5, bouProFluGas.senTem.port_b.Xi_outflow, Modelica.Media.IdealGases.Common.DataRecord("N2", 0.0280134, 0.0, 309498.4543111511, 1000.0, {22103.71497, -381.846182, 6.08273836, -0.00853091441, 1.384646189e-5, -9.62579362e-9, 2.519705809e-12}, {710.846086, -10.76003744}, {587712.406, -2239.249073, 6.06694922, -6.1396855e-4, 1.491806679e-7, -1.923105485e-11, 1.061954386e-15}, {12832.10415, -15.86640027}, 296.8033869505308), 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)