Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") Notification: Performance of loadModel(ModelicaTest): time 2.368/2.368, allocations: 270 MB / 282.7 MB, free: 1.766 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.336e-05/3.349e-05, allocations: 7.938 kB / 347 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3238, allocations: 61.88 MB / 408.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9991/1.323, allocations: 336 MB / 0.7274 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/1.323, allocations: 80.7 kB / 0.7274 GB, free: 141.5 MB / 0.5261 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.328/2.651, allocations: 340.7 MB / 1.06 GB, free: 66.31 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.802e-06/2.651, allocations: 0 / 1.06 GB, free: 66.31 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001074/2.651, allocations: 32 kB / 1.06 GB, free: 66.28 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.004432/2.655, allocations: 1.788 MB / 1.062 GB, free: 64.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/2.655, allocations: 8.031 kB / 1.062 GB, free: 64.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/2.657, allocations: 184.7 kB / 1.062 GB, free: 64.25 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/2.659, allocations: 1.054 MB / 1.063 GB, free: 63.15 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.006e-05/2.659, allocations: 73.98 kB / 1.063 GB, free: 63.08 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/2.66, allocations: 96 kB / 1.063 GB, free: 62.98 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/2.662, allocations: 1.44 MB / 1.065 GB, free: 61.44 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/2.662, allocations: 7.938 kB / 1.065 GB, free: 61.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/2.663, allocations: 51.98 kB / 1.065 GB, free: 61.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.178e-05/2.663, allocations: 53.98 kB / 1.065 GB, free: 61.33 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/2.665, allocations: 1.284 MB / 1.066 GB, free: 60.04 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.009314/2.674, allocations: 6.563 MB / 1.072 GB, free: 53.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/2.675, allocations: 0.5115 MB / 1.073 GB, free: 52.58 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005874/2.676, allocations: 338.5 kB / 1.073 GB, free: 52.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01908/2.695, allocations: 17.06 MB / 1.09 GB, free: 31.97 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007618/2.696, allocations: 470.1 kB / 1.09 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=49): time 4.135e-06/2.696, allocations: 0 / 1.09 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.001795/2.698, allocations: 0.7044 MB / 1.091 GB, free: 30.74 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/2.698, allocations: 0.5465 MB / 1.092 GB, free: 30.06 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/2.7, allocations: 1.137 MB / 1.093 GB, free: 28.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001599/2.7, allocations: 41.7 kB / 1.093 GB, free: 28.87 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004734/2.701, allocations: 0.6868 MB / 1.093 GB, free: 28.18 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/2.701, allocations: 169.7 kB / 1.094 GB, free: 28.01 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.098e-05/2.701, allocations: 24 kB / 1.094 GB, free: 27.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.078e-05/2.701, allocations: 350.8 kB / 1.094 GB, free: 27.63 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007122/2.702, allocations: 322.5 kB / 1.094 GB, free: 27.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009985/2.703, allocations: 0.8511 MB / 1.095 GB, free: 26.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008872/2.704, allocations: 498.4 kB / 1.096 GB, free: 25.72 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/2.704, allocations: 4 kB / 1.096 GB, free: 25.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002558/2.706, allocations: 1.153 MB / 1.097 GB, free: 24.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001053/2.707, allocations: 5.537 MB / 1.102 GB, free: 18.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/2.707, allocations: 12 kB / 1.102 GB, free: 18.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.008e-05/2.707, allocations: 24 kB / 1.102 GB, free: 18.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0028/2.71, allocations: 387.5 kB / 1.103 GB, free: 18.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007509/2.711, allocations: 1.273 MB / 1.104 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/2.713, allocations: 194.5 kB / 1.104 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002378/2.713, allocations: 67.97 kB / 1.104 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/2.713, allocations: 5.875 kB / 1.104 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002491/2.716, allocations: 1.05 MB / 1.105 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/2.716, allocations: 12 kB / 1.105 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/2.716, allocations: 27.95 kB / 1.105 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/2.717, allocations: 283.6 kB / 1.105 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002937/2.718, allocations: 0.6172 MB / 1.106 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/2.719, allocations: 131.2 kB / 1.106 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/2.719, allocations: 63.97 kB / 1.106 GB, free: 14.38 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.000373/2.72, allocations: 210.2 kB / 1.106 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003791/2.72, allocations: 146.4 kB / 1.106 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003252/2.723, allocations: 1.383 MB / 1.108 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/2.723, allocations: 16 kB / 1.108 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/2.723, allocations: 0 / 1.108 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/2.723, allocations: 3.984 kB / 1.108 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004351/2.728, allocations: 2.151 MB / 1.11 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-06/2.728, allocations: 4 kB / 1.11 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002396/2.73, allocations: 259.7 kB / 1.11 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/2.73, allocations: 0 / 1.11 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-05/2.73, allocations: 31.92 kB / 1.11 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005758/2.731, allocations: 1.234 MB / 1.111 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.917e-06/2.731, allocations: 4.031 kB / 1.111 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/2.733, allocations: 1.037 MB / 1.112 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005665/2.734, allocations: 270.9 kB / 1.113 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003381/2.734, allocations: 27.98 kB / 1.113 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/2.735, allocations: 59.95 kB / 1.113 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/2.735, allocations: 52.66 kB / 1.113 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.842e-05/2.735, allocations: 31.98 kB / 1.113 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001504/2.737, allocations: 0.8855 MB / 1.114 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.47e-07/2.737, allocations: 0 / 1.114 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004747/2.742, allocations: 1.404 MB / 1.115 GB, free: 4.977 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.003839/2.746, allocations: 1.362 MB / 1.116 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006051/2.752, allocations: 1.741 MB / 1.118 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.563e-06/2.752, allocations: 4 kB / 1.118 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003802/2.755, allocations: 0.6547 MB / 1.119 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/2.759, allocations: 0.5554 MB / 1.119 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3238/3.083, allocations: 1.598 MB / 1.121 GB, free: 85.71 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/3.084, allocations: 1.2 MB / 1.122 GB, free: 85 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000774/3.085, allocations: 146.5 kB / 1.122 GB, free: 85 MB / 0.5261 GB Notification: Performance of SimCode: time 2.163e-06/3.085, allocations: 0.625 kB / 1.122 GB, free: 85 MB / 0.5261 GB Notification: Performance of Templates: time 0.06246/3.147, allocations: 41.39 MB / 1.163 GB, free: 83.07 MB / 0.5261 GB