Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|eps_m_flow_turbulent|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|orifice.port_b.m_flow|orifice.port_b.p|orifice.port_b.h_outflow|sink.ports.1..m_flow|sink.ports.1..p|sink.ports.1..h_outflow|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|p_set.y|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|sink2.ports.1..m_flow|sink2.ports.1..p|sink2.ports.1..h_outflow",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent") Notification: Performance of loadModel(ModelicaTest): time 1.913/1.913, allocations: 209.3 MB / 221.5 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.886e-05/2.912e-05, allocations: 0 / 273.1 MB, free: 3.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09008/0.09013, allocations: 48.7 MB / 321.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.254/6.344, allocations: 2.538 GB / 2.852 GB, free: 96.15 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/6.344, allocations: 78.83 kB / 2.852 GB, free: 96.11 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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 3.172/9.516, allocations: 0.7242 GB / 3.577 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.266e-06/9.516, allocations: 0 / 3.577 GB, free: 32.01 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001458/9.516, allocations: 40.16 kB / 3.577 GB, free: 32 MB / 458.7 MB 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.01158/9.528, allocations: 2.61 MB / 3.579 GB, free: 30.53 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/9.528, allocations: 7.219 kB / 3.579 GB, free: 30.53 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006096/9.534, allocations: 0.5808 MB / 3.58 GB, free: 30.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003435/9.537, allocations: 1.097 MB / 3.581 GB, free: 29.8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/9.538, allocations: 93.25 kB / 3.581 GB, free: 29.75 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004169/9.538, allocations: 106.1 kB / 3.581 GB, free: 29.72 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007592/9.546, allocations: 2.239 MB / 3.583 GB, free: 28.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.344e-05/9.546, allocations: 3.938 kB / 3.583 GB, free: 28.74 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002649/9.546, allocations: 54.77 kB / 3.583 GB, free: 28.71 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/9.546, allocations: 82.72 kB / 3.583 GB, free: 28.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007853/9.554, allocations: 2.238 MB / 3.586 GB, free: 27.82 MB / 458.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.01539/9.569, allocations: 8.923 MB / 3.594 GB, free: 19.46 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005089/9.575, allocations: 1.646 MB / 3.596 GB, free: 18.05 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/9.576, allocations: 0.6422 MB / 3.597 GB, free: 17.46 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03891/9.615, allocations: 18.81 MB / 3.615 GB, free: 12.65 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.661e-05/9.615, allocations: 51.55 kB / 3.615 GB, free: 12.59 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001481/9.617, allocations: 198.8 kB / 3.615 GB, free: 12.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=109): time 5.438e-06/9.617, allocations: 0 / 3.615 GB, free: 12.4 MB / 474.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pump.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=159): time 0.07895/9.696, allocations: 11.91 MB / 3.627 GB, free: 416 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/9.696, allocations: 226.9 kB / 3.627 GB, free: 140 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3063/10, allocations: 0.7328 MB / 3.628 GB, free: 50.59 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004839/10, allocations: 53.27 kB / 3.628 GB, free: 50.55 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005179/10, allocations: 0.5913 MB / 3.628 GB, free: 50.47 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007803/10, allocations: 0.5335 MB / 3.629 GB, free: 50.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002936/10, allocations: 34.16 kB / 3.629 GB, free: 50.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/10, allocations: 372.8 kB / 3.629 GB, free: 49.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003124/10.01, allocations: 1.246 MB / 3.63 GB, free: 49.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00375/10.01, allocations: 1.685 MB / 3.632 GB, free: 49.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003929/10.02, allocations: 1.371 MB / 3.633 GB, free: 49.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-05/10.02, allocations: 6.812 kB / 3.633 GB, free: 49.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01194/10.03, allocations: 4.066 MB / 3.637 GB, free: 49.26 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00098/10.03, allocations: 4.794 MB / 3.642 GB, free: 44.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-05/10.03, allocations: 13.19 kB / 3.642 GB, free: 44.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09671/10.13, allocations: 7.951 MB / 3.65 GB, free: 44.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0024/10.13, allocations: 375.8 kB / 3.65 GB, free: 44.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/10.14, allocations: 4.646 MB / 3.655 GB, free: 43.19 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004729/10.15, allocations: 245.3 kB / 3.655 GB, free: 43.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007144/10.15, allocations: 129.4 kB / 3.655 GB, free: 43.19 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/10.15, allocations: 4.531 kB / 3.655 GB, free: 43.19 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01176/10.16, allocations: 3.859 MB / 3.659 GB, free: 43.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.76e-05/10.16, allocations: 13.19 kB / 3.659 GB, free: 43.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00956/10.17, allocations: 2.636 MB / 3.662 GB, free: 43.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002864/10.17, allocations: 448.2 kB / 3.662 GB, free: 43.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/10.18, allocations: 4.068 MB / 3.666 GB, free: 42.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004628/10.19, allocations: 244.6 kB / 3.666 GB, free: 42.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006767/10.19, allocations: 130.9 kB / 3.666 GB, free: 42.07 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (166): * Single equations (assignments): 164 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 22,5 25} Notification: Performance of prepare postOptimizeDAE: time 0.0007889/10.19, allocations: 212.3 kB / 3.666 GB, free: 41.95 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005607/10.19, allocations: 144.1 kB / 3.667 GB, free: 41.88 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02231/10.21, allocations: 8.915 MB / 3.675 GB, free: 41.41 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.674e-05/10.21, allocations: 63.11 kB / 3.675 GB, free: 41.41 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/10.21, allocations: 3.656 kB / 3.675 GB, free: 41.41 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.476e-05/10.21, allocations: 10.64 kB / 3.675 GB, free: 41.41 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0261/10.24, allocations: 11.87 MB / 3.687 GB, free: 40.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.013e-05/10.24, allocations: 3.781 kB / 3.687 GB, free: 40.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/10.24, allocations: 269.3 kB / 3.687 GB, free: 40.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08993/10.33, allocations: 8.877 MB / 3.696 GB, free: 40.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000489/10.33, allocations: 66 kB / 3.696 GB, free: 40.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01349/10.34, allocations: 5.511 MB / 3.701 GB, free: 39.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.429e-06/10.34, allocations: 3.906 kB / 3.701 GB, free: 39.41 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01909/10.36, allocations: 6.749 MB / 3.708 GB, free: 38.71 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001859/10.36, allocations: 0.6929 MB / 3.709 GB, free: 38.44 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006041/10.36, allocations: 38.05 kB / 3.709 GB, free: 38.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003559/10.37, allocations: 225.7 kB / 3.709 GB, free: 38.43 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000507/10.37, allocations: 133.3 kB / 3.709 GB, free: 38.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000326/10.37, allocations: 79.95 kB / 3.709 GB, free: 38.43 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001337/10.37, allocations: 0.7411 MB / 3.71 GB, free: 38.31 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.48e-07/10.37, allocations: 0 / 3.71 GB, free: 38.31 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009024/10.38, allocations: 2.243 MB / 3.712 GB, free: 38.22 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.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 (120): * Single equations (assignments): 106 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 22,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01096/10.39, allocations: 2.413 MB / 3.714 GB, free: 37.95 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02117/10.41, allocations: 5.967 MB / 3.72 GB, free: 37.87 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/10.41, allocations: 0 / 3.72 GB, free: 37.87 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009522/10.42, allocations: 2.81 MB / 3.723 GB, free: 37.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003926/10.43, allocations: 0.5877 MB / 3.724 GB, free: 37.12 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5802/11.01, allocations: 123.9 MB / 3.845 GB, free: 59.76 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/11.01, allocations: 1.651 MB / 3.846 GB, free: 59.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004601/11.01, allocations: 1.511 MB / 3.848 GB, free: 59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006358/11.01, allocations: 123.7 kB / 3.848 GB, free: 58.99 MB / 490.7 MB Notification: Performance of SimCode: time 2.701e-06/11.01, allocations: 2.875 kB / 3.848 GB, free: 58.99 MB / 490.7 MB Notification: Performance of Templates: time 0.185/11.2, allocations: 106.4 MB / 3.952 GB, free: 22 MB / 490.7 MB