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 1.956/1.956, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.314e-05/3.333e-05, allocations: 0 / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1203, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.672/7.792, allocations: 2.538 GB / 2.852 GB, free: 18.12 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/7.793, allocations: 78.64 kB / 2.853 GB, free: 18.08 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.159/11.95, allocations: 0.7242 GB / 3.577 GB, free: 33.62 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.605e-06/11.95, allocations: 0 / 3.577 GB, free: 33.62 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001418/11.95, allocations: 33.88 kB / 3.577 GB, free: 33.62 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.01526/11.97, allocations: 2.63 MB / 3.579 GB, free: 32.41 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/11.97, allocations: 7.875 kB / 3.579 GB, free: 32.41 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000637/11.97, allocations: 171.3 kB / 3.58 GB, free: 32.37 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006677/11.97, allocations: 0.582 MB / 3.58 GB, free: 32.29 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003854/11.98, allocations: 1.095 MB / 3.581 GB, free: 31.95 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/11.98, allocations: 93.78 kB / 3.581 GB, free: 31.95 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003845/11.98, allocations: 108.3 kB / 3.581 GB, free: 31.95 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008019/11.99, allocations: 2.25 MB / 3.584 GB, free: 31.59 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.341e-05/11.99, allocations: 2.438 kB / 3.584 GB, free: 31.59 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002837/11.99, allocations: 55.83 kB / 3.584 GB, free: 31.59 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001628/11.99, allocations: 82.7 kB / 3.584 GB, free: 31.59 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007658/12, allocations: 2.263 MB / 3.586 GB, free: 31.57 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.01738/12.01, allocations: 8.912 MB / 3.595 GB, free: 26.46 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005803/12.02, allocations: 1.654 MB / 3.596 GB, free: 26.44 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/12.02, allocations: 0.6502 MB / 3.597 GB, free: 26.42 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05733/12.08, allocations: 18.82 MB / 3.615 GB, free: 14.67 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/12.08, allocations: 54.95 kB / 3.615 GB, free: 14.63 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00183/12.08, allocations: 188.9 kB / 3.615 GB, free: 14.58 MB / 458.7 MB Notification: Performance of pre-optimization done (n=109): time 3.727e-06/12.08, allocations: 0 / 3.615 GB, free: 14.58 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.1214/12.2, allocations: 11.91 MB / 3.627 GB, free: 13.72 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/12.2, allocations: 229.6 kB / 3.627 GB, free: 13.46 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/12.2, allocations: 0.7362 MB / 3.628 GB, free: 13.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006652/12.2, allocations: 54.86 kB / 3.628 GB, free: 13.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005348/12.2, allocations: 0.5906 MB / 3.629 GB, free: 12.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009562/12.21, allocations: 0.541 MB / 3.629 GB, free: 12.64 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003402/12.21, allocations: 34.41 kB / 3.629 GB, free: 12.64 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/12.21, allocations: 379.5 kB / 3.63 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003529/12.21, allocations: 1.241 MB / 3.631 GB, free: 12.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00398/12.21, allocations: 1.702 MB / 3.632 GB, free: 11.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004266/12.22, allocations: 1.368 MB / 3.634 GB, free: 11.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.979e-05/12.22, allocations: 3.938 kB / 3.634 GB, free: 11.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01353/12.23, allocations: 4.098 MB / 3.638 GB, free: 11.65 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002222/12.23, allocations: 4.796 MB / 3.642 GB, free: 22.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.514e-05/12.23, allocations: 13.81 kB / 3.643 GB, free: 22.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.185/12.42, allocations: 7.951 MB / 3.65 GB, free: 22.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003188/12.42, allocations: 381.7 kB / 3.651 GB, free: 22.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01813/12.44, allocations: 4.641 MB / 3.655 GB, free: 21.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00638/12.45, allocations: 243.8 kB / 3.655 GB, free: 21.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007768/12.45, allocations: 128.4 kB / 3.656 GB, free: 21.33 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/12.45, allocations: 8.094 kB / 3.656 GB, free: 21.32 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01472/12.46, allocations: 3.898 MB / 3.659 GB, free: 21.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.406e-05/12.46, allocations: 11.38 kB / 3.659 GB, free: 21.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01311/12.48, allocations: 2.638 MB / 3.662 GB, free: 21.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00376/12.48, allocations: 447.5 kB / 3.662 GB, free: 21.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/12.49, allocations: 4.069 MB / 3.666 GB, free: 20.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006103/12.5, allocations: 243.7 kB / 3.667 GB, free: 20.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007161/12.5, allocations: 127.1 kB / 3.667 GB, free: 20.1 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.001009/12.5, allocations: 229.7 kB / 3.667 GB, free: 19.97 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000603/12.5, allocations: 135.8 kB / 3.667 GB, free: 19.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02784/12.53, allocations: 8.908 MB / 3.676 GB, free: 19.26 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001022/12.53, allocations: 68.2 kB / 3.676 GB, free: 19.26 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/12.53, allocations: 0 / 3.676 GB, free: 19.26 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.827e-05/12.53, allocations: 6.609 kB / 3.676 GB, free: 19.26 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03132/12.56, allocations: 11.88 MB / 3.687 GB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-05/12.56, allocations: 4.094 kB / 3.687 GB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002336/12.57, allocations: 271.5 kB / 3.688 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1478/12.71, allocations: 8.872 MB / 3.696 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006229/12.71, allocations: 61.95 kB / 3.696 GB, free: 11.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01851/12.73, allocations: 5.513 MB / 3.702 GB, free: 6.957 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/12.73, allocations: 4 kB / 3.702 GB, free: 6.953 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02745/12.76, allocations: 6.755 MB / 3.708 GB, free: 1.047 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002422/12.76, allocations: 0.6833 MB / 3.709 GB, free: 464 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007779/12.76, allocations: 35.94 kB / 3.709 GB, free: 432 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0057/12.77, allocations: 231.4 kB / 3.709 GB, free: 256 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007712/12.77, allocations: 134 kB / 3.709 GB, free: 176 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000407/12.77, allocations: 81.09 kB / 3.709 GB, free: 116 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004223/12.77, allocations: 0.8742 MB / 3.71 GB, free: 15.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.082e-06/12.77, allocations: 0 / 3.71 GB, free: 15.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01292/12.79, allocations: 2.244 MB / 3.713 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.04237/12.83, allocations: 9.722 MB / 3.722 GB, free: 5.266 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03253/12.86, allocations: 6.021 MB / 3.728 GB, free: 72 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/12.86, allocations: 4.062 kB / 3.728 GB, free: 68 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3773/13.24, allocations: 2.83 MB / 3.731 GB, free: 61.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006608/13.25, allocations: 0.5871 MB / 3.731 GB, free: 61.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3739/13.62, allocations: 124.9 MB / 3.853 GB, free: 48.06 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/13.62, allocations: 1.654 MB / 3.855 GB, free: 46.73 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005826/13.63, allocations: 1.518 MB / 3.856 GB, free: 45.83 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001832/13.63, allocations: 0.7861 MB / 3.857 GB, free: 45.73 MB / 490.7 MB Notification: Performance of SimCode: time 2.145e-06/13.63, allocations: 0 / 3.857 GB, free: 45.73 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6805/14.31, allocations: 129.1 MB / 3.983 GB, free: 53.84 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/14.31, allocations: 256.7 kB / 3.983 GB, free: 53.51 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/22.23, allocations: 3.938 kB / 3.983 GB, free: 53.5 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