Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.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.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood") translateModel(Chemical.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001371, allocations: 110 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.001146/0.001146, allocations: 187.2 kB / 17.35 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08133/0.08133, allocations: 15.32 MB / 306.5 MB, free: 15.39 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.105e-05, allocations: 2.281 kB / 425.8 MB, free: 11.48 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.CarbonDioxideInBlood): time 0.04299/0.04302, allocations: 33.9 MB / 459.7 MB, free: 9.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.05133/0.09437, allocations: 47.4 MB / 0.4952 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002351/0.09677, allocations: 39.75 kB / 0.4953 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002619/0.0994, allocations: 1.016 MB / 0.4963 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01058/0.11, allocations: 3.74 MB / 0.4999 GB, free: 5.246 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2321/0.3422, allocations: 6.408 MB / 0.5062 GB, free: 22.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006305/0.3485, allocations: 5.04 MB / 0.5111 GB, free: 22.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003445/0.3519, allocations: 2.666 MB / 0.5137 GB, free: 22.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00345/0.3554, allocations: 2.305 MB / 0.516 GB, free: 22.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004294/0.3597, allocations: 2.517 MB / 0.5184 GB, free: 22.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001246/0.361, allocations: 415.1 kB / 0.5188 GB, free: 22.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01795/0.3789, allocations: 5.314 MB / 0.524 GB, free: 22.19 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.006619/0.3856, allocations: 6.128 MB / 0.53 GB, free: 19.34 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.001837/0.3874, allocations: 3.407 MB / 0.5333 GB, free: 17.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.3887, allocations: 0.587 MB / 0.5339 GB, free: 16.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0007757/0.3895, allocations: 144.4 kB / 0.534 GB, free: 16.96 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: 803 (795) * Number of variables: 803 (791) Notification: Performance of Bindings: time 0.01402/0.4035, allocations: 18.03 MB / 0.5516 GB, free: 2.574 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.00296/0.4065, allocations: 3.067 MB / 0.5546 GB, free: 0 / 382.1 MB Notification: Performance of Early Inline: time 0.02041/0.4269, allocations: 17.01 MB / 0.5712 GB, free: 368 kB / 398.1 MB Notification: Performance of simplify1: time 0.001279/0.4282, allocations: 1.114 MB / 0.5723 GB, free: 15.3 MB / 414.1 MB Notification: Performance of Alias: time 0.02107/0.4493, allocations: 18.09 MB / 0.59 GB, free: 12.24 MB / 430.1 MB Notification: Performance of simplify2: time 0.001558/0.4509, allocations: 1.009 MB / 0.591 GB, free: 11.26 MB / 430.1 MB Notification: Performance of Detect States: time 0.002515/0.4534, allocations: 2.73 MB / 0.5936 GB, free: 8.527 MB / 430.1 MB Notification: Performance of Events: time 0.001279/0.4547, allocations: 1.018 MB / 0.5946 GB, free: 7.52 MB / 430.1 MB Notification: Performance of Partitioning: time 0.003228/0.4579, allocations: 3.091 MB / 0.5976 GB, free: 4.277 MB / 430.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {HendersonHasselbalch1.substrates[1].u, HendersonHasselbalch1.substrates[2].u}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: HendersonHasselbalch1.substrates.u. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) HendersonHasselbalch1.du = HendersonHasselbalch1.p * HendersonHasselbalch1.products.u - HendersonHasselbalch1.s * HendersonHasselbalch1.substrates.u ($RES_SIM_346)