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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") Notification: Performance of loadModel(ModelicaTest): time 2.345/2.345, allocations: 270 MB / 283.6 MB, free: 3.035 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.242e-05/3.263e-05, allocations: 0 / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1119, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9845/1.096, allocations: 336 MB / 0.7287 GB, free: 71.12 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/1.097, allocations: 87.38 kB / 0.7288 GB, free: 71.07 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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.739/2.836, allocations: 340.7 MB / 1.062 GB, free: 76.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.428e-06/2.836, allocations: 0 / 1.062 GB, free: 76.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001348/2.836, allocations: 37.33 kB / 1.062 GB, free: 76.3 MB / 0.5261 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.005089/2.841, allocations: 1.798 MB / 1.063 GB, free: 75.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/2.842, allocations: 11.78 kB / 1.063 GB, free: 75.54 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/2.843, allocations: 182.8 kB / 1.063 GB, free: 75.47 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003269/2.846, allocations: 1.05 MB / 1.065 GB, free: 75.19 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/2.846, allocations: 81.84 kB / 1.065 GB, free: 75.19 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000275/2.846, allocations: 93.09 kB / 1.065 GB, free: 75.19 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003157/2.85, allocations: 1.445 MB / 1.066 GB, free: 74.89 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.628e-05/2.85, allocations: 6.844 kB / 1.066 GB, free: 74.89 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002149/2.85, allocations: 43.02 kB / 1.066 GB, free: 74.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.852e-05/2.85, allocations: 54.05 kB / 1.066 GB, free: 74.88 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002648/2.853, allocations: 1.286 MB / 1.067 GB, free: 74.88 MB / 0.5261 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.01118/2.864, allocations: 6.567 MB / 1.074 GB, free: 71.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/2.865, allocations: 0.5273 MB / 1.074 GB, free: 71.23 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000714/2.866, allocations: 337 kB / 1.075 GB, free: 71.22 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0228/2.889, allocations: 17.05 MB / 1.091 GB, free: 54.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007677/2.89, allocations: 471 kB / 1.092 GB, free: 54.49 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 3.72e-06/2.89, allocations: 0 / 1.092 GB, free: 54.49 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.001823/2.891, allocations: 0.6949 MB / 1.092 GB, free: 54.35 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/2.892, allocations: 0.546 MB / 1.093 GB, free: 53.69 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002089/2.894, allocations: 1.134 MB / 1.094 GB, free: 53.52 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001671/2.894, allocations: 35.98 kB / 1.094 GB, free: 53.48 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005736/2.894, allocations: 0.7102 MB / 1.095 GB, free: 53.17 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/2.895, allocations: 176.2 kB / 1.095 GB, free: 53.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.798e-05/2.895, allocations: 23.16 kB / 1.095 GB, free: 53.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.102e-05/2.895, allocations: 351.8 kB / 1.095 GB, free: 52.76 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000727/2.896, allocations: 321.8 kB / 1.096 GB, free: 52.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/2.897, allocations: 0.8517 MB / 1.097 GB, free: 52.11 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/2.898, allocations: 488.4 kB / 1.097 GB, free: 52.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.741e-05/2.898, allocations: 6.156 kB / 1.097 GB, free: 52.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003151/2.901, allocations: 1.25 MB / 1.098 GB, free: 51.92 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001119/2.902, allocations: 5.572 MB / 1.104 GB, free: 46.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/2.902, allocations: 14.69 kB / 1.104 GB, free: 46.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.112e-05/2.902, allocations: 27.08 kB / 1.104 GB, free: 46.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002899/2.905, allocations: 388.5 kB / 1.104 GB, free: 46.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007469/2.906, allocations: 1.272 MB / 1.105 GB, free: 44.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/2.908, allocations: 188.4 kB / 1.105 GB, free: 44.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002335/2.908, allocations: 73.86 kB / 1.106 GB, free: 44.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/2.908, allocations: 3.969 kB / 1.106 GB, free: 44.91 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002489/2.911, allocations: 1.053 MB / 1.107 GB, free: 44.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/2.911, allocations: 17 kB / 1.107 GB, free: 44.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/2.911, allocations: 21.09 kB / 1.107 GB, free: 44.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/2.912, allocations: 279.9 kB / 1.107 GB, free: 44.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003172/2.913, allocations: 0.6261 MB / 1.107 GB, free: 44.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/2.914, allocations: 153.6 kB / 1.108 GB, free: 44.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001944/2.914, allocations: 67.59 kB / 1.108 GB, free: 44.21 MB / 0.5261 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.0004258/2.915, allocations: 208.4 kB / 1.108 GB, free: 44.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004263/2.915, allocations: 143.8 kB / 1.108 GB, free: 44 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00328/2.919, allocations: 1.382 MB / 1.109 GB, free: 43.85 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/2.919, allocations: 13.97 kB / 1.109 GB, free: 43.85 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.98e-06/2.919, allocations: 6.938 kB / 1.109 GB, free: 43.85 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/2.919, allocations: 3.844 kB / 1.109 GB, free: 43.85 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004277/2.923, allocations: 2.149 MB / 1.112 GB, free: 43.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.957e-06/2.923, allocations: 3.953 kB / 1.112 GB, free: 43.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002353/2.925, allocations: 262.5 kB / 1.112 GB, free: 43.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.281e-05/2.925, allocations: 3.875 kB / 1.112 GB, free: 43.46 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.302e-05/2.926, allocations: 25.56 kB / 1.112 GB, free: 43.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005567/2.926, allocations: 1.232 MB / 1.113 GB, free: 42.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/2.926, allocations: 0 / 1.113 GB, free: 42.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/2.928, allocations: 1.052 MB / 1.114 GB, free: 41.99 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005754/2.929, allocations: 259.6 kB / 1.114 GB, free: 41.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003265/2.929, allocations: 28.88 kB / 1.114 GB, free: 41.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/2.93, allocations: 55.86 kB / 1.114 GB, free: 41.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/2.93, allocations: 54.36 kB / 1.114 GB, free: 41.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.382e-05/2.93, allocations: 28.56 kB / 1.114 GB, free: 41.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00158/2.932, allocations: 0.8887 MB / 1.115 GB, free: 41.69 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.83e-07/2.932, allocations: 1.938 kB / 1.115 GB, free: 41.69 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004921/2.937, allocations: 1.404 MB / 1.117 GB, free: 41.4 MB / 0.5261 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.004157/2.941, allocations: 1.366 MB / 1.118 GB, free: 41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00573/2.947, allocations: 1.787 MB / 1.12 GB, free: 40.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.429e-06/2.947, allocations: 0 / 1.12 GB, free: 40.85 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003275/2.95, allocations: 0.6559 MB / 1.12 GB, free: 40.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003608/2.954, allocations: 0.5396 MB / 1.121 GB, free: 40.78 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003452/2.957, allocations: 1.577 MB / 1.122 GB, free: 40.33 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007177/2.958, allocations: 1.208 MB / 1.124 GB, free: 39.62 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002892/2.961, allocations: 0.5544 MB / 1.124 GB, free: 39.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003608/2.961, allocations: 119.6 kB / 1.124 GB, free: 39.59 MB / 0.5261 GB Notification: Performance of SimCode: time 2.106e-06/2.961, allocations: 0 / 1.124 GB, free: 39.59 MB / 0.5261 GB Notification: Performance of Templates: time 0.08168/3.043, allocations: 39.41 MB / 1.163 GB, free: 37.18 MB / 0.5261 GB