Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001158/0.001158, allocations: 107.7 kB / 16.42 MB, free: 6.457 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.001079/0.001079, allocations: 187.2 kB / 17.35 MB, free: 5.691 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.158/1.158, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.122/2.122, allocations: 437 MB / 0.7111 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.688e-05/1.69e-05, allocations: 2.5 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.6384/0.6384, allocations: 239.9 MB / 1.253 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009775/0.6482, allocations: 7.212 MB / 1.26 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.6495, allocations: 51.69 kB / 1.26 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.6511, allocations: 0.7144 MB / 1.261 GB, free: 400 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00437/0.6555, allocations: 2.166 MB / 1.263 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003976/0.6594, allocations: 2.063 MB / 1.265 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003857/0.6633, allocations: 3.519 MB / 1.269 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.6648, allocations: 1.188 MB / 1.27 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003317/0.6682, allocations: 1.903 MB / 1.272 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/0.6699, allocations: 0.942 MB / 1.273 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002245/0.6702, allocations: 120 kB / 1.273 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003479/0.6736, allocations: 2.408 MB / 1.275 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of combineBinaries: time 0.001905/0.6756, allocations: 2.302 MB / 1.277 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of replaceArrayConstructors: time 0.001091/0.6767, allocations: 1.487 MB / 1.279 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003842/0.6771, allocations: 239.3 kB / 1.279 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 0.0002182/0.6773, allocations: 35.88 kB / 1.279 GB, free: 13.95 MB / 0.9825 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.005365/0.6827, allocations: 6.184 MB / 1.285 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of FunctionAlias: time 0.000367/0.683, allocations: 316.6 kB / 1.285 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of Early Inline: time 0.003227/0.6863, allocations: 3.366 MB / 1.289 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of simplify1: time 0.0003378/0.6866, allocations: 247.7 kB / 1.289 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of Alias: time 0.004203/0.6908, allocations: 3.971 MB / 1.293 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simplify2: time 0.0002692/0.6911, allocations: 211.7 kB / 1.293 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of Detect States: time 0.0008158/0.6919, allocations: 0.8004 MB / 1.294 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of Events: time 0.0005234/0.6925, allocations: 448.3 kB / 1.294 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of Partitioning: time 0.001009/0.6935, allocations: 1.045 MB / 1.295 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of Causalize: time 0.005034/0.6985, allocations: 4.915 MB / 1.3 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of After Index Reduction Inline: time 0.002141/0.7007, allocations: 2.261 MB / 1.302 GB, free: 5.453 MB / 0.9981 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!