Running command: translateModel(Chemical.Examples.AcidBase.AcidBaseBufferTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.AcidBaseBufferTest") Notification: Performance of loadModel(Chemical): time 1.851/1.851, allocations: 215.4 MB / 227.5 MB, free: 356 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.785e-05/3.795e-05, allocations: 9.391 kB / 280.4 MB, free: 11.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08008/0.08014, allocations: 50.01 MB / 330.4 MB, free: 9.648 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3728/0.453, allocations: 88.65 MB / 419.1 MB, free: 9.066 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.4532, allocations: 67.97 kB / 419.2 MB, free: 9.035 MB / 346.7 MB [/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 buffer.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$buffer. 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:3528:7-3528:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System simpleSolution.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 externalMoleFraction.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.ExternalMoleFraction$externalMoleFraction. 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:1999:8-1999:67:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System externalMoleFraction.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.ExternalMoleFraction$externalMoleFraction. 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.1348/0.5881, allocations: 33.56 MB / 452.7 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.898e-06/0.5881, allocations: 0 / 452.7 MB, free: 12.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.627e-05/0.5882, allocations: 16 kB / 452.7 MB, free: 12.97 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002869/0.591, allocations: 1.061 MB / 453.8 MB, free: 11.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.5911, allocations: 16.03 kB / 453.8 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003178/0.5915, allocations: 82.97 kB / 453.9 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/0.5934, allocations: 0.6358 MB / 454.5 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.217e-05/0.5935, allocations: 47.11 kB / 454.6 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.5937, allocations: 63.97 kB / 454.6 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.5957, allocations: 1.015 MB / 455.7 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.5957, allocations: 7.938 kB / 455.7 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-05/0.5958, allocations: 24.12 kB / 455.7 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.747e-05/0.5959, allocations: 22.94 kB / 455.7 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003113/0.599, allocations: 1.702 MB / 457.4 MB, free: 9.293 MB / 378.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.007494/0.6065, allocations: 3.434 MB / 460.8 MB, free: 5.734 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003378/0.6099, allocations: 1.387 MB / 462.2 MB, free: 4.324 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.6116, allocations: 475.6 kB / 462.7 MB, free: 3.855 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002684/0.6143, allocations: 1.403 MB / 464.1 MB, free: 2.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.6143, allocations: 35.34 kB / 464.1 MB, free: 2.184 MB / 378.7 MB Notification: Performance of pre-optimization done (n=73): time 3.811e-06/0.6143, allocations: 0 / 464.1 MB, free: 2.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.01276/0.6271, allocations: 3.872 MB / 468 MB, free: 14.24 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.6272, allocations: 64.19 kB / 468.1 MB, free: 14.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.6286, allocations: 0.8133 MB / 468.9 MB, free: 13.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.329e-05/0.6287, allocations: 41.7 kB / 468.9 MB, free: 13.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.629, allocations: 332.2 kB / 469.2 MB, free: 12.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003661/0.6294, allocations: 327.1 kB / 469.6 MB, free: 12.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.52e-05/0.6295, allocations: 24 kB / 469.6 MB, free: 12.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002375/0.6297, allocations: 386.8 kB / 470 MB, free: 12.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.631, allocations: 0.5799 MB / 470.5 MB, free: 11.65 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/0.6324, allocations: 0.7126 MB / 471.3 MB, free: 10.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.6338, allocations: 0.6452 MB / 471.9 MB, free: 10.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.752e-06/0.6338, allocations: 4 kB / 471.9 MB, free: 10.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.004032/0.6379, allocations: 1.659 MB / 473.6 MB, free: 8.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.6379, allocations: 11.98 kB / 473.6 MB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.638, allocations: 4 kB / 473.6 MB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009602/0.6389, allocations: 198.4 kB / 473.8 MB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.6402, allocations: 231.7 kB / 474 MB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005322/0.6456, allocations: 4.751 MB / 478.8 MB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008561/0.6465, allocations: 40.05 kB / 478.8 MB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.6466, allocations: 47.98 kB / 478.8 MB, free: 2.863 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 4,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002719/0.6469, allocations: 160.7 kB / 479 MB, free: 2.699 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.6471, allocations: 87.09 kB / 479.1 MB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005797/0.653, allocations: 1.609 MB / 480.7 MB, free: 0.9883 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/0.653, allocations: 12 kB / 480.7 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.056e-06/0.653, allocations: 0 / 480.7 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.308e-05/0.6531, allocations: 3.984 kB / 480.7 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008662/0.6617, allocations: 2.662 MB / 483.4 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.04e-06/0.6618, allocations: 0 / 483.4 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.6628, allocations: 192 kB / 483.6 MB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009173/0.6638, allocations: 194.4 kB / 483.7 MB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.6639, allocations: 36.03 kB / 483.8 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004074/0.668, allocations: 3.453 MB / 487.2 MB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.863e-06/0.668, allocations: 4.031 kB / 487.2 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004839/0.6729, allocations: 2.255 MB / 489.5 MB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006126/0.6735, allocations: 267.9 kB / 489.8 MB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.6737, allocations: 27.92 kB / 489.8 MB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005981/0.6743, allocations: 24 kB / 489.8 MB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.6745, allocations: 80.62 kB / 489.9 MB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.6746, allocations: 43.98 kB / 489.9 MB, free: 7.227 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001053/0.6757, allocations: 0.6499 MB / 490.6 MB, free: 6.578 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.095e-06/0.6757, allocations: 0 / 490.6 MB, free: 6.578 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001823/0.6776, allocations: 0.5854 MB / 491.2 MB, free: 5.992 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (buffer.nFreeBuffer,simpleSolution.T,simpleSolution.freeInternalEnergy,liquidWater.log10n) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 91 * 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%) 2} * Non-linear torn systems: 2 {1 2,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001809/0.6794, allocations: 0.7621 MB / 491.9 MB, free: 5.219 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005018/0.6844, allocations: 1.492 MB / 493.4 MB, free: 3.707 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.57e-06/0.6845, allocations: 0 / 493.4 MB, free: 3.707 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001623/0.6861, allocations: 0.816 MB / 494.2 MB, free: 2.875 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/0.6877, allocations: 269.8 kB / 494.5 MB, free: 2.613 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/0.6911, allocations: 1.427 MB / 495.9 MB, free: 1.137 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009871/0.6921, allocations: 0.9565 MB / 496.9 MB, free: 152 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002121/0.6942, allocations: 330 kB / 497.2 MB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007496/0.695, allocations: 127.3 kB / 497.3 MB, free: 15.7 MB / 426.7 MB Notification: Performance of SimCode: time 2.572e-06/0.695, allocations: 0 / 497.3 MB, free: 15.7 MB / 426.7 MB Notification: Performance of Templates: time 0.05417/0.7492, allocations: 20.94 MB / 0.5061 GB, free: 10.79 MB / 442.7 MB