Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.WaterElectrolysis.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.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterElectrolysis") translateModel(Chemical.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterElectrolysis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 104.1 kB / 16.42 MB, free: 6.512 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.001175/0.001175, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08892/0.08892, allocations: 15.31 MB / 306.5 MB, free: 15.42 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.519e-05, allocations: 6.219 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:3019:6-3019:65: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:3019:6-3019:65: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.WaterElectrolysis): time 0.03435/0.03438, allocations: 28.48 MB / 454.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0193/0.0537, allocations: 17.82 MB / 472.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001878/0.05562, allocations: 19.94 kB / 472.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.05708, allocations: 488.1 kB / 472.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004372/0.06146, allocations: 1.307 MB / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007447/0.06893, allocations: 2.528 MB / 476.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004136/0.07308, allocations: 2.557 MB / 479 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/0.07495, allocations: 1.539 MB / 480.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.07623, allocations: 1.052 MB / 481.6 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.07748, allocations: 1.121 MB / 482.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002581/0.07775, allocations: 223.9 kB / 482.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005846/0.08361, allocations: 1.837 MB / 484.7 MB, free: 500 kB / 350.1 MB Notification: Performance of combineBinaries: time 0.002467/0.08609, allocations: 3.286 MB / 488 MB, free: 13.17 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.001149/0.08725, allocations: 1.929 MB / 490 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005266/0.08779, allocations: 363 kB / 490.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.0004916/0.08829, allocations: 83.8 kB / 490.4 MB, free: 10.77 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: 501 (495) * Number of variables: 501 (492) Notification: Performance of Bindings: time 0.009146/0.09744, allocations: 10.1 MB / 0.4888 GB, free: 432 kB / 366.1 MB Notification: Performance of FunctionAlias: time 0.001392/0.09884, allocations: 1.167 MB / 0.4899 GB, free: 15.25 MB / 382.1 MB Notification: Performance of Early Inline: time 0.008826/0.1077, allocations: 8.045 MB / 0.4978 GB, free: 7.125 MB / 382.1 MB Notification: Performance of simplify1: time 0.0006431/0.1083, allocations: 0.5502 MB / 0.4983 GB, free: 6.574 MB / 382.1 MB Notification: Performance of Alias: time 0.2334/0.3417, allocations: 13.03 MB / 0.511 GB, free: 45.62 MB / 382.1 MB Notification: Performance of simplify2: time 0.0006817/0.3424, allocations: 327 kB / 0.5113 GB, free: 45.62 MB / 382.1 MB Notification: Performance of Events: time 0.0004505/0.3429, allocations: 387 kB / 0.5117 GB, free: 45.59 MB / 382.1 MB Notification: Performance of Detect States: time 0.0009996/0.3439, allocations: 0.7929 MB / 0.5125 GB, free: 45.5 MB / 382.1 MB Notification: Performance of Partitioning: time 0.001731/0.3457, allocations: 1.128 MB / 0.5136 GB, free: 45.2 MB / 382.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {reaction.substrates[1].u, reaction.substrates[2].u}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: reaction.substrates.u. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) reaction.du = reaction.p * reaction.products.u - reaction.s * reaction.substrates.u ($RES_SIM_158)