Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.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.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 107.4 kB / 16.42 MB, free: 6.484 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.001097/0.001097, 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.369/1.369, 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.08174/0.08174, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.361e-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: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.CheckSubstancesData.SimpleReaction2): time 0.02953/0.02956, allocations: 23.02 MB / 448.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.03977, allocations: 9.171 MB / 458 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004409/0.04025, allocations: 7.938 kB / 458 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00063/0.04089, allocations: 222.4 kB / 458.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008919/0.0418, allocations: 349.2 kB / 458.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004602/0.04641, allocations: 1.413 MB / 460 MB, free: 9.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.04749, allocations: 0.7516 MB / 460.7 MB, free: 8.652 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002808/0.04778, allocations: 212.7 kB / 460.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003297/0.04812, allocations: 331.1 kB / 461.3 MB, free: 8.117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003891/0.04852, allocations: 330.9 kB / 461.6 MB, free: 7.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.441e-05/0.0486, allocations: 36 kB / 461.6 MB, free: 7.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.05058, allocations: 0.8229 MB / 462.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0006056/0.0512, allocations: 0.8193 MB / 463.3 MB, free: 6.105 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003084/0.05151, allocations: 0.5159 MB / 463.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.778e-05/0.05161, allocations: 75.81 kB / 463.8 MB, free: 5.508 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.000111/0.05173, allocations: 35.92 kB / 463.9 MB, free: 5.473 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 (74) * Number of variables: 76 (73) Notification: Performance of Bindings: time 0.002145/0.05388, allocations: 2.427 MB / 466.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0002362/0.05412, allocations: 183.6 kB / 466.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of Early Inline: time 0.002419/0.05655, allocations: 2.228 MB / 468.7 MB, free: 496 kB / 334.1 MB Notification: Performance of simplify1: time 0.0001428/0.0567, allocations: 111.9 kB / 468.8 MB, free: 384 kB / 334.1 MB Notification: Performance of Alias: time 0.002031/0.05874, allocations: 1.775 MB / 470.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simplify2: time 0.0001168/0.05887, allocations: 79.91 kB / 470.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of Events: time 7.013e-05/0.05895, allocations: 67.88 kB / 470.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002075/0.05916, allocations: 196.5 kB / 470.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0004041/0.05957, allocations: 426.9 kB / 471.4 MB, free: 13.32 MB / 350.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.DrG = reaction.p * reaction.products.u - reaction.s * reaction.substrates.u ($RES_SIM_38)