Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential.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.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential") translateModel(Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.StandardLeadAcidPotential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.001271, allocations: 111 kB / 16.42 MB, free: 6.523 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.001312/0.001312, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.28/1.28, 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.07695/0.07695, allocations: 15.31 MB / 306.5 MB, free: 15.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.172e-05, allocations: 6.219 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.StandardLeadAcidPotential): time 0.03595/0.03598, allocations: 28.32 MB / 454.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03116/0.06716, allocations: 28.27 MB / 482.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.06859, allocations: 27.81 kB / 482.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002042/0.07066, allocations: 0.6749 MB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003769/0.07444, allocations: 1.327 MB / 484.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01104/0.0855, allocations: 4.293 MB / 488.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003525/0.08904, allocations: 2.453 MB / 491.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.09073, allocations: 1.138 MB / 492.3 MB, free: 8.934 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001612/0.09235, allocations: 1.056 MB / 493.4 MB, free: 7.875 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001614/0.09398, allocations: 1.086 MB / 494.5 MB, free: 6.785 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000429/0.09442, allocations: 168 kB / 494.6 MB, free: 6.621 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008136/0.1026, allocations: 2.68 MB / 497.3 MB, free: 3.938 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.002702/0.1053, allocations: 2.918 MB / 0.4885 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.001415/0.1067, allocations: 1.752 MB / 0.4902 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006396/0.1074, allocations: 295.1 kB / 0.4905 GB, free: 14.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0003777/0.1078, allocations: 99.78 kB / 0.4906 GB, free: 14.82 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: 376 (362) * Number of variables: 376 (355) Notification: Performance of Bindings: time 0.008917/0.1167, allocations: 8.858 MB / 0.4992 GB, free: 5.691 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.001422/0.1181, allocations: 1.164 MB / 0.5004 GB, free: 4.516 MB / 382.1 MB Notification: Performance of Early Inline: time 0.1996/0.3177, allocations: 8.623 MB / 0.5088 GB, free: 36.19 MB / 382.1 MB Notification: Performance of simplify1: time 0.0005447/0.3183, allocations: 0.4993 MB / 0.5093 GB, free: 36.18 MB / 382.1 MB Notification: Performance of Alias: time 0.01054/0.3289, allocations: 9.651 MB / 0.5187 GB, free: 33.25 MB / 382.1 MB Notification: Performance of simplify2: time 0.0006332/0.3296, allocations: 334.6 kB / 0.519 GB, free: 33.25 MB / 382.1 MB Notification: Performance of Detect States: time 0.0007292/0.3303, allocations: 0.679 MB / 0.5197 GB, free: 33.19 MB / 382.1 MB Notification: Performance of Events: time 0.0003943/0.3307, allocations: 412.3 kB / 0.5201 GB, free: 33.16 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0009996/0.3317, allocations: 1.249 MB / 0.5213 GB, free: 32.47 MB / 382.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(4) {electrodeReaction.substrates[1].u, electrodeReaction.substrates[2].u, electrodeReaction.substrates[3].u, electrodeReaction.substrates[4].u}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: electrodeReaction.substrates.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_132)