Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.VenturiPump.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.Examples.VenturiPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sink2_1.inlet.m_flow|source2_2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.VenturiPump") translateModel(ThermofluidStream.Examples.VenturiPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sink2_1.inlet.m_flow|source2_2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.VenturiPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002006/0.002006, allocations: 114.8 kB / 16.43 MB, free: 6.504 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.002486/0.002486, allocations: 187.2 kB / 17.36 MB, free: 5.715 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.531/1.531, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9834/0.9834, allocations: 91.18 MB / 382.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.579e-05/3.58e-05, allocations: 5.094 kB / 0.5174 GB, free: 4.191 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.VenturiPump): time 0.4823/0.4824, allocations: 100.1 MB / 0.6152 GB, free: 12.41 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.04551/0.5279, allocations: 33.87 MB / 0.6483 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002978/0.531, allocations: 63.62 kB / 0.6484 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003755/0.5347, allocations: 1.083 MB / 0.6494 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007644/0.5424, allocations: 1.805 MB / 0.6512 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02439/0.5668, allocations: 6.562 MB / 0.6576 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005232/0.5721, allocations: 2.532 MB / 0.6601 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.5731, allocations: 0.527 MB / 0.6606 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00939/0.5825, allocations: 4.16 MB / 0.6647 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.584, allocations: 0.8943 MB / 0.6655 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002168/0.5842, allocations: 132 kB / 0.6657 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02253/0.6068, allocations: 8.407 MB / 0.6739 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.003529/0.6103, allocations: 2.807 MB / 0.6766 GB, free: 184 kB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.001315/0.6117, allocations: 1.837 MB / 0.6784 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00055/0.6123, allocations: 271.2 kB / 0.6787 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0006588/0.6129, allocations: 143.6 kB / 0.6788 GB, free: 13.91 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: 323 (257) * Number of variables: 323 (303) Notification: Performance of Bindings: time 0.009082/0.622, allocations: 8.666 MB / 0.6873 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of FunctionAlias: time 0.001108/0.6231, allocations: 0.9718 MB / 0.6882 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of Early Inline: time 0.005109/0.6283, allocations: 4.707 MB / 0.6928 GB, free: 15.4 MB / 0.545 GB Notification: Performance of simplify1: time 0.0003629/0.6286, allocations: 311.6 kB / 0.6931 GB, free: 15.1 MB / 0.545 GB Notification: Performance of Alias: time 0.00685/0.6355, allocations: 5.256 MB / 0.6982 GB, free: 9.441 MB / 0.545 GB Notification: Performance of simplify2: time 0.0004584/0.636, allocations: 251.7 kB / 0.6985 GB, free: 9.195 MB / 0.545 GB Notification: Performance of Events: time 0.0005702/0.6366, allocations: 0.5214 MB / 0.699 GB, free: 8.668 MB / 0.545 GB Notification: Performance of Detect States: time 0.001114/0.6377, allocations: 0.9895 MB / 0.6999 GB, free: 7.652 MB / 0.545 GB Notification: Performance of Partitioning: time 0.001878/0.6396, allocations: 1.546 MB / 0.7015 GB, free: 6.055 MB / 0.545 GB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(4) {dynamicJunctionN2_1.junction.inlets[1].state.d, dynamicJunctionN2_1.junction.inlets[2].state.d}, does not fit the equation size 2. Error: Internal error NBSlice.resolveDependency failed for: dynamicJunctionN2_1.junction.inlets.state.d. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (2) ($RES_BND_255) [----] for $i1 in 1:2 loop [----] [SCAL] (1) dynamicJunctionN2_1.junction.rho[$i1] = dynamicJunctionN2_1.junction.inlets.state.d ($RES_BND_256) [----] end for;