Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent") Notification: Performance of loadModel(ModelicaTest): time 2.321/2.321, allocations: 270 MB / 282.7 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.747e-05/3.762e-05, allocations: 4 kB / 347 MB, free: 3.254 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3263, allocations: 61.88 MB / 408.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.777/7.103, allocations: 2.823 GB / 3.223 GB, free: 168.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/7.103, allocations: 83.2 kB / 3.223 GB, free: 168.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 .... Notification: Performance of FrontEnd - DAE generated: time 3.14/10.24, allocations: 0.7563 GB / 3.979 GB, free: 22.21 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.506e-06/10.24, allocations: 4 kB / 3.979 GB, free: 22.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001256/10.24, allocations: 37.86 kB / 3.979 GB, free: 22.17 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.01142/10.26, allocations: 2.717 MB / 3.982 GB, free: 19.42 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/10.26, allocations: 8.031 kB / 3.982 GB, free: 19.41 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006162/10.26, allocations: 0.6004 MB / 3.982 GB, free: 18.81 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00314/10.26, allocations: 1.069 MB / 3.983 GB, free: 17.72 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/10.26, allocations: 93.28 kB / 3.983 GB, free: 17.63 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003557/10.27, allocations: 99.83 kB / 3.983 GB, free: 17.54 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006336/10.27, allocations: 2.246 MB / 3.986 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.887e-05/10.27, allocations: 7.875 kB / 3.986 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/10.27, allocations: 51.83 kB / 3.986 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000122/10.27, allocations: 89.95 kB / 3.986 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006771/10.28, allocations: 2.245 MB / 3.988 GB, free: 12.78 MB / 0.5417 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.01545/10.29, allocations: 9.195 MB / 3.997 GB, free: 3.055 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005171/10.3, allocations: 1.739 MB / 3.999 GB, free: 1.32 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/10.3, allocations: 0.6832 MB / 3.999 GB, free: 0.6367 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4249/10.73, allocations: 24.51 MB / 4.023 GB, free: 51.15 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/10.73, allocations: 43.78 kB / 4.023 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001581/10.73, allocations: 211 kB / 4.023 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=109): time 5.246e-06/10.73, allocations: 0 / 4.023 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of matching and sorting (n=109): time 0.01155/10.74, allocations: 2.603 MB / 4.026 GB, free: 51.05 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/10.74, allocations: 217.1 kB / 4.026 GB, free: 50.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/10.74, allocations: 0.8281 MB / 4.027 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002825/10.74, allocations: 42.45 kB / 4.027 GB, free: 50.61 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/10.74, allocations: 0.5541 MB / 4.028 GB, free: 50.34 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004245/10.74, allocations: 377.3 kB / 4.028 GB, free: 50.16 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/10.74, allocations: 23.81 kB / 4.028 GB, free: 50.16 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001089/10.74, allocations: 365.4 kB / 4.028 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/10.74, allocations: 0.5471 MB / 4.029 GB, free: 49.84 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/10.75, allocations: 0.9118 MB / 4.03 GB, free: 49.45 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/10.75, allocations: 0.666 MB / 4.03 GB, free: 49.43 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/10.75, allocations: 3.625 kB / 4.03 GB, free: 49.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00432/10.75, allocations: 1.759 MB / 4.032 GB, free: 49.34 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007891/10.75, allocations: 3.749 MB / 4.036 GB, free: 45.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/10.75, allocations: 14.66 kB / 4.036 GB, free: 45.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03628/10.79, allocations: 2.984 MB / 4.039 GB, free: 45.44 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/10.79, allocations: 277.3 kB / 4.039 GB, free: 45.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003018/10.79, allocations: 1.386 MB / 4.04 GB, free: 44.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/10.79, allocations: 149.3 kB / 4.04 GB, free: 44.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002872/10.8, allocations: 66.25 kB / 4.041 GB, free: 44.91 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/10.8, allocations: 3.844 kB / 4.041 GB, free: 44.91 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004766/10.8, allocations: 1.57 MB / 4.042 GB, free: 44.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/10.8, allocations: 11.06 kB / 4.042 GB, free: 44.87 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/10.8, allocations: 190.3 kB / 4.042 GB, free: 44.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002302/10.8, allocations: 355.2 kB / 4.043 GB, free: 44.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/10.8, allocations: 0.7381 MB / 4.043 GB, free: 44.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/10.81, allocations: 139.9 kB / 4.043 GB, free: 44.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/10.81, allocations: 70.61 kB / 4.044 GB, free: 44.34 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 12 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase,orifice.state_b.phase,orifice.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0004892/10.81, allocations: 192.8 kB / 4.044 GB, free: 44.23 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004235/10.81, allocations: 129.7 kB / 4.044 GB, free: 44.17 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00881/10.82, allocations: 5.484 MB / 4.049 GB, free: 43.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-05/10.82, allocations: 56.59 kB / 4.049 GB, free: 43.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/10.82, allocations: 7.672 kB / 4.049 GB, free: 43.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.069e-05/10.82, allocations: 7.406 kB / 4.049 GB, free: 43.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01236/10.83, allocations: 7.531 MB / 4.057 GB, free: 43.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.828e-05/10.83, allocations: 3.969 kB / 4.057 GB, free: 43.13 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/10.83, allocations: 205.3 kB / 4.057 GB, free: 43.13 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03208/10.86, allocations: 4.283 MB / 4.061 GB, free: 43.04 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000258/10.86, allocations: 29.95 kB / 4.061 GB, free: 43.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003685/10.87, allocations: 2.346 MB / 4.063 GB, free: 42.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.834e-06/10.87, allocations: 5.75 kB / 4.063 GB, free: 42.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006039/10.87, allocations: 3.494 MB / 4.067 GB, free: 41.98 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/10.87, allocations: 0.649 MB / 4.067 GB, free: 41.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004182/10.87, allocations: 25.72 kB / 4.067 GB, free: 41.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/10.88, allocations: 130.7 kB / 4.068 GB, free: 41.72 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002745/10.88, allocations: 106.8 kB / 4.068 GB, free: 41.72 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/10.88, allocations: 43.53 kB / 4.068 GB, free: 41.72 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001848/10.88, allocations: 1.044 MB / 4.069 GB, free: 41.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.2e-07/10.88, allocations: 0 / 4.069 GB, free: 41.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007813/10.89, allocations: 1.955 MB / 4.071 GB, free: 41.49 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse36.phase,$cse36.region,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.009585/10.9, allocations: 2.22 MB / 4.073 GB, free: 41.25 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007201/10.9, allocations: 2.687 MB / 4.075 GB, free: 41.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.725e-06/10.9, allocations: 3.969 kB / 4.075 GB, free: 41.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002824/10.91, allocations: 1.372 MB / 4.077 GB, free: 41.18 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004381/10.91, allocations: 0.6856 MB / 4.077 GB, free: 41.16 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006708/10.92, allocations: 3.422 MB / 4.081 GB, free: 40.39 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/10.92, allocations: 1.623 MB / 4.082 GB, free: 39.66 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006323/10.92, allocations: 120.1 kB / 4.082 GB, free: 39.65 MB / 0.5573 GB Notification: Performance of SimCode: time 1.644e-06/10.92, allocations: 3 kB / 4.082 GB, free: 39.65 MB / 0.5573 GB Notification: Performance of Templates: time 0.08898/11.01, allocations: 57.33 MB / 4.138 GB, free: 36.11 MB / 0.5573 GB