Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0009834/0.0009835, allocations: 114.4 kB / 16.38 MB, free: 6.445 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.0009749/0.0009749, allocations: 190.5 kB / 17.31 MB, free: 5.789 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.25/1.25, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7462/0.7462, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.355e-05, allocations: 6.219 kB / 0.5067 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.4237/0.4237, allocations: 239.9 MB / 0.7409 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.264/0.6878, allocations: 7.182 MB / 0.7479 GB, free: 19.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.6894, allocations: 51.88 kB / 0.748 GB, free: 19.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.6908, allocations: 0.6938 MB / 0.7487 GB, free: 19.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003823/0.6947, allocations: 2.078 MB / 0.7507 GB, free: 19.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003914/0.6986, allocations: 2.025 MB / 0.7527 GB, free: 19.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003743/0.7024, allocations: 3.501 MB / 0.7561 GB, free: 19.15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.7039, allocations: 1.204 MB / 0.7573 GB, free: 19.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003375/0.7073, allocations: 1.853 MB / 0.7591 GB, free: 19.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/0.7089, allocations: 0.974 MB / 0.76 GB, free: 19.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.7091, allocations: 117.3 kB / 0.7601 GB, free: 19.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003845/0.713, allocations: 2.386 MB / 0.7625 GB, free: 19.04 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.00177/0.7148, allocations: 2.299 MB / 0.7647 GB, free: 18.4 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0009496/0.7157, allocations: 1.467 MB / 0.7662 GB, free: 17.76 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004397/0.7162, allocations: 239.2 kB / 0.7664 GB, free: 17.74 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0002668/0.7164, allocations: 50.61 kB / 0.7664 GB, free: 17.73 MB / 0.5606 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.005027/0.7215, allocations: 6.118 MB / 0.7724 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0003433/0.7218, allocations: 315.2 kB / 0.7727 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.003614/0.7255, allocations: 3.357 MB / 0.776 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simplify1: time 0.0003748/0.7258, allocations: 250.4 kB / 0.7762 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of Alias: time 0.004691/0.7305, allocations: 3.654 MB / 0.7798 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of simplify2: time 0.0003284/0.7309, allocations: 214.5 kB / 0.78 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of Events: time 0.0005886/0.7315, allocations: 0.5758 MB / 0.7806 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0007323/0.7322, allocations: 0.7516 MB / 0.7813 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.001089/0.7333, allocations: 1.048 MB / 0.7823 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of Causalize: time 0.006488/0.7398, allocations: 6.808 MB / 0.789 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.002169/0.742, allocations: 2.275 MB / 0.7912 GB, free: 12.69 MB / 0.5606 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!