Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Annex60.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001207/0.001207, allocations: 106.5 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.001394/0.001394, allocations: 190 kB / 17.36 MB, free: 5.707 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.323/1.323, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2557/0.2557, allocations: 54.96 MB / 325.5 MB, free: 4.832 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.424e-05, allocations: 7.203 kB / 456.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.FlowJunction): time 0.4834/0.4834, allocations: 239.9 MB / 0.6804 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01043/0.4939, allocations: 6.825 MB / 0.687 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.4955, allocations: 47.69 kB / 0.6871 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.4976, allocations: 0.8195 MB / 0.6879 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00476/0.5024, allocations: 1.862 MB / 0.6897 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004775/0.5072, allocations: 1.971 MB / 0.6916 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005645/0.5129, allocations: 3.936 MB / 0.6955 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002233/0.5151, allocations: 1.259 MB / 0.6967 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004524/0.5197, allocations: 1.845 MB / 0.6985 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002811/0.5225, allocations: 1.071 MB / 0.6996 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000478/0.523, allocations: 140 kB / 0.6997 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00512/0.5281, allocations: 2.159 MB / 0.7018 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.004159/0.5323, allocations: 2.566 MB / 0.7043 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.001727/0.534, allocations: 1.617 MB / 0.7059 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008641/0.5349, allocations: 267.3 kB / 0.7061 GB, free: 320 kB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0003572/0.5353, allocations: 43.81 kB / 0.7062 GB, free: 276 kB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 (229) * Number of variables: 246 (215) Notification: Performance of Bindings: time 0.006658/0.5419, allocations: 7.091 MB / 0.7131 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of FunctionAlias: time 0.0004504/0.5424, allocations: 424.9 kB / 0.7135 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of Early Inline: time 0.003631/0.546, allocations: 3.827 MB / 0.7172 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of simplify1: time 0.0003729/0.5464, allocations: 291.6 kB / 0.7175 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of Alias: time 0.004776/0.5512, allocations: 4.391 MB / 0.7218 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simplify2: time 0.0002995/0.5515, allocations: 243.7 kB / 0.722 GB, free: 15.49 MB / 0.545 GB Notification: Performance of Events: time 0.0007572/0.5523, allocations: 0.658 MB / 0.7227 GB, free: 14.83 MB / 0.545 GB Notification: Performance of Detect States: time 0.000904/0.5532, allocations: 0.8989 MB / 0.7236 GB, free: 13.91 MB / 0.545 GB Notification: Performance of Partitioning: time 0.001317/0.5545, allocations: 1.318 MB / 0.7249 GB, free: 12.42 MB / 0.545 GB Notification: Performance of Causalize: time 0.008056/0.5626, allocations: 8.684 MB / 0.7333 GB, free: 3.984 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.003267/0.5659, allocations: 3.488 MB / 0.7367 GB, free: 464 kB / 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!