Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") Notification: Performance of loadModel(ModelicaTest): time 2.357/2.357, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.799e-05/4.838e-05, allocations: 4 kB / 323.4 MB, free: 4.305 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3261, allocations: 58.83 MB / 382.2 MB, free: 10.31 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6835/1.01, allocations: 335.5 MB / 0.7009 GB, free: 9.363 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/1.01, allocations: 83.39 kB / 0.701 GB, free: 9.32 MB / 0.4949 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 1.598/2.608, allocations: 336.2 MB / 1.029 GB, free: 66.98 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.484e-06/2.608, allocations: 4 kB / 1.029 GB, free: 66.98 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0001022/2.608, allocations: 43.92 kB / 1.029 GB, free: 66.94 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.003802/2.612, allocations: 1.778 MB / 1.031 GB, free: 65.11 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/2.612, allocations: 8.031 kB / 1.031 GB, free: 65.1 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009133/2.613, allocations: 182.1 kB / 1.031 GB, free: 64.92 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002436/2.615, allocations: 1.067 MB / 1.032 GB, free: 63.81 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.476e-05/2.615, allocations: 81.89 kB / 1.032 GB, free: 63.73 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/2.616, allocations: 95.98 kB / 1.032 GB, free: 63.63 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/2.618, allocations: 1.443 MB / 1.034 GB, free: 62.09 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.165e-05/2.618, allocations: 7.938 kB / 1.034 GB, free: 62.08 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/2.618, allocations: 51.98 kB / 1.034 GB, free: 62.03 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.919e-05/2.618, allocations: 49.98 kB / 1.034 GB, free: 61.98 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002336/2.621, allocations: 1.288 MB / 1.035 GB, free: 60.7 MB / 0.4949 GB 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.009583/2.63, allocations: 6.625 MB / 1.042 GB, free: 53.69 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/2.632, allocations: 0.5233 MB / 1.042 GB, free: 53.16 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006031/2.632, allocations: 338.4 kB / 1.042 GB, free: 52.82 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01939/2.652, allocations: 17.13 MB / 1.059 GB, free: 32.48 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007555/2.652, allocations: 482.2 kB / 1.06 GB, free: 31.95 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=49): time 3.675e-06/2.652, allocations: 0 / 1.06 GB, free: 31.95 MB / 0.4949 GB Notification: Performance of matching and sorting (n=49): time 0.001738/2.654, allocations: 0.6967 MB / 1.06 GB, free: 31.25 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/2.654, allocations: 0.5388 MB / 1.061 GB, free: 30.58 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/2.656, allocations: 1.137 MB / 1.062 GB, free: 29.43 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/2.656, allocations: 37.7 kB / 1.062 GB, free: 29.39 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005195/2.657, allocations: 0.7125 MB / 1.063 GB, free: 28.67 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/2.657, allocations: 173.6 kB / 1.063 GB, free: 28.5 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.799e-05/2.657, allocations: 28 kB / 1.063 GB, free: 28.47 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 8.84e-05/2.657, allocations: 349.9 kB / 1.063 GB, free: 28.12 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006916/2.658, allocations: 318.5 kB / 1.064 GB, free: 27.81 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009781/2.659, allocations: 0.855 MB / 1.064 GB, free: 26.71 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008722/2.66, allocations: 486.3 kB / 1.065 GB, free: 26.23 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/2.66, allocations: 11.94 kB / 1.065 GB, free: 26.22 MB / 0.4949 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002794/2.663, allocations: 1.237 MB / 1.066 GB, free: 24.97 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.001077/2.664, allocations: 5.587 MB / 1.072 GB, free: 19 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/2.664, allocations: 15.95 kB / 1.072 GB, free: 18.98 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.863e-05/2.664, allocations: 24 kB / 1.072 GB, free: 18.96 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0026/2.667, allocations: 387.5 kB / 1.072 GB, free: 18.58 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007158/2.667, allocations: 1.269 MB / 1.073 GB, free: 17.26 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/2.669, allocations: 190.4 kB / 1.073 GB, free: 17.07 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002009/2.669, allocations: 67.97 kB / 1.073 GB, free: 17.01 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/2.669, allocations: 4 kB / 1.073 GB, free: 17 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002269/2.672, allocations: 1.058 MB / 1.074 GB, free: 15.94 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/2.672, allocations: 16 kB / 1.074 GB, free: 15.92 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/2.672, allocations: 20 kB / 1.074 GB, free: 15.9 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/2.673, allocations: 275.6 kB / 1.075 GB, free: 15.63 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002994/2.673, allocations: 0.6292 MB / 1.075 GB, free: 14.98 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/2.675, allocations: 150.9 kB / 1.076 GB, free: 14.83 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/2.675, allocations: 71.91 kB / 1.076 GB, free: 14.76 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003538/2.675, allocations: 214.2 kB / 1.076 GB, free: 14.54 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003005/2.676, allocations: 142.4 kB / 1.076 GB, free: 14.4 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003083/2.679, allocations: 1.401 MB / 1.077 GB, free: 12.99 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/2.679, allocations: 8 kB / 1.077 GB, free: 12.98 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.597e-06/2.679, allocations: 0 / 1.077 GB, free: 12.98 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/2.679, allocations: 3.984 kB / 1.077 GB, free: 12.98 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004102/2.683, allocations: 2.171 MB / 1.079 GB, free: 10.73 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.531e-06/2.683, allocations: 4.031 kB / 1.079 GB, free: 10.73 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002353/2.686, allocations: 263.6 kB / 1.08 GB, free: 10.47 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/2.686, allocations: 8 kB / 1.08 GB, free: 10.46 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.194e-05/2.686, allocations: 27.92 kB / 1.08 GB, free: 10.44 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005795/2.686, allocations: 1.227 MB / 1.081 GB, free: 9.164 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.912e-06/2.686, allocations: 0 / 1.081 GB, free: 9.164 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/2.688, allocations: 1.057 MB / 1.082 GB, free: 8.074 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005171/2.689, allocations: 271 kB / 1.082 GB, free: 7.789 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003106/2.689, allocations: 20 kB / 1.082 GB, free: 7.77 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/2.69, allocations: 59.86 kB / 1.082 GB, free: 7.711 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/2.69, allocations: 52.72 kB / 1.082 GB, free: 7.656 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.9e-05/2.691, allocations: 31.97 kB / 1.082 GB, free: 7.625 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001449/2.692, allocations: 0.8932 MB / 1.083 GB, free: 6.73 MB / 0.4949 GB Notification: Performance of sort global known variables: time 8.81e-07/2.692, allocations: 0 / 1.083 GB, free: 6.73 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.004479/2.697, allocations: 1.397 MB / 1.085 GB, free: 5.332 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00357/2.7, allocations: 1.388 MB / 1.086 GB, free: 3.977 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.006108/2.706, allocations: 1.784 MB / 1.088 GB, free: 2.18 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/2.706, allocations: 4 kB / 1.088 GB, free: 2.176 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003326/2.71, allocations: 0.6583 MB / 1.088 GB, free: 1.508 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003412/2.713, allocations: 0.5504 MB / 1.089 GB, free: 0.957 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/2.717, allocations: 1.576 MB / 1.09 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/2.718, allocations: 1.204 MB / 1.092 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003107/2.721, allocations: 0.5562 MB / 1.092 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004056/2.721, allocations: 123.3 kB / 1.092 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of SimCode: time 1.772e-06/2.721, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of Templates: time 0.3873/3.109, allocations: 40.18 MB / 1.131 GB, free: 91.81 MB / 0.5105 GB