Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.Hemoglobin.Joels57.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.Hemoglobin.Joels57,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.Joels57") translateModel(Chemical.Examples.Hemoglobin.Joels57,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.Joels57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 109.1 kB / 16.42 MB, free: 6.441 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.001201/0.001201, allocations: 183.2 kB / 17.36 MB, free: 5.684 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.258/1.258, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.0783/0.0783, allocations: 15.3 MB / 306.5 MB, free: 15.38 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.011e-05, allocations: 2.281 kB / 425.8 MB, free: 11.49 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.Hemoglobin.Joels57): time 0.08529/0.08532, allocations: 81.87 MB / 0.4958 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.7414/0.8267, allocations: 216.8 MB / 0.7075 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01352/0.8403, allocations: 170.3 kB / 0.7077 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.01701/0.8573, allocations: 4.899 MB / 0.7124 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.06264/0.92, allocations: 17.76 MB / 0.7298 GB, free: 380 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.09257/1.013, allocations: 32.35 MB / 0.7614 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.09481/1.107, allocations: 80.89 MB / 0.8404 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07273/1.18, allocations: 57.17 MB / 0.8962 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05152/1.232, allocations: 30.22 MB / 0.9257 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6793/1.911, allocations: 28.91 MB / 0.9539 GB, free: 78.12 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.02519/1.936, allocations: 7.064 MB / 0.9608 GB, free: 78.12 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.08319/2.019, allocations: 29.92 MB / 0.9901 GB, free: 78.12 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.06265/2.082, allocations: 49.41 MB / 1.038 GB, free: 67.27 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.02384/2.106, allocations: 24.82 MB / 1.063 GB, free: 54.26 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01742/2.123, allocations: 3.539 MB / 1.066 GB, free: 50.75 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.004137/2.128, allocations: 0.7427 MB / 1.067 GB, free: 50.07 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11424 (5400) * Number of variables: 11424 (3720) Notification: Performance of Bindings: time 0.6498/2.777, allocations: 189.8 MB / 1.252 GB, free: 70.9 MB / 0.7169 GB Notification: Performance of FunctionAlias: time 0.04575/2.823, allocations: 26.58 MB / 1.278 GB, free: 55.6 MB / 0.7169 GB Notification: Performance of Early Inline: time 0.6887/3.512, allocations: 200.3 MB / 1.474 GB, free: 91 MB / 0.7638 GB Notification: Performance of simplify1: time 0.01655/3.528, allocations: 5.655 MB / 1.479 GB, free: 91 MB / 0.7638 GB Notification: Performance of Alias: time 0.1751/3.704, allocations: 117.9 MB / 1.594 GB, free: 58.5 MB / 0.7638 GB Notification: Performance of simplify2: time 0.01031/3.714, allocations: 5.251 MB / 1.6 GB, free: 56.18 MB / 0.7638 GB Notification: Performance of Detect States: time 0.05711/3.771, allocations: 39.68 MB / 1.638 GB, free: 31.48 MB / 0.7638 GB Notification: Performance of Events: time 0.03669/3.808, allocations: 18.35 MB / 1.656 GB, free: 15.45 MB / 0.7638 GB Notification: Performance of Partitioning: time 0.5549/4.363, allocations: 51.05 MB / 1.706 GB, free: 128.8 MB / 0.795 GB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(8) {pCO2_2000.tensed.z[$i1].products[1].u, pCO2_2000.tensed.z[$i1].products[2].u}, does not fit the equation size 4. Error: Internal error NBSlice.resolveDependency failed for: pCO2_2000.tensed.z[$i1].products.u. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (4) ($RES_SIM_3481) [----] for $i1 in 1:4 loop [----] [SCAL] (1) pCO2_2000.tensed.z[$i1].du = pCO2_2000.tensed.z[$i1].p * pCO2_2000.tensed.z[$i1].products.u - pCO2_2000.tensed.z[$i1].s * pCO2_2000.tensed.z[$i1].substrates.u ($RES_SIM_3482) [----] end for;