Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,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_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar") Notification: Performance of loadModel(ModelicaTest): time 2.371/2.371, allocations: 270.1 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.393e-05/4.415e-05, allocations: 19.86 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 61.88 MB / 410.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.829/6.946, allocations: 2.823 GB / 3.224 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/6.946, allocations: 77.58 kB / 3.224 GB, free: 107.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.504/10.45, allocations: 0.7562 GB / 3.98 GB, free: 45.27 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.242e-06/10.45, allocations: 0 / 3.98 GB, free: 45.27 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001425/10.45, allocations: 40.81 kB / 3.98 GB, free: 45.27 MB / 0.5573 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.01205/10.46, allocations: 2.713 MB / 3.983 GB, free: 44.27 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/10.46, allocations: 9.406 kB / 3.983 GB, free: 44.27 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006352/10.47, allocations: 0.6046 MB / 3.984 GB, free: 44.18 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003369/10.47, allocations: 1.068 MB / 3.985 GB, free: 43.87 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/10.47, allocations: 89.88 kB / 3.985 GB, free: 43.86 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003464/10.47, allocations: 106.7 kB / 3.985 GB, free: 43.86 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006967/10.48, allocations: 2.24 MB / 3.987 GB, free: 43.52 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.053e-05/10.48, allocations: 8 kB / 3.987 GB, free: 43.52 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002755/10.48, allocations: 53.78 kB / 3.987 GB, free: 43.52 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001439/10.48, allocations: 83.72 kB / 3.987 GB, free: 43.52 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007353/10.49, allocations: 2.248 MB / 3.989 GB, free: 43.51 MB / 0.5573 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.01634/10.5, allocations: 9.201 MB / 3.998 GB, free: 38.48 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005558/10.51, allocations: 1.737 MB / 4 GB, free: 38.45 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/10.51, allocations: 0.6782 MB / 4.001 GB, free: 38.45 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05351/10.56, allocations: 24.52 MB / 4.025 GB, free: 23.52 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/10.56, allocations: 49.69 kB / 4.025 GB, free: 23.48 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001642/10.57, allocations: 217.9 kB / 4.025 GB, free: 23.41 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=109): time 4.574e-06/10.57, allocations: 0 / 4.025 GB, free: 23.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=109): time 0.01093/10.58, allocations: 2.602 MB / 4.027 GB, free: 23.28 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/10.58, allocations: 224 kB / 4.028 GB, free: 23.03 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/10.58, allocations: 0.8197 MB / 4.028 GB, free: 22.87 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002812/10.58, allocations: 46.83 kB / 4.028 GB, free: 22.84 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00043/10.58, allocations: 0.5662 MB / 4.029 GB, free: 22.59 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000406/10.58, allocations: 374.6 kB / 4.029 GB, free: 22.35 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/10.58, allocations: 28 kB / 4.029 GB, free: 22.35 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001028/10.58, allocations: 357.4 kB / 4.03 GB, free: 22.05 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/10.58, allocations: 0.5509 MB / 4.03 GB, free: 22.04 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/10.58, allocations: 0.8997 MB / 4.031 GB, free: 21.65 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/10.58, allocations: 0.6727 MB / 4.032 GB, free: 21.64 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/10.58, allocations: 0 / 4.032 GB, free: 21.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00436/10.59, allocations: 1.838 MB / 4.034 GB, free: 21.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001521/10.59, allocations: 3.744 MB / 4.037 GB, free: 33.61 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/10.59, allocations: 11.06 kB / 4.037 GB, free: 33.61 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03302/10.62, allocations: 2.974 MB / 4.04 GB, free: 33.61 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/10.63, allocations: 276.7 kB / 4.04 GB, free: 33.61 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003348/10.63, allocations: 1.404 MB / 4.042 GB, free: 33.06 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/10.63, allocations: 144.9 kB / 4.042 GB, free: 33.05 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000206/10.63, allocations: 67.28 kB / 4.042 GB, free: 33.05 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/10.63, allocations: 5.375 kB / 4.042 GB, free: 33.05 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004461/10.64, allocations: 1.567 MB / 4.044 GB, free: 33.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/10.64, allocations: 10.97 kB / 4.044 GB, free: 33.02 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009764/10.64, allocations: 185.6 kB / 4.044 GB, free: 33.01 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/10.64, allocations: 350.6 kB / 4.044 GB, free: 33.01 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/10.64, allocations: 0.7447 MB / 4.045 GB, free: 32.49 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/10.64, allocations: 138.7 kB / 4.045 GB, free: 32.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/10.64, allocations: 65.48 kB / 4.045 GB, free: 32.48 MB / 0.573 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.0005169/10.64, allocations: 191.8 kB / 4.045 GB, free: 32.37 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003075/10.64, allocations: 138.1 kB / 4.045 GB, free: 32.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008599/10.65, allocations: 5.49 MB / 4.051 GB, free: 31.73 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.531e-05/10.65, allocations: 61.39 kB / 4.051 GB, free: 31.73 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.635e-06/10.65, allocations: 0 / 4.051 GB, free: 31.73 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-05/10.65, allocations: 10.47 kB / 4.051 GB, free: 31.73 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/10.66, allocations: 7.531 MB / 4.058 GB, free: 31.09 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/10.66, allocations: 3.938 kB / 4.058 GB, free: 31.09 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/10.67, allocations: 210.9 kB / 4.058 GB, free: 31.09 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03344/10.7, allocations: 4.281 MB / 4.062 GB, free: 31.01 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002829/10.7, allocations: 33.23 kB / 4.063 GB, free: 31.01 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00384/10.7, allocations: 2.348 MB / 4.065 GB, free: 30.44 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.178e-06/10.7, allocations: 5.344 kB / 4.065 GB, free: 30.44 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006123/10.71, allocations: 3.495 MB / 4.068 GB, free: 29.95 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/10.71, allocations: 0.6478 MB / 4.069 GB, free: 29.66 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003891/10.71, allocations: 21.28 kB / 4.069 GB, free: 29.66 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/10.71, allocations: 131.1 kB / 4.069 GB, free: 29.66 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002648/10.71, allocations: 102.2 kB / 4.069 GB, free: 29.65 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/10.71, allocations: 38 kB / 4.069 GB, free: 29.65 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001899/10.72, allocations: 1.041 MB / 4.07 GB, free: 29.54 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.119e-06/10.72, allocations: 0 / 4.07 GB, free: 29.54 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007966/10.72, allocations: 1.962 MB / 4.072 GB, free: 29.26 MB / 0.573 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.009418/10.73, allocations: 2.215 MB / 4.074 GB, free: 28.84 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.007226/10.74, allocations: 2.715 MB / 4.077 GB, free: 28.79 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.36e-06/10.74, allocations: 3.594 kB / 4.077 GB, free: 28.79 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003048/10.74, allocations: 1.379 MB / 4.078 GB, free: 28.77 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004642/10.75, allocations: 0.6737 MB / 4.079 GB, free: 28.74 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007379/10.76, allocations: 3.383 MB / 4.082 GB, free: 28 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/10.76, allocations: 1.63 MB / 4.084 GB, free: 27.24 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003962/10.76, allocations: 1.538 MB / 4.085 GB, free: 27.17 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/10.76, allocations: 95.72 kB / 4.085 GB, free: 27.16 MB / 0.573 GB Notification: Performance of SimCode: time 2.055e-06/10.76, allocations: 0 / 4.085 GB, free: 27.16 MB / 0.573 GB Notification: Performance of Templates: time 0.1268/10.89, allocations: 70.98 MB / 4.155 GB, free: 13.3 MB / 0.573 GB