Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.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.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ElectrochemicalCell") translateModel(Chemical.Examples.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ElectrochemicalCell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 108.4 kB / 16.42 MB, free: 6.027 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.001271/0.001271, allocations: 185.1 kB / 17.35 MB, free: 5.602 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.296/1.296, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08775/0.08775, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.138e-05, allocations: 2.5 kB / 425.8 MB, free: 11.51 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.ElectrochemicalCell): time 0.03362/0.03365, allocations: 29.75 MB / 455.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03055/0.06421, allocations: 28.7 MB / 484.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002185/0.06644, allocations: 23.88 kB / 484.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.06827, allocations: 0.6592 MB / 484.9 MB, free: 360 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0076/0.07588, allocations: 2.18 MB / 487.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01083/0.08675, allocations: 3.856 MB / 491 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004853/0.09162, allocations: 3.18 MB / 494.1 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001965/0.0936, allocations: 1.713 MB / 495.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.09535, allocations: 1.352 MB / 497.2 MB, free: 3.973 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.09709, allocations: 1.456 MB / 498.7 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003149/0.09742, allocations: 264 kB / 498.9 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009723/0.1071, allocations: 3.144 MB / 0.4903 GB, free: 15.11 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.003455/0.1106, allocations: 3.948 MB / 0.4942 GB, free: 11.12 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.001629/0.1123, allocations: 2.275 MB / 0.4964 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007331/0.113, allocations: 422.8 kB / 0.4968 GB, free: 8.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0005751/0.1136, allocations: 95.78 kB / 0.4969 GB, free: 8.301 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 556 (550) * Number of variables: 556 (547) Notification: Performance of Bindings: time 0.2509/0.3645, allocations: 11.85 MB / 0.5084 GB, free: 35.53 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.001694/0.3662, allocations: 1.626 MB / 0.51 GB, free: 35.36 MB / 382.1 MB Notification: Performance of Early Inline: time 0.01246/0.3787, allocations: 10.53 MB / 0.5203 GB, free: 33.46 MB / 382.1 MB Notification: Performance of simplify1: time 0.0008621/0.3796, allocations: 0.6863 MB / 0.521 GB, free: 33.21 MB / 382.1 MB Notification: Performance of Alias: time 0.01434/0.3939, allocations: 13.39 MB / 0.5341 GB, free: 26.64 MB / 382.1 MB Notification: Performance of simplify2: time 0.0007635/0.3947, allocations: 0.5052 MB / 0.5346 GB, free: 26.52 MB / 382.1 MB Notification: Performance of Events: time 0.0004737/0.3952, allocations: 0.5609 MB / 0.5351 GB, free: 26.23 MB / 382.1 MB Notification: Performance of Detect States: time 0.001016/0.3962, allocations: 1.169 MB / 0.5362 GB, free: 25.62 MB / 382.1 MB Notification: Performance of Partitioning: time 0.001716/0.3979, allocations: 1.67 MB / 0.5379 GB, free: 24.7 MB / 382.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {electrodeReaction.products[1].u, electrodeReaction.products[2].u}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: electrodeReaction.products.u. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) electrodeReaction.du = electrodeReaction.p * electrodeReaction.products.u - electrodeReaction.s * electrodeReaction.substrates.u ($RES_SIM_125)