Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(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_latest_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_latest_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.001166/0.001166, allocations: 113.6 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.001256/0.001256, allocations: 183.2 kB / 17.35 MB, free: 5.754 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.168/1.168, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.261/2.261, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.708e-05, allocations: 2.5 kB / 1.055 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.6023/0.6023, allocations: 239.9 MB / 1.289 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01064/0.613, allocations: 7.204 MB / 1.296 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.6145, allocations: 51.69 kB / 1.296 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.6163, allocations: 0.7027 MB / 1.297 GB, free: 14.99 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004542/0.6209, allocations: 2.071 MB / 1.299 GB, free: 12.91 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004183/0.625, allocations: 2.036 MB / 1.301 GB, free: 10.89 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003886/0.6289, allocations: 3.509 MB / 1.304 GB, free: 7.371 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.6306, allocations: 1.184 MB / 1.305 GB, free: 6.168 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003414/0.634, allocations: 1.872 MB / 1.307 GB, free: 4.289 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001824/0.6358, allocations: 0.9368 MB / 1.308 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002505/0.6361, allocations: 116 kB / 1.308 GB, free: 3.238 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003398/0.6395, allocations: 2.389 MB / 1.31 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of combineBinaries: time 0.001463/0.641, allocations: 2.31 MB / 1.313 GB, free: 14.51 MB / 1.029 GB Notification: Performance of replaceArrayConstructors: time 0.0007644/0.6417, allocations: 1.483 MB / 1.314 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002515/0.642, allocations: 239.3 kB / 1.314 GB, free: 12.78 MB / 1.029 GB Notification: Performance of FrontEnd: time 0.000228/0.6422, allocations: 43.8 kB / 1.314 GB, free: 12.73 MB / 1.029 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.004389/0.6466, allocations: 6.185 MB / 1.32 GB, free: 6.371 MB / 1.029 GB Notification: Performance of FunctionAlias: time 0.000262/0.6469, allocations: 318.1 kB / 1.321 GB, free: 6.07 MB / 1.029 GB Notification: Performance of Early Inline: time 0.002671/0.6496, allocations: 3.374 MB / 1.324 GB, free: 2.656 MB / 1.029 GB Notification: Performance of simplify1: time 0.0002042/0.6498, allocations: 243.7 kB / 1.324 GB, free: 2.418 MB / 1.029 GB Notification: Performance of Alias: time 0.003514/0.6533, allocations: 3.969 MB / 1.328 GB, free: 14.19 MB / 1.045 GB Notification: Performance of simplify2: time 0.000183/0.6535, allocations: 211.7 kB / 1.328 GB, free: 13.98 MB / 1.045 GB Notification: Performance of Events: time 0.0005092/0.654, allocations: 0.5636 MB / 1.329 GB, free: 13.4 MB / 1.045 GB Notification: Performance of Detect States: time 0.0005935/0.6546, allocations: 0.7417 MB / 1.33 GB, free: 12.64 MB / 1.045 GB Notification: Performance of Partitioning: time 0.0008742/0.6555, allocations: 1.045 MB / 1.331 GB, free: 11.48 MB / 1.045 GB Notification: Performance of Causalize: time 0.00443/0.6599, allocations: 4.923 MB / 1.335 GB, free: 6.449 MB / 1.045 GB Notification: Performance of After Index Reduction Inline: time 0.001753/0.6617, allocations: 2.253 MB / 1.338 GB, free: 4.16 MB / 1.045 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!