Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.Phosphate.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.Phosphate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.Phosphate") translateModel(Chemical.Examples.AcidBase.Phosphate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.Phosphate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 103.1 kB / 16.42 MB, free: 6.492 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.00103/0.00103, allocations: 190 kB / 17.36 MB, free: 5.703 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.335/1.335, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.0848/0.0848, allocations: 15.31 MB / 306.5 MB, free: 15.42 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.763e-05, allocations: 6.219 kB / 425.8 MB, free: 11.51 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.AcidBase.Phosphate): time 0.0395/0.03954, allocations: 28.42 MB / 454.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03794/0.0775, allocations: 28.71 MB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002159/0.07972, allocations: 23.88 kB / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002507/0.08225, allocations: 0.57 MB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.09264, allocations: 2.596 MB / 486.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0126/0.1053, allocations: 3.534 MB / 489.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006655/0.112, allocations: 3.04 MB / 492.7 MB, free: 8.559 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004582/0.1166, allocations: 1.677 MB / 494.4 MB, free: 6.844 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004389/0.121, allocations: 1.481 MB / 495.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004161/0.1252, allocations: 1.538 MB / 497.4 MB, free: 3.816 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001285/0.1265, allocations: 244 kB / 497.6 MB, free: 3.578 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01456/0.1411, allocations: 3.14 MB / 0.489 GB, free: 444 kB / 366.1 MB Notification: Performance of combineBinaries: time 0.005252/0.1464, allocations: 3.652 MB / 0.4926 GB, free: 12.75 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.002501/0.149, allocations: 2.033 MB / 0.4946 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.1501, allocations: 351 kB / 0.4949 GB, free: 10.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0006572/0.1507, allocations: 91.84 kB / 0.495 GB, free: 10.25 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: 466 (458) * Number of variables: 466 (454) Notification: Performance of Bindings: time 0.2251/0.3759, allocations: 10.63 MB / 0.5054 GB, free: 34.52 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.002077/0.378, allocations: 1.553 MB / 0.5069 GB, free: 34.42 MB / 382.1 MB Notification: Performance of Early Inline: time 0.01053/0.3885, allocations: 9.657 MB / 0.5163 GB, free: 33.77 MB / 382.1 MB Notification: Performance of simplify1: time 0.0009239/0.3895, allocations: 0.6047 MB / 0.5169 GB, free: 33.76 MB / 382.1 MB Notification: Performance of Alias: time 0.01027/0.3997, allocations: 10.11 MB / 0.5268 GB, free: 30.64 MB / 382.1 MB Notification: Performance of simplify2: time 0.0007093/0.4005, allocations: 0.5284 MB / 0.5273 GB, free: 30.52 MB / 382.1 MB Notification: Performance of Detect States: time 0.001194/0.4017, allocations: 1.605 MB / 0.5289 GB, free: 29.62 MB / 382.1 MB Notification: Performance of Events: time 0.0005967/0.4023, allocations: 0.6454 MB / 0.5295 GB, free: 29.27 MB / 382.1 MB Notification: Performance of Partitioning: time 0.001405/0.4037, allocations: 1.756 MB / 0.5312 GB, free: 28.46 MB / 382.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {chemicalReaction.products[1].u, chemicalReaction.products[2].u}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: chemicalReaction.products.u. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) chemicalReaction.du = chemicalReaction.p * chemicalReaction.products.u - chemicalReaction.s * chemicalReaction.substrates.u ($RES_SIM_125)