Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest.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.AcidBase.AcidBaseBufferTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest") translateModel(Chemical.Examples.AcidBase.AcidBaseBufferTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 108.6 kB / 16.42 MB, free: 6.449 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.001226/0.001226, allocations: 192.3 kB / 17.36 MB, free: 5.699 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.302/1.302, allocations: 222.9 MB / 241.1 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.08567/0.08567, allocations: 15.31 MB / 306.5 MB, free: 15.42 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.062e-05, allocations: 2.281 kB / 425.8 MB, free: 11.53 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.AcidBase.AcidBaseBufferTest): time 0.02885/0.02888, allocations: 24.09 MB / 449.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.04002, allocations: 10.1 MB / 460 MB, free: 9.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000576/0.04063, allocations: 7.938 kB / 460 MB, free: 9.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006965/0.04134, allocations: 238.3 kB / 460.2 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00173/0.04308, allocations: 0.574 MB / 460.8 MB, free: 8.598 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004619/0.04771, allocations: 1.436 MB / 462.2 MB, free: 7.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.04944, allocations: 1.052 MB / 463.3 MB, free: 6.094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007991/0.05026, allocations: 0.5132 MB / 463.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007308/0.051, allocations: 426.7 kB / 464.2 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000594/0.0516, allocations: 478.2 kB / 464.7 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.05176, allocations: 84 kB / 464.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003233/0.055, allocations: 1.057 MB / 465.8 MB, free: 3.555 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.001131/0.05615, allocations: 1.295 MB / 467.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008336/0.05699, allocations: 0.7545 MB / 467.9 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004538/0.05746, allocations: 131.6 kB / 468 MB, free: 1.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0002813/0.05775, allocations: 24 kB / 468 MB, free: 1.328 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.005084/0.06284, allocations: 4.032 MB / 472 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0006078/0.06346, allocations: 284.8 kB / 472.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of Early Inline: time 0.00464/0.06811, allocations: 3.798 MB / 476.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of simplify1: time 0.0002772/0.0684, allocations: 263.7 kB / 476.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of Alias: time 0.005012/0.07342, allocations: 4.19 MB / 480.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simplify2: time 0.000244/0.07368, allocations: 223.8 kB / 480.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of Events: time 0.0001777/0.07387, allocations: 163.7 kB / 481 MB, free: 3.832 MB / 350.1 MB Notification: Performance of Detect States: time 0.000531/0.07441, allocations: 0.4903 MB / 481.4 MB, free: 3.328 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0006367/0.07505, allocations: 0.655 MB / 482.1 MB, free: 2.602 MB / 350.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (5|5) Unmatched Variables *************************** [DER-] (1) parameter Real $DER.buffer.substanceData.z slice: {} [DER-] (1) Real $DER.liquidWater.amountOfBonds slice: {} [ALGB] (1) flow Real buffer.solution.dV slice: {} [ALGB] (1) protected Real simpleSolution.volume_der slice: {} [DER-] (1) stream Real $DER.buffer.port_a.h_outflow slice: {} (4|4) Unmatched Equations *************************** [SCAL] (1) buffer.port_a.h_outflow = buffer.substanceData.DfH + ((-298.15) + 0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)) * buffer.substanceData.Cp ($RES_SIM_95) slice: {} [SCAL] (1) (liquidWater.solution.Ij + buffer.solution.Ij) - liquidWater.moleFractionBasedIonicStrength = 0.0 ($RES_SIM_123) slice: {} [SCAL] (1) liquidWater.solution.nj - liquidWater.amountOfSolution = 0.0 ($RES_SIM_128) slice: {} [SCAL] (1) liquidWater.molarVolume = 1.8015e-5 + Chemical.Examples.AcidBase.AcidBaseBufferTest.liquidWater.stateOfMatter.molarVolumePure(Chemical.Substances.Water_liquid(0.018015, 0.0, -227230.0, -285830.0, 1.0, 75.3, {"http://www.vias.org/genchem/standard_enthalpies_table.html"}, 0.0, 0.0, true, -81.6348, 32.845554, 1000.0), 0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength) * log(Chemical.Examples.AcidBase.AcidBaseBufferTest.liquidWater.stateOfMatter.activityCoefficient(Chemical.Substances.Water_liquid(0.018015, 0.0, -227230.0, -285830.0, 1.0, 75.3, {"http://www.vias.org/genchem/standard_enthalpies_table.html"}, 0.0, 0.0, true, -81.6348, 32.845554, 1000.0), 0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength)) ($RES_SIM_9) slice: {}