Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.SimpleReaction2.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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction2") translateModel(Chemical.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 107.9 kB / 16.42 MB, free: 6.5 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.001163/0.001163, allocations: 187.1 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.278/1.278, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08773/0.08773, allocations: 15.31 MB / 306.5 MB, free: 15.4 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.565e-05, allocations: 2.281 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.SimpleReaction2): time 0.0264/0.02642, allocations: 24.62 MB / 450.4 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01218/0.03862, allocations: 11.63 MB / 462 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006377/0.03929, allocations: 11.94 kB / 462 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007039/0.04001, allocations: 258 kB / 462.3 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00209/0.04211, allocations: 0.9812 MB / 463.3 MB, free: 6.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003023/0.04514, allocations: 1.499 MB / 464.8 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.04657, allocations: 1.388 MB / 466.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007144/0.04729, allocations: 0.7016 MB / 466.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005383/0.04784, allocations: 0.6194 MB / 467.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006795/0.04853, allocations: 0.6463 MB / 468.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.04866, allocations: 104 kB / 468.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.0515, allocations: 1.283 MB / 469.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.00111/0.05262, allocations: 1.69 MB / 471.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005336/0.05316, allocations: 0.9704 MB / 472.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.05332, allocations: 171.5 kB / 472.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001587/0.05349, allocations: 39.92 kB / 472.4 MB, free: 12.89 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: 222 (220) * Number of variables: 222 (219) Notification: Performance of Bindings: time 0.004018/0.05751, allocations: 4.875 MB / 477.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0004307/0.05795, allocations: 437.8 kB / 477.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of Early Inline: time 0.003998/0.06196, allocations: 4.045 MB / 481.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simplify1: time 0.0002437/0.06222, allocations: 259.7 kB / 482 MB, free: 3.07 MB / 350.1 MB Notification: Performance of Alias: time 0.005184/0.06741, allocations: 4.934 MB / 486.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simplify2: time 0.0001865/0.06761, allocations: 167.8 kB / 487.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of Events: time 0.0001795/0.0678, allocations: 159.8 kB / 487.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of Detect States: time 0.0004445/0.06825, allocations: 478.2 kB / 487.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0006522/0.06891, allocations: 0.6561 MB / 488.4 MB, free: 12.21 MB / 366.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_87)