Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001087/0.001087, allocations: 105.8 kB / 16.42 MB, free: 6.465 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.001069/0.001069, allocations: 192.3 kB / 17.36 MB, free: 5.707 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.172/1.172, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0019/0.001901, allocations: 284.9 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8205/0.8205, allocations: 169.2 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.64e-05, allocations: 5.094 kB / 0.682 GB, free: 7.082 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction): time 0.4437/0.4437, allocations: 239.9 MB / 0.9163 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009883/0.4536, allocations: 7.211 MB / 0.9233 GB, free: 6.672 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.4549, allocations: 51.69 kB / 0.9233 GB, free: 6.621 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.4565, allocations: 0.7026 MB / 0.924 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004328/0.4608, allocations: 2.07 MB / 0.9261 GB, free: 3.836 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00406/0.4649, allocations: 2.035 MB / 0.928 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003729/0.4687, allocations: 3.506 MB / 0.9315 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.47, allocations: 1.184 MB / 0.9326 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003024/0.473, allocations: 1.876 MB / 0.9345 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.4744, allocations: 0.9316 MB / 0.9354 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.4745, allocations: 116 kB / 0.9355 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003475/0.478, allocations: 2.4 MB / 0.9378 GB, free: 7.754 MB / 0.7012 GB Notification: Performance of combineBinaries: time 0.001454/0.4795, allocations: 2.298 MB / 0.9401 GB, free: 5.434 MB / 0.7012 GB Notification: Performance of replaceArrayConstructors: time 0.0008032/0.4803, allocations: 1.489 MB / 0.9415 GB, free: 3.93 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000265/0.4805, allocations: 239.3 kB / 0.9417 GB, free: 3.695 MB / 0.7012 GB Notification: Performance of FrontEnd: time 0.0002578/0.4808, allocations: 43.88 kB / 0.9418 GB, free: 3.652 MB / 0.7012 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.004905/0.4857, allocations: 6.198 MB / 0.9478 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of FunctionAlias: time 0.0003887/0.4861, allocations: 319.9 kB / 0.9481 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of Early Inline: time 0.00367/0.4898, allocations: 3.358 MB / 0.9514 GB, free: 9.578 MB / 0.7169 GB Notification: Performance of simplify1: time 0.0003104/0.4901, allocations: 247.6 kB / 0.9517 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of Alias: time 0.00422/0.4943, allocations: 3.973 MB / 0.9555 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of simplify2: time 0.0002147/0.4946, allocations: 207.7 kB / 0.9557 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of Events: time 0.0005501/0.4951, allocations: 0.5636 MB / 0.9563 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of Detect States: time 0.0006884/0.4958, allocations: 0.7563 MB / 0.957 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of Partitioning: time 0.000939/0.4968, allocations: 1.037 MB / 0.958 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of Causalize: time 0.3156/0.8124, allocations: 4.906 MB / 0.9628 GB, free: 40.12 MB / 0.7169 GB Notification: Performance of After Index Reduction Inline: time 0.002131/0.8145, allocations: 2.265 MB / 0.965 GB, free: 39.98 MB / 0.7169 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!