Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_Chemical_Examples_AcidBase_Dev_RedCellMembrane",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_Chemical_Examples_AcidBase_Dev_RedCellMembrane",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.08065/0.08065, allocations: 15.26 MB / 22.74 MB, free: 0.9648 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 184.9 kB / 27.52 MB, free: 6.117 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.207/1.207, allocations: 221.5 MB / 253.7 MB, free: 10.38 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007302/0.0007302, allocations: 86.27 kB / 308.7 MB, free: 10.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.62e-05/1.621e-05, allocations: 2.938 kB / 369.7 MB, free: 53.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0721/0.07213, allocations: 54.64 MB / 424.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.304/0.3762, allocations: 102.8 MB / 0.5148 GB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001643/0.3764, allocations: 74.52 kB / 0.5149 GB, free: 12.3 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:4721:7-4721:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System blood_erythrocytes.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Solution$blood_erythrocytes. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:4721:7-4721:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System blood_plasma.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Solution. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System HCO3.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$HCO3. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System H2O.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$H2O. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System HCO3_E.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$HCO3_E. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System H2O_E.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$H2O_E. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System Cl_E.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$Cl_E. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System Cl.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$Cl. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System albumin.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$albumin. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System permeableUncharged.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$permeableUncharged. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System permeableUncharged_E.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$permeableUncharged_E. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System chargedImpermeable_E.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$chargedImpermeable_E. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System Lac_E.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$Lac_E. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System Lac.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$Lac. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System H_E.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$H_E. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System H.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$H. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System CO2.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$CO2. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System CO2_E.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$CO2_E. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System O2.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$O2. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System O2_E.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$O2_E. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System K.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$K. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System Na.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$Na. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System Na_E.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$Na_E. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System K_E.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$K_E. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System H2PO4_E.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$H2PO4_E. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System ADP_E.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$ADP_E. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System ATP_E.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$ATP_E. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System HPO4_E.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$HPO4_E. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System globulins.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$globulins. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System Ca.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$Ca. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System Mg.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$Mg. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System DPG.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$DPG. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System GSH.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$GSH. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System Hemoglobin.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Sources.Buffer$Hemoglobin. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.9278/1.304, allocations: 336.7 MB / 0.8436 GB, free: 10.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.362e-06/1.304, allocations: 4 kB / 0.8436 GB, free: 10.49 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002983/1.304, allocations: 156 kB / 0.8438 GB, free: 10.34 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1818 * Number of variables: 1818 Notification: Performance of Generate backend data structure: time 0.01915/1.324, allocations: 8.875 MB / 0.8525 GB, free: 1.387 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.324, allocations: 16.02 kB / 0.8525 GB, free: 1.371 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5155/1.839, allocations: 2.395 MB / 0.8548 GB, free: 17.73 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01144/1.851, allocations: 5.297 MB / 0.86 GB, free: 17.14 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002836/1.851, allocations: 329.1 kB / 0.8603 GB, free: 17.09 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001011/1.852, allocations: 461.4 kB / 0.8607 GB, free: 17.07 MB / 490.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02181/1.874, allocations: 21.22 MB / 0.8815 GB, free: 17.04 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01284/1.887, allocations: 10.96 MB / 0.8922 GB, free: 16.54 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001127/1.887, allocations: 4.031 kB / 0.8922 GB, free: 16.54 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004777/1.887, allocations: 3.906 kB / 0.8922 GB, free: 16.54 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.388e-05/1.887, allocations: 172.9 kB / 0.8923 GB, free: 16.54 MB / 490.8 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05674/1.944, allocations: 42.71 MB / 0.934 GB, free: 8.051 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02723/1.971, allocations: 21.79 MB / 0.9553 GB, free: 14.42 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00997/1.981, allocations: 8.079 MB / 0.9632 GB, free: 10.75 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004847/1.986, allocations: 2.412 MB / 0.9656 GB, free: 10.08 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/1.986, allocations: 132.3 kB / 0.9657 GB, free: 9.973 MB / 0.4949 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004631/1.991, allocations: 0.5354 MB / 0.9662 GB, free: 9.793 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=925): time 3.417e-05/1.991, allocations: 1.781 kB / 0.9662 GB, free: 9.793 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1339): time 0.6049/2.596, allocations: 135.7 MB / 1.099 GB, free: 70.87 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.351e-05/2.596, allocations: 180.3 kB / 1.099 GB, free: 70.79 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004697/2.601, allocations: 3.811 MB / 1.103 GB, free: 70.5 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.00197/2.603, allocations: 28.7 kB / 1.103 GB, free: 70.47 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001577/2.604, allocations: 2.902 MB / 1.106 GB, free: 69.76 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.006032/2.61, allocations: 4.328 MB / 1.11 GB, free: 67.12 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/2.612, allocations: 3.469 kB / 1.11 GB, free: 67.12 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.000429/2.612, allocations: 0.7528 MB / 1.11 GB, free: 66.78 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01491/2.627, allocations: 14.97 MB / 1.125 GB, free: 66.75 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0173/2.644, allocations: 16.33 MB / 1.141 GB, free: 65.64 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02808/2.672, allocations: 17.63 MB / 1.158 GB, free: 65.04 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.298e-05/2.673, allocations: 8.031 kB / 1.158 GB, free: 65.04 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1539) (initialization): time 0.06222/2.735, allocations: 38.08 MB / 1.195 GB, free: 48.98 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 5.483e-05/2.735, allocations: 20.94 kB / 1.195 GB, free: 48.96 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.227e-05/2.735, allocations: 28 kB / 1.195 GB, free: 48.93 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01241/2.747, allocations: 3.684 MB / 1.199 GB, free: 46.05 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0144/2.762, allocations: 2.887 MB / 1.202 GB, free: 44.1 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02341/2.785, allocations: 18.88 MB / 1.22 GB, free: 26.35 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09479/2.88, allocations: 5.831 MB / 1.226 GB, free: 23.68 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003906/2.884, allocations: 1.04 MB / 1.227 GB, free: 23.25 MB / 0.5418 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2.solution.n:DUMMY_STATE(flow=false min = 0.0 max = 0.0 unit = "mol" ) "Amount of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2.solution.I:VARIABLE(flow=false min = 0.0 max = 0.0 unit = "1" ) "Mole fraction based ionic strength of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Hemoglobin.solution.n:DUMMY_STATE(flow=false min = 0.0 max = 0.0 unit = "mol" ) "Amount of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ADP_E.solution.I:VARIABLE(flow=false min = 0.0 max = 0.0 unit = "1" ) "Mole fraction based ionic strength of the solution" type: Real ADP_E.solution.v:DUMMY_STATE(flow=false unit = "V" ) "Electric potential in the solution" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 127 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1297): * Single equations (assignments): 1288 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 36,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {3 99,1 3,1 26,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.004679/2.889, allocations: 301.8 kB / 1.227 GB, free: 23.09 MB / 0.5418 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06375/2.952, allocations: 34.56 MB / 1.261 GB, free: 11.1 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003842/2.956, allocations: 0.7947 MB / 1.262 GB, free: 10.3 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3726/3.329, allocations: 36.24 MB / 1.297 GB, free: 83.86 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06936/3.398, allocations: 41.74 MB / 1.338 GB, free: 83.22 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.037e-05/3.398, allocations: 6.812 kB / 1.338 GB, free: 83.22 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002547/3.399, allocations: 71.77 kB / 1.338 GB, free: 83.22 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5356/3.934, allocations: 213.4 MB / 1.546 GB, free: 81.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001059/3.934, allocations: 68.66 kB / 1.547 GB, free: 81.6 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01087/3.945, allocations: 2.441 MB / 1.549 GB, free: 81.6 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1684/4.114, allocations: 49.47 MB / 1.597 GB, free: 79.16 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002866/4.117, allocations: 0.5234 MB / 1.598 GB, free: 78.8 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08965/4.206, allocations: 56.17 MB / 1.653 GB, free: 32.81 MB / 0.5574 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:376:7-379:62:writable] Error: Model is structurally singular, error found sorting equations 231: H2O_E.SelfClustering_dG = $cse29 - blood_erythrocytes.temperature * $cse28; 262: H2O_E.amountOfBaseMolecules = exp(H2O_E.logn); 261: Cl_E.amountOfBaseMolecules = exp(Cl_E.logn); 259: HPO4_E.amountOfBaseMolecules = exp(HPO4_E.logn); 257: Lac_E.amountOfBaseMolecules = exp(Lac_E.logn); 256: O2_E.amountOfBaseMolecules = exp(O2_E.logn); 255: chargedImpermeable_E.amountOfBaseMolecules = exp(chargedImpermeable_E.logn); 254: Mg.amountOfBaseMolecules = exp(Mg.logn); 253: ATP_E.amountOfBaseMolecules = exp(ATP_E.logn); 250: permeableUncharged_E.amountOfBaseMolecules = exp(permeableUncharged_E.logn); 248: ADP_E.amountOfBaseMolecules = exp(ADP_E.logn); 247: DPG.amountOfBaseMolecules = exp(DPG.logn); 246: H2PO4_E.amountOfBaseMolecules = exp(H2PO4_E.logn); 241: H_E.amountOfBaseMolecules = exp(H_E.logn); 239: HCO3_E.amountOfBaseMolecules = exp(HCO3_E.logn); 238: Na_E.amountOfBaseMolecules = exp(Na_E.logn); 237: K_E.amountOfBaseMolecules = exp(K_E.logn); 234: GSH.amountOfBaseMolecules = exp(GSH.logn); 232: CO2_E.amountOfBaseMolecules = exp(CO2_E.logn); 109: HCO3_E.amountOfBaseMolecules + H2O_E.solution.nj + Cl_E.amountOfBaseMolecules + permeableUncharged_E.amountOfBaseMolecules + chargedImpermeable_E.amountOfBaseMolecules + Lac_E.amountOfBaseMolecules + H_E.amountOfBaseMolecules + CO2_E.amountOfBaseMolecules + O2_E.amountOfBaseMolecules + Na_E.amountOfBaseMolecules + K_E.amountOfBaseMolecules + H2PO4_E.amountOfBaseMolecules + ADP_E.amountOfBaseMolecules + ATP_E.amountOfBaseMolecules + HPO4_E.amountOfBaseMolecules + Mg.amountOfBaseMolecules + DPG.amountOfBaseMolecules + GSH.amountOfBaseMolecules - Hemoglobin.solution.n = 0.0; 230: H2O_E.SelfClustering_K = exp((-0.120272355042726) * H2O_E.SelfClustering_dG / blood_erythrocytes.temperature); 108: H2O_E.x = 0.5 * (2.0 * H2O_E.SelfClustering_K + Hemoglobin.solution.n / H2O_E.amountOfBaseMolecules - sqrt(4.0 * H2O_E.SelfClustering_K * Hemoglobin.solution.n / H2O_E.amountOfBaseMolecules + (Hemoglobin.solution.n / H2O_E.amountOfBaseMolecules) ^ 2.0)) / H2O_E.SelfClustering_K ^ 2.0; 267: $STATESET1.J[5] = H2O_E.x - H2O_E.amountOfFreeMolecule / Hemoglobin.solution.n; 106: H2O_E.solution.nj * (1.0 - H2O_E.SelfClustering_K * H2O_E.x) = H2O_E.amountOfFreeMolecule; for variables H2O_E.SelfClustering_dG(36), $STATESET1.J[4](4), HPO4_E.amountOfBaseMolecules(8), Lac_E.amountOfBaseMolecules(10), O2_E.amountOfBaseMolecules(11), chargedImpermeable_E.amountOfBaseMolecules(12), Mg.amountOfBaseMolecules(13), ATP_E.amountOfBaseMolecules(14), permeableUncharged_E.amountOfBaseMolecules(17), ADP_E.amountOfBaseMolecules(19), DPG.amountOfBaseMolecules(20), H2PO4_E.amountOfBaseMolecules(21), H_E.amountOfBaseMolecules(26), HCO3_E.amountOfBaseMolecules(28), Na_E.amountOfBaseMolecules(29), K_E.amountOfBaseMolecules(30), GSH.amountOfBaseMolecules(33), CO2_E.amountOfBaseMolecules(35), Hemoglobin.solution.n(158), H2O_E.SelfClustering_K(37), H2O_E.x(159), $cse211(155), H2O_E.amountOfFreeMolecule(161), H_E.solution.Ij(106) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0192/4.225, allocations: 7.58 MB / 1.66 GB, free: 25.2 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3954/4.621, allocations: 74.39 MB / 1.733 GB, free: 79.04 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00449/4.625, allocations: 1.643 MB / 1.734 GB, free: 78.56 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004018/4.63, allocations: 127.4 kB / 1.734 GB, free: 78.56 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05204/4.682, allocations: 2.732 MB / 1.737 GB, free: 78.55 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003192/4.685, allocations: 1.389 MB / 1.738 GB, free: 78.49 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002349/4.687, allocations: 0.7873 MB / 1.739 GB, free: 78.49 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.003798/4.691, allocations: 2.851 MB / 1.742 GB, free: 78.31 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.41e-07/4.691, allocations: 0 / 1.742 GB, free: 78.31 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.05297/4.744, allocations: 24.06 MB / 1.765 GB, free: 78.31 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 322 * Number of states: 34 ($STATESET1.x[34],$STATESET1.x[33],$STATESET1.x[32],$STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1193): * Single equations (assignments): 1189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 36,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {42 259} Notification: Performance of Backend phase and start with SimCode phase: time 0.09823/4.842, allocations: 96.26 MB / 1.859 GB, free: 9.074 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.3571/5.199, allocations: 35.72 MB / 1.894 GB, free: 96.36 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.761e-05/5.199, allocations: 10.09 kB / 1.894 GB, free: 96.36 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.07471/5.274, allocations: 42.82 MB / 1.936 GB, free: 92.39 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02095/5.295, allocations: 2.438 MB / 1.939 GB, free: 92.27 MB / 0.573 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:3851:9-3851:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:637:5-637:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]