Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.H2O_ElectrochemicalCell.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/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.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(Chemical.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.H2O_ElectrochemicalCell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 112.7 kB / 16.42 MB, free: 6.375 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.001179/0.001179, allocations: 195.3 kB / 17.35 MB, free: 5.828 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08887/0.08887, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.16e-05, allocations: 10.16 kB / 425.8 MB, free: 11.5 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.H2O_ElectrochemicalCell): time 0.03473/0.03476, allocations: 27.89 MB / 453.7 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02097/0.05574, allocations: 19.38 MB / 473.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.05731, allocations: 19.88 kB / 473.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.05899, allocations: 0.504 MB / 473.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003898/0.06291, allocations: 1.234 MB / 474.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007065/0.06999, allocations: 2.85 MB / 477.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00321/0.07322, allocations: 2.371 MB / 480 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.07503, allocations: 1.354 MB / 481.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001586/0.07663, allocations: 0.931 MB / 482.3 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.07829, allocations: 1.02 MB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005042/0.07881, allocations: 200 kB / 483.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006819/0.08564, allocations: 2.106 MB / 485.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.002728/0.08838, allocations: 2.946 MB / 488.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.001513/0.0899, allocations: 1.755 MB / 490.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007741/0.09069, allocations: 319.1 kB / 490.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.0004809/0.09118, allocations: 71.86 kB / 490.7 MB, free: 10.45 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 (416) * Number of variables: 422 (413) Notification: Performance of Bindings: time 0.009771/0.101, allocations: 9.095 MB / 499.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.001066/0.102, allocations: 1.09 MB / 0.4892 GB, free: 15.98 MB / 382.1 MB Notification: Performance of Early Inline: time 0.008071/0.1101, allocations: 7.986 MB / 0.497 GB, free: 7.93 MB / 382.1 MB Notification: Performance of simplify1: time 0.0005288/0.1107, allocations: 0.5188 MB / 0.4975 GB, free: 7.41 MB / 382.1 MB Notification: Performance of Alias: time 0.2328/0.3434, allocations: 10.71 MB / 0.5079 GB, free: 45.55 MB / 382.1 MB Notification: Performance of simplify2: time 0.0009112/0.3444, allocations: 368.9 kB / 0.5083 GB, free: 45.55 MB / 382.1 MB Notification: Performance of Detect States: time 0.0009116/0.3453, allocations: 0.8201 MB / 0.5091 GB, free: 45.47 MB / 382.1 MB Notification: Performance of Events: time 0.0004656/0.3458, allocations: 416.6 kB / 0.5095 GB, free: 45.45 MB / 382.1 MB Notification: Performance of Partitioning: time 0.001235/0.347, allocations: 1.267 MB / 0.5107 GB, free: 45.06 MB / 382.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(3) {electrodeReaction1.products[1].u, electrodeReaction1.products[2].u, electrodeReaction1.products[3].u}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: electrodeReaction1.products.u. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) electrodeReaction1.du = electrodeReaction1.p * electrodeReaction1.products.u - electrodeReaction1.s * electrodeReaction1.substrates.u ($RES_SIM_129)