Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001358/0.001358, allocations: 104.1 kB / 16.37 MB, free: 6.363 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.001259/0.001259, allocations: 193.7 kB / 17.31 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 292.3 MB / 0.5496 GB, free: 17.64 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.966e-05/3.966e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.949 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.6437/0.6438, allocations: 239.9 MB / 0.9071 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0109/0.6547, allocations: 7.138 MB / 0.9141 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002166/0.657, allocations: 49.91 kB / 0.9141 GB, free: 10 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001802/0.6588, allocations: 0.6996 MB / 0.9148 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004964/0.6638, allocations: 2.062 MB / 0.9168 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004596/0.6684, allocations: 2.035 MB / 0.9188 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004177/0.6726, allocations: 3.477 MB / 0.9222 GB, free: 4.277 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.674, allocations: 1.206 MB / 0.9234 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003815/0.6778, allocations: 1.85 MB / 0.9252 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.6795, allocations: 0.9656 MB / 0.9261 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.6796, allocations: 116.6 kB / 0.9262 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004122/0.6838, allocations: 2.396 MB / 0.9286 GB, free: 476 kB / 0.6544 GB Notification: Performance of combineBinaries: time 0.001712/0.6855, allocations: 2.282 MB / 0.9308 GB, free: 14.93 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 0.0009809/0.6865, allocations: 1.458 MB / 0.9322 GB, free: 13.62 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004169/0.6869, allocations: 243.3 kB / 0.9325 GB, free: 13.38 MB / 0.67 GB Notification: Performance of FrontEnd: time 0.0003578/0.6873, allocations: 47.81 kB / 0.9325 GB, free: 13.33 MB / 0.67 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.005575/0.6929, allocations: 6.094 MB / 0.9384 GB, free: 7.059 MB / 0.67 GB Notification: Performance of FunctionAlias: time 0.0003646/0.6932, allocations: 324.3 kB / 0.9388 GB, free: 6.758 MB / 0.67 GB Notification: Performance of Early Inline: time 0.003426/0.6967, allocations: 3.362 MB / 0.942 GB, free: 3.355 MB / 0.67 GB Notification: Performance of simplify1: time 0.0003272/0.697, allocations: 243.6 kB / 0.9423 GB, free: 3.117 MB / 0.67 GB Notification: Performance of Alias: time 0.004235/0.7013, allocations: 3.643 MB / 0.9458 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of simplify2: time 0.0002657/0.7015, allocations: 211.7 kB / 0.946 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of Events: time 0.0006523/0.7022, allocations: 0.5784 MB / 0.9466 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of Detect States: time 0.0007542/0.703, allocations: 0.7475 MB / 0.9473 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of Partitioning: time 0.00116/0.7041, allocations: 1.057 MB / 0.9484 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of Causalize: time 0.006583/0.7107, allocations: 6.799 MB / 0.955 GB, free: 5.805 MB / 0.6856 GB Notification: Performance of After Index Reduction Inline: time 0.002339/0.7131, allocations: 2.269 MB / 0.9572 GB, free: 3.496 MB / 0.6856 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!