Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell.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.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.StandardElectrochemicalCell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 109.8 kB / 16.42 MB, free: 6.469 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.001402/0.001402, allocations: 189.5 kB / 17.35 MB, free: 5.707 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07814/0.07814, allocations: 15.3 MB / 306.5 MB, free: 15.4 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.373e-05, allocations: 9.25 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.CheckSubstancesData.StandardElectrochemicalCell): time 0.03029/0.03032, allocations: 27.09 MB / 452.9 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02133/0.05166, allocations: 21.59 MB / 474.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009923/0.0527, allocations: 19.88 kB / 474.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.05397, allocations: 0.5313 MB / 475 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.05639, allocations: 0.9931 MB / 476 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007636/0.06404, allocations: 3.272 MB / 479.3 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003399/0.06746, allocations: 2.047 MB / 481.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.06855, allocations: 0.9459 MB / 482.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000815/0.06938, allocations: 0.818 MB / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008574/0.07024, allocations: 0.86 MB / 484 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002032/0.07046, allocations: 144 kB / 484.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006086/0.07655, allocations: 2.091 MB / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.001793/0.07836, allocations: 2.466 MB / 488.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008421/0.07921, allocations: 1.498 MB / 490.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002822/0.0795, allocations: 255.3 kB / 490.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.0002516/0.07976, allocations: 83.67 kB / 490.5 MB, free: 10.73 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: 323 (317) * Number of variables: 323 (314) Notification: Performance of Bindings: time 0.005815/0.08558, allocations: 7.529 MB / 498 MB, free: 2.945 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0008789/0.08647, allocations: 0.9995 MB / 499 MB, free: 1.922 MB / 366.1 MB Notification: Performance of Early Inline: time 0.006972/0.09345, allocations: 7.068 MB / 0.4942 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simplify1: time 0.0004342/0.0939, allocations: 423.5 kB / 0.4946 GB, free: 10.37 MB / 382.1 MB Notification: Performance of Alias: time 0.009359/0.1033, allocations: 8.477 MB / 0.5029 GB, free: 1.109 MB / 382.1 MB Notification: Performance of simplify2: time 0.0004735/0.1038, allocations: 267.7 kB / 0.5032 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of Events: time 0.0003426/0.1041, allocations: 341.4 kB / 0.5035 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of Detect States: time 0.2098/0.314, allocations: 0.5569 MB / 0.504 GB, free: 47.16 MB / 382.1 MB Notification: Performance of Partitioning: time 0.001516/0.3155, allocations: 1.036 MB / 0.505 GB, free: 46.64 MB / 382.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {electrodeReaction1.substrates[1].u, electrodeReaction1.substrates[2].u}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: electrodeReaction1.substrates.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)