Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.046/2.046, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.474e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.838/7.951, allocations: 2.538 GB / 2.852 GB, free: 18.63 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/7.951, allocations: 76.64 kB / 2.853 GB, free: 18.59 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 4.27/12.22, allocations: 0.7242 GB / 3.577 GB, free: 33.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.224e-06/12.22, allocations: 0 / 3.577 GB, free: 33.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001746/12.22, allocations: 36.95 kB / 3.577 GB, free: 33.23 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.01723/12.24, allocations: 2.63 MB / 3.579 GB, free: 32.04 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/12.24, allocations: 14.25 kB / 3.579 GB, free: 32.04 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006791/12.24, allocations: 168.6 kB / 3.58 GB, free: 31.99 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00677/12.25, allocations: 0.5807 MB / 3.58 GB, free: 31.91 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003979/12.25, allocations: 1.084 MB / 3.581 GB, free: 31.58 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/12.25, allocations: 94.94 kB / 3.581 GB, free: 31.58 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003657/12.25, allocations: 112.5 kB / 3.581 GB, free: 31.58 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007682/12.26, allocations: 2.237 MB / 3.584 GB, free: 31.23 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.913e-05/12.26, allocations: 5.438 kB / 3.584 GB, free: 31.23 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002996/12.26, allocations: 50.31 kB / 3.584 GB, free: 31.23 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001695/12.26, allocations: 83.38 kB / 3.584 GB, free: 31.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008287/12.27, allocations: 2.24 MB / 3.586 GB, free: 31.22 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.01865/12.29, allocations: 8.918 MB / 3.595 GB, free: 26.1 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005946/12.29, allocations: 1.642 MB / 3.596 GB, free: 26.08 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/12.29, allocations: 0.6435 MB / 3.597 GB, free: 26.07 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05925/12.35, allocations: 18.81 MB / 3.615 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.464e-05/12.35, allocations: 52.31 kB / 3.615 GB, free: 14.27 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001975/12.35, allocations: 194.8 kB / 3.615 GB, free: 14.22 MB / 458.7 MB Notification: Performance of pre-optimization done (n=109): time 5.551e-06/12.35, allocations: 2.859 kB / 3.615 GB, free: 14.22 MB / 458.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.122/12.48, allocations: 11.91 MB / 3.627 GB, free: 13.36 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/12.48, allocations: 222.3 kB / 3.627 GB, free: 13.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/12.48, allocations: 0.7455 MB / 3.628 GB, free: 12.95 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006679/12.48, allocations: 54.17 kB / 3.628 GB, free: 12.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004927/12.48, allocations: 0.5961 MB / 3.629 GB, free: 12.62 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009314/12.48, allocations: 0.5334 MB / 3.629 GB, free: 12.28 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003405/12.48, allocations: 33.53 kB / 3.629 GB, free: 12.28 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/12.48, allocations: 377.6 kB / 3.63 GB, free: 11.97 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003371/12.48, allocations: 1.242 MB / 3.631 GB, free: 11.96 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003853/12.49, allocations: 1.683 MB / 3.632 GB, free: 11.47 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004021/12.49, allocations: 1.376 MB / 3.634 GB, free: 11.45 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.602e-05/12.49, allocations: 3.812 kB / 3.634 GB, free: 11.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01312/12.51, allocations: 4.066 MB / 3.638 GB, free: 11.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002746/12.51, allocations: 4.792 MB / 3.642 GB, free: 22.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.146e-05/12.51, allocations: 16.53 kB / 3.642 GB, free: 22.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1672/12.68, allocations: 7.95 MB / 3.65 GB, free: 22.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003218/12.68, allocations: 386.4 kB / 3.651 GB, free: 22.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01817/12.7, allocations: 4.639 MB / 3.655 GB, free: 21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006431/12.7, allocations: 241.8 kB / 3.655 GB, free: 20.99 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007901/12.7, allocations: 135.5 kB / 3.655 GB, free: 20.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/12.7, allocations: 6.844 kB / 3.655 GB, free: 20.98 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01459/12.72, allocations: 3.854 MB / 3.659 GB, free: 20.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.988e-05/12.72, allocations: 11.94 kB / 3.659 GB, free: 20.92 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01363/12.73, allocations: 2.646 MB / 3.662 GB, free: 20.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003905/12.74, allocations: 442.9 kB / 3.662 GB, free: 20.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01581/12.75, allocations: 4.062 MB / 3.666 GB, free: 19.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006285/12.76, allocations: 246.2 kB / 3.666 GB, free: 19.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007882/12.76, allocations: 126.8 kB / 3.667 GB, free: 19.77 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.001051/12.76, allocations: 223.2 kB / 3.667 GB, free: 19.64 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006633/12.76, allocations: 136.4 kB / 3.667 GB, free: 19.57 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02909/12.79, allocations: 8.907 MB / 3.676 GB, free: 18.92 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001073/12.79, allocations: 61.77 kB / 3.676 GB, free: 18.92 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/12.79, allocations: 3.438 kB / 3.676 GB, free: 18.92 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.077e-05/12.79, allocations: 8.344 kB / 3.676 GB, free: 18.92 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03349/12.82, allocations: 11.88 MB / 3.687 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.25e-05/12.82, allocations: 3.25 kB / 3.687 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00238/12.83, allocations: 273.3 kB / 3.688 GB, free: 15.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1485/12.98, allocations: 8.871 MB / 3.696 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005623/12.98, allocations: 64.86 kB / 3.696 GB, free: 12.08 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01762/12.99, allocations: 5.522 MB / 3.702 GB, free: 7.199 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/12.99, allocations: 1.312 kB / 3.702 GB, free: 7.199 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02669/13.02, allocations: 6.751 MB / 3.708 GB, free: 1.297 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002406/13.02, allocations: 0.6894 MB / 3.709 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006678/13.02, allocations: 28 kB / 3.709 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005466/13.03, allocations: 239 kB / 3.709 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006292/13.03, allocations: 130.5 kB / 3.709 GB, free: 424 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003709/13.03, allocations: 74.23 kB / 3.709 GB, free: 368 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0023/13.03, allocations: 0.7739 MB / 3.71 GB, free: 15.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.82e-07/13.03, allocations: 0 / 3.71 GB, free: 15.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01244/13.05, allocations: 2.248 MB / 3.712 GB, free: 13.56 MB / 490.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.04171/13.09, allocations: 9.731 MB / 3.722 GB, free: 5.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03254/13.12, allocations: 5.964 MB / 3.728 GB, free: 100 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/13.12, allocations: 4 kB / 3.728 GB, free: 96 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3872/13.51, allocations: 2.802 MB / 3.73 GB, free: 60.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006042/13.51, allocations: 0.5892 MB / 3.731 GB, free: 60.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.38/13.89, allocations: 124.9 MB / 3.853 GB, free: 47.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/13.89, allocations: 1.651 MB / 3.855 GB, free: 46.55 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005612/13.9, allocations: 1.509 MB / 3.856 GB, free: 45.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001726/13.9, allocations: 0.7887 MB / 3.857 GB, free: 45.56 MB / 490.7 MB Notification: Performance of SimCode: time 1.543e-06/13.9, allocations: 4 kB / 3.857 GB, free: 45.55 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6682/14.57, allocations: 129.1 MB / 3.983 GB, free: 53.44 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002989/14.57, allocations: 257.2 kB / 3.983 GB, free: 53.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/22.55, allocations: 4 kB / 3.983 GB, free: 53.1 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat does not exist to compare? outputFormat=mat