Running command: translateModel(Chemical.Examples.AcidBase.CarbonDioxideInWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.CarbonDioxideInWater") Notification: Performance of loadModel(Chemical): time 1.888/1.888, allocations: 215.4 MB / 227.5 MB, free: 352 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.957e-05/2.966e-05, allocations: 5.562 kB / 280.4 MB, free: 11.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08274/0.08279, allocations: 50.02 MB / 330.4 MB, free: 9.648 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3561/0.4389, allocations: 89.72 MB / 420.2 MB, free: 8.387 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.4391, allocations: 69.97 kB / 420.2 MB, free: 8.355 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:3528:7-3528:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System solution.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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:2614:7-2614:66: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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:2614:7-2614:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System CO2_gas.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.ExternalIdealGasSubstance$CO2_gas. 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:1740:7-1740:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System CO2_gas.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.ExternalIdealGasSubstance$CO2_gas. 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:2614:7-2614:66: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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:2614:7-2614:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System CO2_liquid.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_liquid. 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:2614:7-2614:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System CO3.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$CO3. 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:2614:7-2614:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System liquidWater.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$liquidWater. 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.3002/0.7393, allocations: 70.05 MB / 490.3 MB, free: 8.199 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.2e-06/0.7394, allocations: 0 / 490.3 MB, free: 8.199 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.668e-05/0.7395, allocations: 36.14 kB / 490.3 MB, free: 8.164 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.004201/0.7437, allocations: 1.902 MB / 492.2 MB, free: 6.211 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.7438, allocations: 8.031 kB / 492.2 MB, free: 6.203 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003915/0.7442, allocations: 189.8 kB / 492.4 MB, free: 6.016 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003413/0.7476, allocations: 1.429 MB / 493.8 MB, free: 4.527 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.7477, allocations: 102.7 kB / 493.9 MB, free: 4.426 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003861/0.7481, allocations: 147.8 kB / 494.1 MB, free: 4.281 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004871/0.753, allocations: 2.09 MB / 496.2 MB, free: 2.152 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/0.7531, allocations: 0 / 496.2 MB, free: 2.152 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002609/0.7534, allocations: 52 kB / 496.2 MB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.96e-05/0.7535, allocations: 40 kB / 496.3 MB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007866/0.7613, allocations: 3.468 MB / 499.7 MB, free: 14.59 MB / 426.7 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.017/0.7784, allocations: 7.434 MB / 0.4953 GB, free: 6.914 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01719/0.7956, allocations: 5.435 MB / 0.5006 GB, free: 1.363 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002691/0.7983, allocations: 1.14 MB / 0.5017 GB, free: 232 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008494/0.8068, allocations: 6.402 MB / 0.508 GB, free: 8.715 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.886e-05/0.8069, allocations: 56.52 kB / 0.508 GB, free: 8.648 MB / 442.7 MB Notification: Performance of pre-optimization done (n=182): time 5.478e-06/0.807, allocations: 0 / 0.508 GB, free: 8.648 MB / 442.7 MB Notification: Performance of matching and sorting (n=232): time 0.02752/0.8345, allocations: 8.321 MB / 0.5161 GB, free: 272 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.8346, allocations: 81.34 kB / 0.5162 GB, free: 180 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2566/1.091, allocations: 1.073 MB / 0.5173 GB, free: 108.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004638/1.092, allocations: 62.39 kB / 0.5173 GB, free: 108.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000441/1.092, allocations: 0.5582 MB / 0.5179 GB, free: 108.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007859/1.093, allocations: 0.7734 MB / 0.5186 GB, free: 107.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/1.093, allocations: 43.06 kB / 0.5187 GB, free: 107.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/1.093, allocations: 385.5 kB / 0.519 GB, free: 107.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002895/1.096, allocations: 1.126 MB / 0.5201 GB, free: 107.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00284/1.099, allocations: 1.38 MB / 0.5215 GB, free: 107.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003023/1.102, allocations: 1.261 MB / 0.5227 GB, free: 107.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.719e-06/1.102, allocations: 1.625 kB / 0.5227 GB, free: 107.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.008005/1.11, allocations: 3.18 MB / 0.5258 GB, free: 107.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/1.11, allocations: 10.73 kB / 0.5258 GB, free: 107.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/1.11, allocations: 9.203 kB / 0.5258 GB, free: 107.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001453/1.112, allocations: 323.7 kB / 0.5261 GB, free: 107 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002986/1.115, allocations: 0.5195 MB / 0.5267 GB, free: 107 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007531/1.122, allocations: 10.31 MB / 0.5367 GB, free: 97.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/1.124, allocations: 79.33 kB / 0.5368 GB, free: 97.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003921/1.125, allocations: 136.7 kB / 0.5369 GB, free: 97.26 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (253): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 2 {1 10,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005411/1.125, allocations: 224 kB / 0.5371 GB, free: 97.15 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004087/1.126, allocations: 159.9 kB / 0.5373 GB, free: 97.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009806/1.136, allocations: 3.736 MB / 0.5409 GB, free: 96.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-05/1.136, allocations: 23.41 kB / 0.541 GB, free: 96.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/1.136, allocations: 4.469 kB / 0.541 GB, free: 96.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.658e-05/1.136, allocations: 11.44 kB / 0.541 GB, free: 96.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/1.148, allocations: 5.726 MB / 0.5466 GB, free: 96.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/1.149, allocations: 6.094 kB / 0.5466 GB, free: 96.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00252/1.151, allocations: 450.7 kB / 0.547 GB, free: 96.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001435/1.153, allocations: 322.4 kB / 0.5473 GB, free: 96.37 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002597/1.153, allocations: 88.86 kB / 0.5474 GB, free: 96.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003901/1.157, allocations: 3.922 MB / 0.5512 GB, free: 93.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/1.157, allocations: 5.531 kB / 0.5512 GB, free: 93.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/1.167, allocations: 4.824 MB / 0.5559 GB, free: 92.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/1.168, allocations: 0.5629 MB / 0.5565 GB, free: 91.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003717/1.169, allocations: 52.39 kB / 0.5565 GB, free: 91.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/1.17, allocations: 67.09 kB / 0.5566 GB, free: 91.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003627/1.17, allocations: 181.7 kB / 0.5568 GB, free: 91.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003094/1.171, allocations: 123.8 kB / 0.5569 GB, free: 91.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001196/1.172, allocations: 0.8551 MB / 0.5577 GB, free: 91.42 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.023e-06/1.172, allocations: 0 / 0.5577 GB, free: 91.42 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003736/1.176, allocations: 1.228 MB / 0.5589 GB, free: 91.32 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (solution.T,solution.freeInternalEnergy,HCO3.log10n,H.log10n,CO2_liquid.log10n,CO3.log10n,liquidWater.log10n) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 222 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 2 {1 3,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.003142/1.179, allocations: 1.419 MB / 0.5603 GB, free: 91.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006151/1.185, allocations: 2.893 MB / 0.5631 GB, free: 89.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.108e-06/1.185, allocations: 3.875 kB / 0.5631 GB, free: 89.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003075/1.188, allocations: 1.572 MB / 0.5647 GB, free: 89.24 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/1.191, allocations: 491.3 kB / 0.5652 GB, free: 89.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006579/1.198, allocations: 2.891 MB / 0.568 GB, free: 87.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000863/1.199, allocations: 1.31 MB / 0.5693 GB, free: 87.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003226/1.202, allocations: 0.7667 MB / 0.57 GB, free: 86.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001098/1.203, allocations: 283.6 kB / 0.5703 GB, free: 86.96 MB / 442.7 MB Notification: Performance of SimCode: time 2.261e-06/1.203, allocations: 1.938 kB / 0.5703 GB, free: 86.96 MB / 442.7 MB Notification: Performance of Templates: time 0.0823/1.285, allocations: 42.15 MB / 0.6114 GB, free: 68.1 MB / 442.7 MB