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.001253/0.001253, allocations: 104.5 kB / 16.42 MB, free: 5.988 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.001233/0.001233, allocations: 192.7 kB / 17.36 MB, free: 5.57 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.264/1.264, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07505/0.07505, allocations: 15.31 MB / 306.5 MB, free: 15.38 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.048e-05, allocations: 2.281 kB / 425.8 MB, free: 11.49 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.03439/0.03441, allocations: 29.86 MB / 455.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03066/0.06509, allocations: 28.7 MB / 484.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.06675, allocations: 23.88 kB / 484.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.06847, allocations: 0.6553 MB / 485 MB, free: 248 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006652/0.07513, allocations: 2.192 MB / 487.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01133/0.08649, allocations: 3.887 MB / 491.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004856/0.09137, allocations: 3.195 MB / 494.3 MB, free: 6.918 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002507/0.0939, allocations: 1.701 MB / 496 MB, free: 5.172 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002242/0.09616, allocations: 1.356 MB / 497.4 MB, free: 3.812 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002749/0.09892, allocations: 1.456 MB / 498.8 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008998/0.09984, allocations: 260 kB / 499.1 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01129/0.1111, allocations: 3.144 MB / 0.4904 GB, free: 14.95 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.004214/0.1154, allocations: 3.952 MB / 0.4943 GB, free: 10.96 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.002256/0.1177, allocations: 2.279 MB / 0.4965 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009838/0.1187, allocations: 418.8 kB / 0.4969 GB, free: 8.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.000641/0.1193, allocations: 83.86 kB / 0.497 GB, free: 8.152 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.1992/0.3186, allocations: 11.86 MB / 0.5086 GB, free: 35.67 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.001245/0.3198, allocations: 1.623 MB / 0.5102 GB, free: 35.5 MB / 382.1 MB Notification: Performance of Early Inline: time 0.01014/0.33, allocations: 10.54 MB / 0.5205 GB, free: 33.43 MB / 382.1 MB Notification: Performance of simplify1: time 0.0007675/0.3308, allocations: 0.6813 MB / 0.5211 GB, free: 33.18 MB / 382.1 MB Notification: Performance of Alias: time 0.01159/0.3424, allocations: 13.4 MB / 0.5342 GB, free: 26.61 MB / 382.1 MB Notification: Performance of simplify2: time 0.0005587/0.343, allocations: 0.5009 MB / 0.5347 GB, free: 26.49 MB / 382.1 MB Notification: Performance of Detect States: time 0.0008907/0.3439, allocations: 1.297 MB / 0.536 GB, free: 25.79 MB / 382.1 MB Notification: Performance of Events: time 0.0003716/0.3443, allocations: 416.2 kB / 0.5364 GB, free: 25.61 MB / 382.1 MB Notification: Performance of Partitioning: time 0.001258/0.3455, allocations: 1.655 MB / 0.538 GB, free: 24.69 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)