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.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") Notification: Performance of loadModel(ModelicaTest): time 2.257/2.257, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.413e-05, allocations: 7.984 kB / 304.9 MB, free: 5.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3228, allocations: 54.84 MB / 359.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6861/1.009, allocations: 329.8 MB / 0.6734 GB, free: 5.602 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/1.009, allocations: 82.39 kB / 0.6735 GB, free: 5.559 MB / 458.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:327:3-329: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.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:327:3-329: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.758/2.767, allocations: 332.3 MB / 0.998 GB, free: 59.78 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.587e-06/2.768, allocations: 0 / 0.998 GB, free: 59.78 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001087/2.768, allocations: 43.92 kB / 0.998 GB, free: 59.74 MB / 474.7 MB 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.004234/2.772, allocations: 1.783 MB / 0.9997 GB, free: 57.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/2.772, allocations: 8.031 kB / 0.9997 GB, free: 57.89 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/2.773, allocations: 186 kB / 0.9999 GB, free: 57.71 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002893/2.776, allocations: 1.113 MB / 1.001 GB, free: 56.55 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.028e-05/2.776, allocations: 70 kB / 1.001 GB, free: 56.48 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/2.776, allocations: 99.98 kB / 1.001 GB, free: 56.39 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/2.779, allocations: 1.427 MB / 1.003 GB, free: 54.86 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/2.779, allocations: 7.938 kB / 1.003 GB, free: 54.85 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/2.779, allocations: 47.98 kB / 1.003 GB, free: 54.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.148e-05/2.779, allocations: 57.92 kB / 1.003 GB, free: 54.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/2.782, allocations: 1.269 MB / 1.004 GB, free: 53.48 MB / 474.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.00901/2.791, allocations: 6.68 MB / 1.01 GB, free: 46.39 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009184/2.792, allocations: 491.2 kB / 1.011 GB, free: 45.91 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005091/2.792, allocations: 298.5 kB / 1.011 GB, free: 45.61 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02039/2.812, allocations: 17.19 MB / 1.028 GB, free: 25.21 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00048/2.813, allocations: 286.4 kB / 1.028 GB, free: 24.91 MB / 474.7 MB Notification: Performance of pre-optimization done (n=42): time 3.612e-06/2.813, allocations: 0 / 1.028 GB, free: 24.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=42): time 0.001257/2.814, allocations: 0.5214 MB / 1.029 GB, free: 24.38 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/2.814, allocations: 265 kB / 1.029 GB, free: 24.06 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/2.816, allocations: 1.002 MB / 1.03 GB, free: 23.05 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.511e-05/2.816, allocations: 33.7 kB / 1.03 GB, free: 23.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005113/2.817, allocations: 0.7844 MB / 1.031 GB, free: 22.21 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/2.817, allocations: 154 kB / 1.031 GB, free: 22.06 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/2.817, allocations: 24 kB / 1.031 GB, free: 22.04 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.191e-05/2.817, allocations: 357.9 kB / 1.031 GB, free: 21.68 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/2.817, allocations: 262.6 kB / 1.032 GB, free: 21.43 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008205/2.818, allocations: 0.9394 MB / 1.032 GB, free: 20.14 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007868/2.819, allocations: 470.7 kB / 1.033 GB, free: 19.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/2.819, allocations: 8 kB / 1.033 GB, free: 19.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002614/2.822, allocations: 1.22 MB / 1.034 GB, free: 18.44 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001736/2.823, allocations: 9.1 MB / 1.043 GB, free: 8.625 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.735e-05/2.824, allocations: 24 kB / 1.043 GB, free: 8.602 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.978e-05/2.824, allocations: 36 kB / 1.043 GB, free: 8.566 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/2.826, allocations: 423.3 kB / 1.043 GB, free: 8.152 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006859/2.827, allocations: 1.281 MB / 1.045 GB, free: 6.824 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/2.829, allocations: 190.4 kB / 1.045 GB, free: 6.637 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/2.829, allocations: 83.97 kB / 1.045 GB, free: 6.555 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/2.829, allocations: 5.406 kB / 1.045 GB, free: 6.551 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002116/2.831, allocations: 1.048 MB / 1.046 GB, free: 5.496 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/2.831, allocations: 28.94 kB / 1.046 GB, free: 5.469 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.588e-05/2.831, allocations: 36 kB / 1.046 GB, free: 5.434 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/2.832, allocations: 319.5 kB / 1.046 GB, free: 5.121 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003085/2.833, allocations: 0.6328 MB / 1.047 GB, free: 4.465 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/2.834, allocations: 143.1 kB / 1.047 GB, free: 4.324 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/2.834, allocations: 75.98 kB / 1.047 GB, free: 4.25 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * 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 (148): * Single equations (assignments): 145 * 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.0003321/2.835, allocations: 235.7 kB / 1.047 GB, free: 4.008 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/2.835, allocations: 126.5 kB / 1.048 GB, free: 3.883 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003158/2.838, allocations: 1.2 MB / 1.049 GB, free: 2.668 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/2.838, allocations: 11.98 kB / 1.049 GB, free: 2.656 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.195e-06/2.838, allocations: 0 / 1.049 GB, free: 2.656 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/2.838, allocations: 3.984 kB / 1.049 GB, free: 2.652 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00363/2.842, allocations: 1.77 MB / 1.05 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.519e-06/2.842, allocations: 7.953 kB / 1.05 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002301/2.844, allocations: 247 kB / 1.051 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/2.844, allocations: 0 / 1.051 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/2.844, allocations: 23.98 kB / 1.051 GB, free: 0.543 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008363/2.845, allocations: 1.234 MB / 1.052 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.979e-06/2.845, allocations: 0 / 1.052 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/2.847, allocations: 0.8237 MB / 1.053 GB, free: 14.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005508/2.848, allocations: 251.1 kB / 1.053 GB, free: 14.13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/2.848, allocations: 19.95 kB / 1.053 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007668/2.849, allocations: 47.81 kB / 1.053 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/2.849, allocations: 48.5 kB / 1.053 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.235e-05/2.849, allocations: 23.98 kB / 1.053 GB, free: 14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001605/2.851, allocations: 0.7781 MB / 1.054 GB, free: 13.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.88e-07/2.851, allocations: 0 / 1.054 GB, free: 13.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005573/2.856, allocations: 1.353 MB / 1.055 GB, free: 11.86 MB / 490.7 MB 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 (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.004449/2.861, allocations: 1.325 MB / 1.056 GB, free: 10.56 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005897/2.867, allocations: 1.659 MB / 1.058 GB, free: 8.879 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.668e-06/2.867, allocations: 0 / 1.058 GB, free: 8.879 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003244/2.87, allocations: 0.5607 MB / 1.059 GB, free: 8.305 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/2.873, allocations: 402.8 kB / 1.059 GB, free: 7.914 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005266/2.878, allocations: 1.989 MB / 1.061 GB, free: 5.918 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/2.879, allocations: 1.199 MB / 1.062 GB, free: 4.688 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002972/2.882, allocations: 0.5131 MB / 1.063 GB, free: 4.176 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/2.883, allocations: 115.3 kB / 1.063 GB, free: 4.062 MB / 490.7 MB Notification: Performance of SimCode: time 1.747e-06/2.883, allocations: 0 / 1.063 GB, free: 4.062 MB / 490.7 MB Notification: Performance of Templates: time 0.3669/3.249, allocations: 32.97 MB / 1.095 GB, free: 79.72 MB / 490.7 MB