Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.SimpleReaction.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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction") translateModel(Chemical.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 109 kB / 16.42 MB, free: 6.391 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.001138/0.001138, allocations: 189.5 kB / 17.36 MB, free: 5.676 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08153/0.08153, allocations: 15.31 MB / 306.5 MB, free: 15.42 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.301e-05, allocations: 9.172 kB / 425.8 MB, free: 11.64 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.SimpleReaction): time 0.02982/0.02985, allocations: 23.8 MB / 449.6 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009528/0.0394, allocations: 7.978 MB / 457.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005862/0.04002, allocations: 7.938 kB / 457.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005904/0.04062, allocations: 182.5 kB / 457.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.04231, allocations: 0.6825 MB / 458.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002697/0.04502, allocations: 1.025 MB / 459.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001305/0.04634, allocations: 1.045 MB / 460.5 MB, free: 8.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005809/0.04693, allocations: 0.514 MB / 461 MB, free: 8.465 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004361/0.04738, allocations: 474.7 kB / 461.5 MB, free: 8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00054/0.04792, allocations: 482.3 kB / 462 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.973e-05/0.04803, allocations: 80 kB / 462 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002483/0.05052, allocations: 0.8581 MB / 462.9 MB, free: 6.59 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0008878/0.05142, allocations: 1.288 MB / 464.2 MB, free: 5.289 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.000422/0.05185, allocations: 0.7585 MB / 464.9 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.052, allocations: 135.6 kB / 465.1 MB, free: 4.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001677/0.05217, allocations: 35.92 kB / 465.1 MB, free: 4.352 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: 168 (168) * Number of variables: 168 (168) Notification: Performance of Bindings: time 0.003126/0.0553, allocations: 3.717 MB / 468.8 MB, free: 492 kB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0003392/0.05565, allocations: 343.7 kB / 469.2 MB, free: 132 kB / 334.1 MB Notification: Performance of Early Inline: time 0.002848/0.05851, allocations: 2.938 MB / 472.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simplify1: time 0.000205/0.05873, allocations: 187.8 kB / 472.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of Alias: time 0.004357/0.06309, allocations: 3.885 MB / 476.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of simplify2: time 0.0001519/0.06326, allocations: 115.9 kB / 476.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of Events: time 0.0001508/0.06342, allocations: 115.9 kB / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of Detect States: time 0.0003512/0.06378, allocations: 344.8 kB / 476.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0005187/0.06431, allocations: 0.5022 MB / 477.2 MB, free: 7.641 MB / 350.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (2|2) Unmatched Variables *************************** [ALGB] (1) flow Real B.solution.dV slice: {} [ALGB] (1) protected Real solution.volume_der slice: {} (2|2) Unmatched Equations *************************** [SCAL] (1) (A.solution.Ij + B.solution.Ij) - B.moleFractionBasedIonicStrength = 0.0 ($RES_SIM_121) slice: {} [SCAL] (1) B.molarVolume = 0.001 + Chemical.Examples.SimpleReaction.B.stateOfMatter.molarVolumePure(Chemical.Examples.SimpleReaction.B.stateOfMatter.SubstanceData(1.0, 0.0, -1718.2820757981522, 0.0, 1.0, 0.0, {""}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), B.temperature, B.pressure, 0.0, B.moleFractionBasedIonicStrength) * log(Chemical.Examples.SimpleReaction.B.stateOfMatter.activityCoefficient(Chemical.Examples.SimpleReaction.B.stateOfMatter.SubstanceData(1.0, 0.0, -1718.2820757981522, 0.0, 1.0, 0.0, {""}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), B.temperature, B.pressure, 0.0, B.moleFractionBasedIonicStrength)) ($RES_SIM_9) slice: {}