Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009999/0.001, allocations: 106.2 kB / 16.38 MB, free: 6.383 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.0009641/0.0009641, allocations: 192.1 kB / 17.31 MB, free: 5.766 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.27/1.27, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7908/0.7908, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.106e-05, allocations: 2.281 kB / 0.5031 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.7238/0.7238, allocations: 239.8 MB / 0.7373 GB, free: 19.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009794/0.7337, allocations: 7.195 MB / 0.7444 GB, free: 19.06 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.7352, allocations: 54.47 kB / 0.7444 GB, free: 19.06 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00173/0.737, allocations: 0.7013 MB / 0.7451 GB, free: 19.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004517/0.7416, allocations: 2.069 MB / 0.7471 GB, free: 18.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004302/0.7459, allocations: 2.037 MB / 0.7491 GB, free: 18.92 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004014/0.7499, allocations: 3.496 MB / 0.7525 GB, free: 18.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001544/0.7515, allocations: 1.203 MB / 0.7537 GB, free: 18.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003714/0.7552, allocations: 1.853 MB / 0.7555 GB, free: 18.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/0.7572, allocations: 0.9645 MB / 0.7565 GB, free: 18.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002172/0.7574, allocations: 118.2 kB / 0.7566 GB, free: 18.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004808/0.7622, allocations: 2.396 MB / 0.7589 GB, free: 18.81 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.002241/0.7645, allocations: 2.299 MB / 0.7612 GB, free: 18.17 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 0.0009492/0.7654, allocations: 1.47 MB / 0.7626 GB, free: 17.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000514/0.766, allocations: 235.7 kB / 0.7628 GB, free: 17.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 0.0003198/0.7663, allocations: 46.92 kB / 0.7629 GB, free: 17.33 MB / 0.545 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.005526/0.7718, allocations: 6.114 MB / 0.7688 GB, free: 15.19 MB / 0.545 GB Notification: Performance of FunctionAlias: time 0.000417/0.7723, allocations: 322.9 kB / 0.7691 GB, free: 15.17 MB / 0.545 GB Notification: Performance of Early Inline: time 0.003453/0.7757, allocations: 3.364 MB / 0.7724 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simplify1: time 0.0002948/0.776, allocations: 250.6 kB / 0.7727 GB, free: 14.98 MB / 0.545 GB Notification: Performance of Alias: time 0.003596/0.7796, allocations: 3.648 MB / 0.7762 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simplify2: time 0.0002839/0.7799, allocations: 212.5 kB / 0.7764 GB, free: 14.03 MB / 0.545 GB Notification: Performance of Events: time 0.0005848/0.7805, allocations: 0.5763 MB / 0.777 GB, free: 13.91 MB / 0.545 GB Notification: Performance of Detect States: time 0.0006498/0.7812, allocations: 0.7433 MB / 0.7777 GB, free: 13.81 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0008995/0.7821, allocations: 1.067 MB / 0.7788 GB, free: 13.47 MB / 0.545 GB Notification: Performance of Causalize: time 0.005473/0.7876, allocations: 6.785 MB / 0.7854 GB, free: 12.39 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.001811/0.7894, allocations: 2.287 MB / 0.7876 GB, free: 11.46 MB / 0.545 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!