Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2.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.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 110.2 kB / 16.43 MB, free: 6.461 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.001411/0.001411, allocations: 188.2 kB / 17.36 MB, free: 5.73 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.364/1.364, allocations: 222.9 MB / 241 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.08221/0.08221, allocations: 15.3 MB / 306.5 MB, free: 15.42 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.133e-05/3.133e-05, allocations: 6.438 kB / 425.8 MB, free: 11.52 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.CheckSubstancesData.StandardElectrochemicalCell2): time 0.03417/0.03421, allocations: 26.52 MB / 452.3 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02047/0.0547, allocations: 18.17 MB / 470.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.05585, allocations: 19.88 kB / 470.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.05736, allocations: 472.5 kB / 471 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002412/0.05979, allocations: 0.8224 MB / 471.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007062/0.06688, allocations: 2.795 MB / 474.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002466/0.06936, allocations: 1.848 MB / 476.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.07064, allocations: 0.9294 MB / 477.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.07171, allocations: 0.7284 MB / 478.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.0728, allocations: 0.7744 MB / 478.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003113/0.07312, allocations: 143.9 kB / 479 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004789/0.07792, allocations: 1.794 MB / 480.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.001971/0.0799, allocations: 2.253 MB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0013/0.08121, allocations: 1.371 MB / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007578/0.08198, allocations: 235.3 kB / 484.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.000414/0.08241, allocations: 79.8 kB / 484.7 MB, free: 0.5156 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 303 (297) * Number of variables: 303 (294) Notification: Performance of Bindings: time 0.007875/0.09029, allocations: 7.065 MB / 491.8 MB, free: 9.199 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.000763/0.09107, allocations: 462.7 kB / 492.3 MB, free: 8.734 MB / 366.1 MB Notification: Performance of Early Inline: time 0.006673/0.09775, allocations: 6.4 MB / 498.7 MB, free: 2.266 MB / 366.1 MB Notification: Performance of simplify1: time 0.0004137/0.09819, allocations: 387.6 kB / 499 MB, free: 1.887 MB / 366.1 MB Notification: Performance of Alias: time 0.009866/0.1081, allocations: 7.964 MB / 0.4951 GB, free: 9.242 MB / 382.1 MB Notification: Performance of simplify2: time 0.000402/0.1085, allocations: 243.7 kB / 0.4954 GB, free: 9.004 MB / 382.1 MB Notification: Performance of Events: time 0.0003277/0.1088, allocations: 312 kB / 0.4956 GB, free: 8.691 MB / 382.1 MB Notification: Performance of Detect States: time 0.0005354/0.1094, allocations: 0.5304 MB / 0.4962 GB, free: 8.145 MB / 382.1 MB Notification: Performance of Partitioning: time 0.00103/0.1104, allocations: 0.9631 MB / 0.4971 GB, free: 6.965 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_70)