Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation.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.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation") translateModel(Chemical.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ClimateChange.ElectrolysisMethanation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 119 kB / 16.42 MB, free: 6.363 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.001206/0.001206, allocations: 194.8 kB / 17.35 MB, free: 5.816 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.274/1.274, 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.08571/0.08571, allocations: 15.31 MB / 306.5 MB, free: 15.39 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.146e-05, allocations: 5.594 kB / 425.8 MB, free: 11.48 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.ClimateChange.ElectrolysisMethanation): time 0.03772/0.03775, allocations: 30.71 MB / 456.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03382/0.07158, allocations: 28.88 MB / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002166/0.07378, allocations: 31.81 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001997/0.07579, allocations: 0.6901 MB / 486.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007071/0.08287, allocations: 2.235 MB / 488.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01255/0.09544, allocations: 3.957 MB / 492.3 MB, free: 8.918 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006738/0.1022, allocations: 3.456 MB / 495.8 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003932/0.1062, allocations: 2.007 MB / 497.8 MB, free: 3.391 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003254/0.1095, allocations: 1.488 MB / 499.3 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002805/0.1123, allocations: 1.6 MB / 0.4891 GB, free: 300 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008724/0.1132, allocations: 291.9 kB / 0.4894 GB, free: 8 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01252/0.1257, allocations: 3.175 MB / 0.4925 GB, free: 12.83 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.004636/0.1304, allocations: 4.28 MB / 0.4967 GB, free: 8.504 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.002722/0.1331, allocations: 2.476 MB / 0.4991 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.1343, allocations: 446.8 kB / 0.4995 GB, free: 5.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0007723/0.1351, allocations: 107.7 kB / 0.4996 GB, free: 5.449 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: 609 (599) * Number of variables: 609 (594) Notification: Performance of Bindings: time 0.2359/0.371, allocations: 12.86 MB / 0.5122 GB, free: 36.29 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.001541/0.3726, allocations: 1.834 MB / 0.514 GB, free: 36.09 MB / 382.1 MB Notification: Performance of Early Inline: time 0.01129/0.3839, allocations: 11.37 MB / 0.5251 GB, free: 32.72 MB / 382.1 MB Notification: Performance of simplify1: time 0.0006834/0.3846, allocations: 0.7226 MB / 0.5258 GB, free: 32.45 MB / 382.1 MB Notification: Performance of Alias: time 0.01284/0.3974, allocations: 14.66 MB / 0.5401 GB, free: 25.42 MB / 382.1 MB Notification: Performance of simplify2: time 0.0005664/0.398, allocations: 0.5438 MB / 0.5406 GB, free: 25.29 MB / 382.1 MB Notification: Performance of Detect States: time 0.0009666/0.399, allocations: 1.385 MB / 0.542 GB, free: 24.54 MB / 382.1 MB Notification: Performance of Events: time 0.0005319/0.3995, allocations: 0.5995 MB / 0.5426 GB, free: 24.2 MB / 382.1 MB Notification: Performance of Partitioning: time 0.001368/0.4009, allocations: 1.822 MB / 0.5444 GB, free: 22.55 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_281)