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.001091/0.001091, allocations: 109.1 kB / 16.42 MB, free: 6.434 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.001077/0.001077, allocations: 185.5 kB / 17.36 MB, free: 5.684 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.116/1.116, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5708/0.5708, allocations: 91.2 MB / 382.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.637e-05, allocations: 2.281 kB / 0.5174 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.VenturiPump): time 0.2283/0.2283, allocations: 100.2 MB / 0.6152 GB, free: 12.28 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03084/0.2592, allocations: 33.86 MB / 0.6483 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.2604, allocations: 67.56 kB / 0.6484 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002485/0.2629, allocations: 1.083 MB / 0.6494 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004028/0.267, allocations: 1.809 MB / 0.6512 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0139/0.2809, allocations: 6.562 MB / 0.6576 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002645/0.2835, allocations: 2.529 MB / 0.6601 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007351/0.2843, allocations: 0.5308 MB / 0.6606 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006581/0.2909, allocations: 4.163 MB / 0.6647 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.2919, allocations: 0.8827 MB / 0.6655 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002077/0.2921, allocations: 136 kB / 0.6656 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01174/0.3039, allocations: 8.41 MB / 0.6739 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.001843/0.3057, allocations: 2.811 MB / 0.6766 GB, free: 36 kB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.001137/0.3069, allocations: 1.836 MB / 0.6784 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003634/0.3073, allocations: 271.2 kB / 0.6787 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.00025/0.3075, allocations: 139.6 kB / 0.6788 GB, free: 13.77 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.00698/0.3145, allocations: 8.67 MB / 0.6873 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of FunctionAlias: time 0.0008951/0.3154, allocations: 0.9653 MB / 0.6882 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of Early Inline: time 0.004334/0.3197, allocations: 4.707 MB / 0.6928 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simplify1: time 0.0003037/0.3201, allocations: 291.7 kB / 0.6931 GB, free: 14.98 MB / 0.545 GB Notification: Performance of Alias: time 0.005048/0.3251, allocations: 5.278 MB / 0.6982 GB, free: 9.305 MB / 0.545 GB Notification: Performance of simplify2: time 0.000255/0.3254, allocations: 251.7 kB / 0.6985 GB, free: 9.059 MB / 0.545 GB Notification: Performance of Detect States: time 0.0009155/0.3263, allocations: 0.9604 MB / 0.6994 GB, free: 8.07 MB / 0.545 GB Notification: Performance of Events: time 0.0005779/0.3269, allocations: 0.5171 MB / 0.6999 GB, free: 7.547 MB / 0.545 GB Notification: Performance of Partitioning: time 0.001491/0.3284, allocations: 1.542 MB / 0.7014 GB, free: 5.957 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;