Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.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.Allosteric_Hemoglobin2_MWC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC") translateModel(Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001273, allocations: 111 kB / 16.42 MB, free: 6.523 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.001336/0.001336, allocations: 182 kB / 17.36 MB, free: 5.746 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.275/1.275, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.0788/0.0788, allocations: 15.32 MB / 306.5 MB, free: 15.39 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.167e-05, allocations: 6.438 kB / 425.8 MB, free: 11.45 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.Allosteric_Hemoglobin2_MWC): time 0.03406/0.03409, allocations: 29.28 MB / 455.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02873/0.06284, allocations: 26.08 MB / 481.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001844/0.06474, allocations: 23.88 kB / 481.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.06642, allocations: 0.5931 MB / 481.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006904/0.07334, allocations: 2.16 MB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01123/0.08461, allocations: 3.546 MB / 487.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008106/0.09274, allocations: 6.66 MB / 494.2 MB, free: 7.047 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005791/0.09856, allocations: 4.594 MB / 498.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005383/0.104, allocations: 2.8 MB / 0.4898 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005948/0.11, allocations: 2.868 MB / 0.4926 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002183/0.1122, allocations: 456 kB / 0.4931 GB, free: 12.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01573/0.1279, allocations: 3.109 MB / 0.4961 GB, free: 9.148 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.009108/0.1371, allocations: 5.373 MB / 0.5013 GB, free: 3.734 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.003715/0.1408, allocations: 2.966 MB / 0.5042 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001588/0.1424, allocations: 414.9 kB / 0.5046 GB, free: 336 kB / 382.1 MB Notification: Performance of FrontEnd: time 0.0006125/0.143, allocations: 95.84 kB / 0.5047 GB, free: 240 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1226 (664) * Number of variables: 1226 (512) Notification: Performance of Bindings: time 0.2891/0.4321, allocations: 18.36 MB / 0.5227 GB, free: 32.79 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.003359/0.4355, allocations: 2.253 MB / 0.5249 GB, free: 31.59 MB / 382.1 MB Notification: Performance of Early Inline: time 0.0171/0.4526, allocations: 16.76 MB / 0.5412 GB, free: 22.72 MB / 382.1 MB Notification: Performance of simplify1: time 0.0006588/0.4533, allocations: 0.6842 MB / 0.5419 GB, free: 22.45 MB / 382.1 MB Notification: Performance of Alias: time 0.01243/0.4657, allocations: 11.94 MB / 0.5535 GB, free: 15.55 MB / 382.1 MB Notification: Performance of simplify2: time 0.0007936/0.4666, allocations: 0.5994 MB / 0.5541 GB, free: 15.12 MB / 382.1 MB Notification: Performance of Detect States: time 0.002705/0.4693, allocations: 3.095 MB / 0.5572 GB, free: 12.58 MB / 382.1 MB Notification: Performance of Events: time 0.001547/0.4708, allocations: 1.497 MB / 0.5586 GB, free: 11.25 MB / 382.1 MB Notification: Performance of Partitioning: time 0.003679/0.4745, allocations: 3.994 MB / 0.5625 GB, free: 7.184 MB / 382.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(8) {oxygenation_T[$i1].products[1].u, oxygenation_T[$i1].products[2].u}, does not fit the equation size 4. Error: Internal error NBSlice.resolveDependency failed for: oxygenation_T[$i1].products.u. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (4) ($RES_SIM_211) [----] for $i1 in 1:4 loop [----] [SCAL] (1) oxygenation_T[$i1].du = oxygenation_T[$i1].p * oxygenation_T[$i1].products.u - oxygenation_T[$i1].s * oxygenation_T[$i1].substrates.u ($RES_SIM_212) [----] end for;