Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.423/2.423, allocations: 235 MB / 247.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.555e-05/3.565e-05, allocations: 0 / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4244, allocations: 54.85 MB / 359.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.168/8.592, allocations: 2.649 GB / 3 GB, free: 112.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/8.593, allocations: 74.84 kB / 3 GB, free: 112.6 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.992/12.59, allocations: 0.7436 GB / 3.744 GB, free: 33.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.853e-06/12.59, allocations: 0 / 3.744 GB, free: 33.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.00019/12.59, allocations: 39.7 kB / 3.744 GB, free: 33.89 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.01601/12.6, allocations: 2.72 MB / 3.747 GB, free: 32.58 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/12.6, allocations: 8.469 kB / 3.747 GB, free: 32.58 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007584/12.6, allocations: 169.6 kB / 3.747 GB, free: 32.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006904/12.61, allocations: 0.5985 MB / 3.747 GB, free: 32.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003997/12.61, allocations: 1.092 MB / 3.748 GB, free: 32.13 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/12.61, allocations: 97.91 kB / 3.749 GB, free: 32.12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005375/12.61, allocations: 100.9 kB / 3.749 GB, free: 32.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008046/12.62, allocations: 2.245 MB / 3.751 GB, free: 31.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.111e-05/12.62, allocations: 5.906 kB / 3.751 GB, free: 31.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000303/12.62, allocations: 56.22 kB / 3.751 GB, free: 31.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001644/12.62, allocations: 78 kB / 3.751 GB, free: 31.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008452/12.63, allocations: 2.263 MB / 3.753 GB, free: 31.76 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.01931/12.65, allocations: 8.925 MB / 3.762 GB, free: 26.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00596/12.66, allocations: 1.655 MB / 3.764 GB, free: 26.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001734/12.66, allocations: 0.6353 MB / 3.764 GB, free: 26.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05788/12.72, allocations: 18.84 MB / 3.783 GB, free: 30.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.908e-05/12.72, allocations: 42.31 kB / 3.783 GB, free: 30.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001979/12.72, allocations: 198.1 kB / 3.783 GB, free: 30.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=109): time 9.107e-06/12.72, allocations: 3.844 kB / 3.783 GB, free: 30.75 MB / 0.5105 GB 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.1219/12.84, allocations: 11.91 MB / 3.794 GB, free: 29.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001637/12.84, allocations: 223.5 kB / 3.795 GB, free: 29.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/12.84, allocations: 0.7383 MB / 3.795 GB, free: 29.31 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006637/12.84, allocations: 52.95 kB / 3.795 GB, free: 29.28 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004837/12.84, allocations: 0.5966 MB / 3.796 GB, free: 28.99 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008511/12.84, allocations: 0.5362 MB / 3.796 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003076/12.84, allocations: 34.97 kB / 3.797 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001995/12.84, allocations: 370.3 kB / 3.797 GB, free: 28.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00335/12.85, allocations: 1.251 MB / 3.798 GB, free: 28.33 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003883/12.85, allocations: 1.691 MB / 3.8 GB, free: 27.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004231/12.86, allocations: 1.368 MB / 3.801 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-05/12.86, allocations: 3.656 kB / 3.801 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01357/12.87, allocations: 4.098 MB / 3.805 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002195/12.87, allocations: 4.795 MB / 3.81 GB, free: 22.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.066e-05/12.87, allocations: 18.81 kB / 3.81 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1638/13.04, allocations: 7.957 MB / 3.818 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003116/13.04, allocations: 377.4 kB / 3.818 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01764/13.06, allocations: 4.645 MB / 3.822 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006267/13.06, allocations: 244.2 kB / 3.823 GB, free: 21.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006616/13.06, allocations: 138.5 kB / 3.823 GB, free: 21.28 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/13.06, allocations: 3.875 kB / 3.823 GB, free: 21.28 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01402/13.08, allocations: 3.891 MB / 3.827 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.914e-05/13.08, allocations: 14.22 kB / 3.827 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01314/13.09, allocations: 2.632 MB / 3.829 GB, free: 21.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003792/13.1, allocations: 448.1 kB / 3.83 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01586/13.11, allocations: 4.069 MB / 3.834 GB, free: 19.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006312/13.12, allocations: 244 kB / 3.834 GB, free: 19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007779/13.12, allocations: 131.5 kB / 3.834 GB, free: 18.98 MB / 0.5105 GB 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.0009857/13.12, allocations: 212.5 kB / 3.834 GB, free: 18.81 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006245/13.12, allocations: 138.7 kB / 3.834 GB, free: 18.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03356/13.15, allocations: 8.91 MB / 3.843 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001388/13.15, allocations: 65.55 kB / 3.843 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.791e-05/13.15, allocations: 4 kB / 3.843 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.616e-05/13.15, allocations: 7.5 kB / 3.843 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04716/13.2, allocations: 11.89 MB / 3.855 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.055e-05/13.2, allocations: 7.562 kB / 3.855 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003056/13.2, allocations: 267.2 kB / 3.855 GB, free: 3.926 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.154/13.36, allocations: 8.97 MB / 3.864 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005439/13.36, allocations: 65.98 kB / 3.864 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01837/13.38, allocations: 5.502 MB / 3.869 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/13.38, allocations: 6.719 kB / 3.869 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02603/13.4, allocations: 6.752 MB / 3.876 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002462/13.41, allocations: 0.6839 MB / 3.876 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005534/13.41, allocations: 32 kB / 3.876 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00504/13.41, allocations: 235.2 kB / 3.877 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000489/13.41, allocations: 131.8 kB / 3.877 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003367/13.41, allocations: 82.98 kB / 3.877 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001711/13.41, allocations: 0.7348 MB / 3.878 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.4e-07/13.41, allocations: 0 / 3.878 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.4363/13.85, allocations: 2.256 MB / 3.88 GB, free: 64.12 MB / 0.5261 GB 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.04191/13.89, allocations: 9.721 MB / 3.889 GB, free: 62.44 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03307/13.93, allocations: 6.025 MB / 3.895 GB, free: 62.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/13.93, allocations: 0.6562 kB / 3.895 GB, free: 62.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01388/13.94, allocations: 2.823 MB / 3.898 GB, free: 62.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00554/13.94, allocations: 0.5967 MB / 3.899 GB, free: 62.34 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3761/14.32, allocations: 127.1 MB / 4.023 GB, free: 46.34 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002024/14.32, allocations: 1.648 MB / 4.024 GB, free: 45.02 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007833/14.33, allocations: 1.513 MB / 4.026 GB, free: 44.11 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002138/14.33, allocations: 0.7889 MB / 4.026 GB, free: 44.01 MB / 0.5261 GB Notification: Performance of SimCode: time 1.503e-06/14.33, allocations: 4 kB / 4.026 GB, free: 44 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7758/15.11, allocations: 129.3 MB / 4.153 GB, free: 58.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002955/15.11, allocations: 255.9 kB / 4.153 GB, free: 57.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.429/23.54, allocations: 3.906 kB / 4.153 GB, free: 57.98 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat does not exist to compare? outputFormat=mat