Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 106.8 kB / 16.42 MB, free: 6.523 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.001094/0.001094, allocations: 187.2 kB / 17.36 MB, free: 5.727 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.156/1.156, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.885/1.885, allocations: 390.2 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.205e-05/1.206e-05, allocations: 4.109 kB / 0.9514 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.5819/0.5819, allocations: 239.9 MB / 1.186 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01001/0.5919, allocations: 7.209 MB / 1.193 GB, free: 9.359 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009307/0.5929, allocations: 51.81 kB / 1.193 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.5944, allocations: 0.7242 MB / 1.194 GB, free: 8.895 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004993/0.5994, allocations: 2.154 MB / 1.196 GB, free: 7.652 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003978/0.6034, allocations: 2.072 MB / 1.198 GB, free: 6.121 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003467/0.6069, allocations: 3.506 MB / 1.201 GB, free: 4.094 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/0.6081, allocations: 1.196 MB / 1.202 GB, free: 3.328 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003087/0.6112, allocations: 1.908 MB / 1.204 GB, free: 2.148 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.6125, allocations: 0.9323 MB / 1.205 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.6126, allocations: 114.1 kB / 1.205 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003479/0.6161, allocations: 2.397 MB / 1.207 GB, free: 272 kB / 0.8731 GB Notification: Performance of combineBinaries: time 0.001449/0.6176, allocations: 2.302 MB / 1.21 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of replaceArrayConstructors: time 0.0007484/0.6183, allocations: 1.489 MB / 1.211 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002462/0.6186, allocations: 241.2 kB / 1.211 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of FrontEnd: time 0.0002613/0.6188, allocations: 46.89 kB / 1.211 GB, free: 13.52 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 (183) * Number of variables: 197 (172) Notification: Performance of Bindings: time 0.004451/0.6233, allocations: 6.188 MB / 1.217 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of FunctionAlias: time 0.0002744/0.6236, allocations: 316.7 kB / 1.218 GB, free: 8.773 MB / 0.8887 GB Notification: Performance of Early Inline: time 0.002714/0.6263, allocations: 3.357 MB / 1.221 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of simplify1: time 0.0002082/0.6265, allocations: 245.2 kB / 1.221 GB, free: 6.078 MB / 0.8887 GB Notification: Performance of Alias: time 0.003553/0.6301, allocations: 3.975 MB / 1.225 GB, free: 3.484 MB / 0.8887 GB Notification: Performance of simplify2: time 0.0001715/0.6303, allocations: 213 kB / 1.225 GB, free: 3.348 MB / 0.8887 GB Notification: Performance of Detect States: time 0.000652/0.6309, allocations: 0.8118 MB / 1.226 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of Events: time 0.0004461/0.6314, allocations: 434.2 kB / 1.227 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.0008466/0.6322, allocations: 1.036 MB / 1.228 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of Causalize: time 0.00431/0.6366, allocations: 4.937 MB / 1.232 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of After Index Reduction Inline: time 0.001854/0.6384, allocations: 2.257 MB / 1.235 GB, free: 13.24 MB / 0.9044 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo:584:7-587:102:writable] Error: Internal error NFComponentRef.mergeSubscripts failed because the subscripts {$i1} could not be fully merged onto spl.mDyn_flow_nominal. Result: spl.mDyn_flow_nominal with leftover: {$i1}. Error: Internal error NBInitialization.main failed to apply modules!