Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.448/2.448, allocations: 270 MB / 282.6 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.583e-05/3.596e-05, allocations: 4 kB / 347.1 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4261, allocations: 61.87 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.791/9.217, allocations: 2.823 GB / 3.223 GB, free: 81.47 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/9.217, allocations: 78.45 kB / 3.223 GB, free: 81.43 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 4.164/13.38, allocations: 0.7563 GB / 3.979 GB, free: 44.42 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.186e-06/13.38, allocations: 0 / 3.979 GB, free: 44.42 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001651/13.38, allocations: 43.8 kB / 3.979 GB, free: 44.41 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.01598/13.4, allocations: 2.731 MB / 3.982 GB, free: 43.12 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/13.4, allocations: 6.844 kB / 3.982 GB, free: 43.12 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007094/13.4, allocations: 170.4 kB / 3.982 GB, free: 43.08 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006844/13.41, allocations: 0.6041 MB / 3.982 GB, free: 43 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003871/13.41, allocations: 1.065 MB / 3.983 GB, free: 42.68 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/13.41, allocations: 92.88 kB / 3.984 GB, free: 42.67 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004161/13.41, allocations: 104.8 kB / 3.984 GB, free: 42.67 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007787/13.42, allocations: 2.242 MB / 3.986 GB, free: 42.33 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.39e-05/13.42, allocations: 7.125 kB / 3.986 GB, free: 42.33 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003021/13.42, allocations: 50.45 kB / 3.986 GB, free: 42.33 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002042/13.42, allocations: 93.94 kB / 3.986 GB, free: 42.32 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00806/13.43, allocations: 2.24 MB / 3.988 GB, free: 42.32 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.02057/13.45, allocations: 9.204 MB / 3.997 GB, free: 37.29 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006491/13.45, allocations: 1.735 MB / 3.999 GB, free: 37.26 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002089/13.46, allocations: 0.6805 MB / 4 GB, free: 37.25 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07809/13.53, allocations: 24.51 MB / 4.023 GB, free: 22.14 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.353e-05/13.53, allocations: 47.28 kB / 4.024 GB, free: 22.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002015/13.54, allocations: 212.2 kB / 4.024 GB, free: 22.04 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=109): time 4.398e-06/13.54, allocations: 0 / 4.024 GB, free: 22.04 MB / 0.5417 GB Notification: Performance of matching and sorting (n=109): time 0.01288/13.55, allocations: 2.61 MB / 4.026 GB, free: 21.88 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.183e-05/13.55, allocations: 224 kB / 4.026 GB, free: 21.62 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/13.55, allocations: 0.8271 MB / 4.027 GB, free: 21.46 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003663/13.55, allocations: 45.23 kB / 4.027 GB, free: 21.43 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004163/13.55, allocations: 0.5512 MB / 4.028 GB, free: 21.12 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004441/13.55, allocations: 369.9 kB / 4.028 GB, free: 20.89 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/13.55, allocations: 26.16 kB / 4.028 GB, free: 20.89 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001155/13.55, allocations: 365.1 kB / 4.029 GB, free: 20.57 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/13.55, allocations: 0.5457 MB / 4.029 GB, free: 20.57 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/13.56, allocations: 0.9036 MB / 4.03 GB, free: 20.16 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/13.56, allocations: 0.6709 MB / 4.031 GB, free: 20.13 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/13.56, allocations: 4.25 kB / 4.031 GB, free: 20.13 MB / 0.5417 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004542/13.56, allocations: 1.756 MB / 4.032 GB, free: 20.04 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001877/13.56, allocations: 3.745 MB / 4.036 GB, free: 32.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.464e-05/13.56, allocations: 10.03 kB / 4.036 GB, free: 32.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05361/13.62, allocations: 3.003 MB / 4.039 GB, free: 31.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/13.62, allocations: 277.2 kB / 4.039 GB, free: 31.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004156/13.62, allocations: 1.386 MB / 4.041 GB, free: 31.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002858/13.63, allocations: 146 kB / 4.041 GB, free: 31.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002077/13.63, allocations: 73.86 kB / 4.041 GB, free: 31.41 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/13.63, allocations: 3.875 kB / 4.041 GB, free: 31.41 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005379/13.63, allocations: 1.565 MB / 4.042 GB, free: 31.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/13.63, allocations: 13.47 kB / 4.042 GB, free: 31.37 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/13.63, allocations: 194 kB / 4.043 GB, free: 31.35 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003074/13.64, allocations: 351.3 kB / 4.043 GB, free: 31.35 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/13.64, allocations: 0.7317 MB / 4.044 GB, free: 30.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/13.64, allocations: 137.2 kB / 4.044 GB, free: 30.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/13.64, allocations: 69.38 kB / 4.044 GB, free: 30.82 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.0005762/13.64, allocations: 196.1 kB / 4.044 GB, free: 30.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004397/13.64, allocations: 131.2 kB / 4.044 GB, free: 30.63 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009999/13.65, allocations: 5.49 MB / 4.049 GB, free: 30.02 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.049e-05/13.65, allocations: 60.03 kB / 4.05 GB, free: 30.02 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/13.65, allocations: 0 / 4.05 GB, free: 30.02 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.863e-05/13.65, allocations: 15.34 kB / 4.05 GB, free: 30.02 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/13.67, allocations: 7.531 MB / 4.057 GB, free: 29.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/13.67, allocations: 0 / 4.057 GB, free: 29.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/13.67, allocations: 210.5 kB / 4.057 GB, free: 29.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04703/13.71, allocations: 4.283 MB / 4.061 GB, free: 29.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003291/13.71, allocations: 28.3 kB / 4.061 GB, free: 29.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004278/13.72, allocations: 2.349 MB / 4.064 GB, free: 28.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/13.72, allocations: 0 / 4.064 GB, free: 28.62 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006663/13.73, allocations: 3.497 MB / 4.067 GB, free: 28.12 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/13.73, allocations: 0.6467 MB / 4.068 GB, free: 27.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003794/13.73, allocations: 22.84 kB / 4.068 GB, free: 27.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002136/13.73, allocations: 129.3 kB / 4.068 GB, free: 27.83 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003238/13.73, allocations: 103.8 kB / 4.068 GB, free: 27.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/13.73, allocations: 42.95 kB / 4.068 GB, free: 27.82 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002014/13.73, allocations: 1.041 MB / 4.069 GB, free: 27.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.643e-06/13.73, allocations: 0 / 4.069 GB, free: 27.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009451/13.74, allocations: 1.962 MB / 4.071 GB, free: 27.43 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.01836/13.76, allocations: 5.811 MB / 4.077 GB, free: 25.07 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008477/13.77, allocations: 2.68 MB / 4.079 GB, free: 23.29 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/13.77, allocations: 0 / 4.079 GB, free: 23.29 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003365/13.77, allocations: 1.381 MB / 4.081 GB, free: 22.02 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006132/13.78, allocations: 0.6735 MB / 4.081 GB, free: 21.53 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/13.79, allocations: 4.258 MB / 4.085 GB, free: 17.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/13.79, allocations: 1.616 MB / 4.087 GB, free: 16.37 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/13.79, allocations: 0.8214 MB / 4.088 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of SimCode: time 1.854e-06/13.79, allocations: 0 / 4.088 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.834/18.63, allocations: 66.67 MB / 4.153 GB, free: 64.04 MB / 0.573 GB