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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") Notification: Performance of loadModel(ModelicaTest): time 2.448/2.448, allocations: 270.1 MB / 283.6 MB, free: 3.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.565e-05/3.583e-05, allocations: 4 kB / 348.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1135, allocations: 61.89 MB / 410.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.076/1.19, allocations: 336 MB / 0.7288 GB, free: 70.97 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/1.19, allocations: 82.33 kB / 0.7288 GB, free: 70.93 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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 trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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.691/2.882, allocations: 340.7 MB / 1.062 GB, free: 76.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.993e-06/2.882, allocations: 0 / 1.062 GB, free: 76.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000122/2.882, allocations: 39.48 kB / 1.062 GB, free: 76.18 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.004411/2.886, allocations: 1.788 MB / 1.063 GB, free: 75.42 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/2.886, allocations: 7.562 kB / 1.063 GB, free: 75.42 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/2.887, allocations: 178.1 kB / 1.063 GB, free: 75.35 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002737/2.89, allocations: 1.066 MB / 1.065 GB, free: 75.07 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.928e-05/2.89, allocations: 77.5 kB / 1.065 GB, free: 75.07 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/2.89, allocations: 96.53 kB / 1.065 GB, free: 75.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002863/2.893, allocations: 1.435 MB / 1.066 GB, free: 74.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.47e-05/2.893, allocations: 5.906 kB / 1.066 GB, free: 74.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/2.893, allocations: 46.84 kB / 1.066 GB, free: 74.77 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.192e-05/2.894, allocations: 57.84 kB / 1.066 GB, free: 74.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002606/2.896, allocations: 1.286 MB / 1.067 GB, free: 74.76 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.009924/2.906, allocations: 6.566 MB / 1.074 GB, free: 71.13 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/2.907, allocations: 0.5252 MB / 1.074 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006572/2.908, allocations: 332.2 kB / 1.075 GB, free: 71.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02115/2.929, allocations: 17.06 MB / 1.091 GB, free: 54.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007585/2.93, allocations: 467.5 kB / 1.092 GB, free: 54.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 4.427e-06/2.93, allocations: 3.719 kB / 1.092 GB, free: 54.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.001698/2.932, allocations: 0.6991 MB / 1.093 GB, free: 54.22 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/2.932, allocations: 0.5405 MB / 1.093 GB, free: 53.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/2.934, allocations: 1.137 MB / 1.094 GB, free: 53.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/2.934, allocations: 35.7 kB / 1.094 GB, free: 53.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005373/2.934, allocations: 0.7132 MB / 1.095 GB, free: 53.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/2.935, allocations: 169.3 kB / 1.095 GB, free: 52.94 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-05/2.935, allocations: 24.41 kB / 1.095 GB, free: 52.94 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.815e-05/2.935, allocations: 353.3 kB / 1.095 GB, free: 52.63 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000762/2.936, allocations: 324 kB / 1.096 GB, free: 52.63 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/2.937, allocations: 0.8466 MB / 1.097 GB, free: 51.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009222/2.938, allocations: 492.2 kB / 1.097 GB, free: 51.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/2.938, allocations: 5.844 kB / 1.097 GB, free: 51.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002892/2.941, allocations: 1.247 MB / 1.098 GB, free: 51.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001106/2.942, allocations: 5.573 MB / 1.104 GB, free: 46.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/2.942, allocations: 21.97 kB / 1.104 GB, free: 46.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.924e-05/2.942, allocations: 23.28 kB / 1.104 GB, free: 46.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002858/2.945, allocations: 382.3 kB / 1.104 GB, free: 46.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007571/2.945, allocations: 1.275 MB / 1.105 GB, free: 44.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/2.947, allocations: 188.8 kB / 1.105 GB, free: 44.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001938/2.948, allocations: 71.84 kB / 1.106 GB, free: 44.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/2.948, allocations: 3.875 kB / 1.106 GB, free: 44.79 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002454/2.95, allocations: 1.049 MB / 1.107 GB, free: 44.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/2.95, allocations: 15.44 kB / 1.107 GB, free: 44.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/2.95, allocations: 22.69 kB / 1.107 GB, free: 44.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/2.952, allocations: 284.3 kB / 1.107 GB, free: 44.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003132/2.952, allocations: 0.6276 MB / 1.108 GB, free: 44.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/2.954, allocations: 153 kB / 1.108 GB, free: 44.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/2.954, allocations: 67.23 kB / 1.108 GB, free: 44.09 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.0003767/2.954, allocations: 215.4 kB / 1.108 GB, free: 43.95 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/2.955, allocations: 144.5 kB / 1.108 GB, free: 43.88 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/2.958, allocations: 1.379 MB / 1.109 GB, free: 43.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/2.958, allocations: 14.64 kB / 1.109 GB, free: 43.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/2.958, allocations: 0 / 1.109 GB, free: 43.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/2.958, allocations: 3.891 kB / 1.109 GB, free: 43.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004281/2.962, allocations: 2.144 MB / 1.112 GB, free: 43.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.995e-06/2.962, allocations: 8.703 kB / 1.112 GB, free: 43.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002061/2.964, allocations: 258.6 kB / 1.112 GB, free: 43.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/2.964, allocations: 3.969 kB / 1.112 GB, free: 43.33 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.266e-05/2.964, allocations: 29.5 kB / 1.112 GB, free: 43.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005392/2.965, allocations: 1.233 MB / 1.113 GB, free: 42.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.71e-06/2.965, allocations: 2.562 kB / 1.113 GB, free: 42.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/2.967, allocations: 1.045 MB / 1.114 GB, free: 41.87 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/2.967, allocations: 271 kB / 1.114 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002833/2.968, allocations: 21.64 kB / 1.114 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009641/2.969, allocations: 59.11 kB / 1.114 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/2.969, allocations: 55.14 kB / 1.114 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.521e-05/2.969, allocations: 32.58 kB / 1.114 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001552/2.971, allocations: 0.889 MB / 1.115 GB, free: 41.56 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.96e-07/2.971, allocations: 0 / 1.115 GB, free: 41.56 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004824/2.975, allocations: 1.41 MB / 1.117 GB, free: 41.27 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.003629/2.979, allocations: 1.354 MB / 1.118 GB, free: 40.88 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005557/2.985, allocations: 1.782 MB / 1.12 GB, free: 40.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/2.985, allocations: 0 / 1.12 GB, free: 40.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003789/2.988, allocations: 0.6608 MB / 1.12 GB, free: 40.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003789/2.992, allocations: 0.5533 MB / 1.121 GB, free: 40.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/2.996, allocations: 1.571 MB / 1.122 GB, free: 40.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007305/2.997, allocations: 1.208 MB / 1.124 GB, free: 39.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00316/3, allocations: 0.546 MB / 1.124 GB, free: 39.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003847/3, allocations: 119.7 kB / 1.124 GB, free: 39.47 MB / 0.5261 GB Notification: Performance of SimCode: time 1.729e-06/3, allocations: 0 / 1.124 GB, free: 39.47 MB / 0.5261 GB Notification: Performance of Templates: time 0.08144/3.082, allocations: 39.42 MB / 1.163 GB, free: 37.05 MB / 0.5261 GB