Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.377/2.377, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.064e-05/2.074e-05, allocations: 0 / 299.5 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4233, allocations: 54.85 MB / 354.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.75/8.173, allocations: 2.648 GB / 2.994 GB, free: 126.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/8.174, allocations: 83.73 kB / 2.994 GB, free: 126.2 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.994/12.17, allocations: 0.737 GB / 3.731 GB, free: 37.35 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.145e-06/12.17, allocations: 0 / 3.731 GB, free: 37.35 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001668/12.17, allocations: 38.8 kB / 3.731 GB, free: 37.35 MB / 0.4948 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.01636/12.18, allocations: 2.718 MB / 3.734 GB, free: 36.13 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/12.18, allocations: 12.41 kB / 3.734 GB, free: 36.13 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006859/12.19, allocations: 0.5971 MB / 3.735 GB, free: 36.06 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003899/12.19, allocations: 1.091 MB / 3.736 GB, free: 35.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/12.2, allocations: 48.09 kB / 3.736 GB, free: 35.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000414/12.2, allocations: 62.38 kB / 3.736 GB, free: 35.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004636/12.2, allocations: 1.741 MB / 3.737 GB, free: 35.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004047/12.2, allocations: 1.544 MB / 3.739 GB, free: 35.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.793e-05/12.2, allocations: 3.656 kB / 3.739 GB, free: 35.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002252/12.2, allocations: 3.844 kB / 3.739 GB, free: 35.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001753/12.2, allocations: 88.77 kB / 3.739 GB, free: 35.38 MB / 0.4948 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.5194/12.72, allocations: 136.7 MB / 3.873 GB, free: 23.93 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003627/12.73, allocations: 1.05 MB / 3.874 GB, free: 23.35 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/12.73, allocations: 0.5342 MB / 3.874 GB, free: 23.07 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05456/12.78, allocations: 17.42 MB / 3.891 GB, free: 6.125 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.384e-05/12.78, allocations: 50.03 kB / 3.891 GB, free: 6.078 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001923/12.79, allocations: 181.4 kB / 3.891 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=91): time 8.466e-06/12.79, allocations: 0 / 3.891 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of matching and sorting (n=129): time 0.119/12.91, allocations: 9.738 MB / 3.901 GB, free: 408 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/12.91, allocations: 228.4 kB / 3.901 GB, free: 136 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4048/13.31, allocations: 0.7393 MB / 3.902 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005939/13.31, allocations: 27.78 kB / 3.902 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005715/13.31, allocations: 0.6461 MB / 3.902 GB, free: 100.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00081/13.31, allocations: 431.1 kB / 3.903 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003371/13.31, allocations: 0 / 3.903 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001341/13.31, allocations: 366.9 kB / 3.903 GB, free: 99.86 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003494/13.32, allocations: 1.266 MB / 3.904 GB, free: 99.86 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004162/13.32, allocations: 1.704 MB / 3.906 GB, free: 99.37 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01176/13.33, allocations: 1.885 MB / 3.908 GB, free: 99.36 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.855e-05/13.33, allocations: 3.375 kB / 3.908 GB, free: 99.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.02147/13.35, allocations: 4.673 MB / 3.913 GB, free: 99.23 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001165/13.36, allocations: 4.798 MB / 3.917 GB, free: 94.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.437e-05/13.36, allocations: 11.03 kB / 3.917 GB, free: 94.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02324/13.38, allocations: 3.962 MB / 3.921 GB, free: 94.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002506/13.38, allocations: 329.2 kB / 3.921 GB, free: 94.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02133/13.4, allocations: 5.747 MB / 3.927 GB, free: 93.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007184/13.41, allocations: 279.3 kB / 3.927 GB, free: 93.15 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000809/13.41, allocations: 119.8 kB / 3.927 GB, free: 93.15 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/13.41, allocations: 12.05 kB / 3.927 GB, free: 93.15 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02319/13.43, allocations: 2.901 MB / 3.93 GB, free: 93.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.503e-05/13.43, allocations: 11.84 kB / 3.93 GB, free: 93.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005935/13.44, allocations: 0.5661 MB / 3.931 GB, free: 93.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004009/13.44, allocations: 452.9 kB / 3.931 GB, free: 93.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00451/13.45, allocations: 1.792 MB / 3.933 GB, free: 92.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004084/13.45, allocations: 179.9 kB / 3.933 GB, free: 92.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005783/13.45, allocations: 97.64 kB / 3.933 GB, free: 92.04 MB / 0.5573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.orifice.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate in design flow direction" type: Real $DER.pipe1.flowModel.states[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy" type: Real [2] $DER.pipe1.flowModel.mus_act[1]:DUMMY_DER(fixed = false ) "Actual viscosity per segment" type: Real [1] $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real 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,pump.heatTransfer.states[1].phase,source.medium.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 (154): * Single equations (assignments): 152 * 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 {5 21,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.001156/13.45, allocations: 167.6 kB / 3.933 GB, free: 91.93 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01827/13.47, allocations: 4.113 MB / 3.937 GB, free: 91.79 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/13.47, allocations: 130.3 kB / 3.938 GB, free: 91.72 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02173/13.5, allocations: 6.678 MB / 3.944 GB, free: 91.41 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.783e-05/13.5, allocations: 39.25 kB / 3.944 GB, free: 91.41 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/13.5, allocations: 3.953 kB / 3.944 GB, free: 91.41 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.532e-05/13.5, allocations: 7.453 kB / 3.944 GB, free: 91.41 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02537/13.52, allocations: 8.993 MB / 3.953 GB, free: 90.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/13.52, allocations: 5.812 kB / 3.953 GB, free: 90.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/13.52, allocations: 146.3 kB / 3.953 GB, free: 90.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01764/13.54, allocations: 5.25 MB / 3.958 GB, free: 90.73 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004984/13.54, allocations: 41.56 kB / 3.958 GB, free: 90.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02067/13.56, allocations: 6.896 MB / 3.965 GB, free: 89.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/13.56, allocations: 0 / 3.965 GB, free: 89.61 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01773/13.58, allocations: 5.648 MB / 3.97 GB, free: 89.11 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002258/13.58, allocations: 0.6212 MB / 3.971 GB, free: 88.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009587/13.58, allocations: 9.516 kB / 3.971 GB, free: 88.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00586/13.59, allocations: 197.1 kB / 3.971 GB, free: 88.91 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004955/13.59, allocations: 93.59 kB / 3.971 GB, free: 88.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003319/13.59, allocations: 66.45 kB / 3.971 GB, free: 88.91 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001535/13.59, allocations: 0.7842 MB / 3.972 GB, free: 88.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.31e-07/13.59, allocations: 0 / 3.972 GB, free: 88.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01109/13.6, allocations: 2.061 MB / 3.974 GB, free: 88.72 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse21.phase,$cse21.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {5 21,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.03013/13.63, allocations: 8.301 MB / 3.982 GB, free: 87.23 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02089/13.65, allocations: 4.805 MB / 3.987 GB, free: 87.17 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/13.65, allocations: 3.094 kB / 3.987 GB, free: 87.17 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01111/13.66, allocations: 2.172 MB / 3.989 GB, free: 87.14 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004929/13.67, allocations: 488.5 kB / 3.99 GB, free: 87.13 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/13.69, allocations: 4.216 MB / 3.994 GB, free: 86.38 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/13.69, allocations: 1.459 MB / 3.995 GB, free: 85.65 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005352/13.69, allocations: 1.699 MB / 3.997 GB, free: 85.64 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/13.69, allocations: 0.6269 MB / 3.997 GB, free: 85.63 MB / 0.5573 GB Notification: Performance of SimCode: time 1.172e-06/13.69, allocations: 0 / 3.997 GB, free: 85.63 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6425/14.34, allocations: 104.8 MB / 4.1 GB, free: 93.09 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002594/14.34, allocations: 194.6 kB / 4.1 GB, free: 92.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.033/21.37, allocations: 3.5 kB / 4.1 GB, free: 92.84 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat does not exist to compare? outputFormat=mat