Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001112/0.001112, allocations: 115.3 kB / 16.43 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.001089/0.001089, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.144/1.144, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.216/2.216, allocations: 469.8 MB / 0.7431 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.142e-05/1.143e-05, allocations: 6.219 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.6036/0.6037, allocations: 239.9 MB / 1.3 GB, free: 7.727 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009887/0.6136, allocations: 7.208 MB / 1.307 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.6148, allocations: 51.69 kB / 1.307 GB, free: 464 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.6165, allocations: 0.7222 MB / 1.308 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004384/0.6209, allocations: 2.163 MB / 1.31 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003898/0.6249, allocations: 2.071 MB / 1.312 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003466/0.6283, allocations: 3.502 MB / 1.315 GB, free: 7.984 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.6294, allocations: 0.9306 MB / 1.316 GB, free: 7.035 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002797/0.6322, allocations: 1.907 MB / 1.318 GB, free: 5.121 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.6335, allocations: 0.9411 MB / 1.319 GB, free: 4.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.6336, allocations: 116 kB / 1.319 GB, free: 4.066 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003305/0.637, allocations: 2.397 MB / 1.322 GB, free: 1.664 MB / 1.029 GB Notification: Performance of combineBinaries: time 0.001613/0.6386, allocations: 2.298 MB / 1.324 GB, free: 15.34 MB / 1.045 GB Notification: Performance of replaceArrayConstructors: time 0.0008706/0.6395, allocations: 1.492 MB / 1.325 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.6397, allocations: 239.3 kB / 1.325 GB, free: 13.6 MB / 1.045 GB Notification: Performance of FrontEnd: time 0.0002029/0.6399, allocations: 43.86 kB / 1.326 GB, free: 13.56 MB / 1.045 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.003809/0.6437, allocations: 4.603 MB / 1.33 GB, free: 8.773 MB / 1.045 GB Notification: Performance of FunctionAlias: time 0.0002737/0.644, allocations: 300 kB / 1.33 GB, free: 8.496 MB / 1.045 GB Notification: Performance of Early Inline: time 0.002397/0.6464, allocations: 2.526 MB / 1.333 GB, free: 5.93 MB / 1.045 GB Notification: Performance of simplify1: time 0.0003835/0.6468, allocations: 367.5 kB / 1.333 GB, free: 5.531 MB / 1.045 GB Notification: Performance of Alias: time 0.002734/0.6495, allocations: 2.419 MB / 1.335 GB, free: 2.859 MB / 1.045 GB Notification: Performance of simplify2: time 0.0002987/0.6498, allocations: 315.3 kB / 1.336 GB, free: 2.52 MB / 1.045 GB Notification: Performance of Detect States: time 0.0005181/0.6504, allocations: 0.5223 MB / 1.336 GB, free: 1.977 MB / 1.045 GB Notification: Performance of Events: time 0.0004444/0.6508, allocations: 412.4 kB / 1.337 GB, free: 1.562 MB / 1.045 GB Notification: Performance of Partitioning: time 0.0006622/0.6515, allocations: 0.6777 MB / 1.337 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of Causalize: time 0.003877/0.6554, allocations: 3.623 MB / 1.341 GB, free: 13.04 MB / 1.061 GB Notification: Performance of After Index Reduction Inline: time 0.001514/0.6569, allocations: 1.606 MB / 1.342 GB, free: 11.4 MB / 1.061 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo:594:7-597: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!