Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.627/2.627, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.508e-05/3.515e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1417, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.072/9.214, allocations: 2.823 GB / 3.224 GB, free: 22.06 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/9.214, allocations: 80.2 kB / 3.224 GB, free: 22.02 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.281/13.49, allocations: 0.7563 GB / 3.98 GB, free: 44.94 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.304e-06/13.49, allocations: 0 / 3.98 GB, free: 44.94 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002067/13.49, allocations: 41.8 kB / 3.98 GB, free: 44.93 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.01698/13.51, allocations: 2.716 MB / 3.983 GB, free: 43.57 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/13.51, allocations: 11.19 kB / 3.983 GB, free: 43.57 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007395/13.51, allocations: 168.4 kB / 3.983 GB, free: 43.52 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007124/13.52, allocations: 0.5967 MB / 3.984 GB, free: 43.45 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004389/13.52, allocations: 1.07 MB / 3.985 GB, free: 43.12 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002143/13.52, allocations: 94.81 kB / 3.985 GB, free: 43.11 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006151/13.53, allocations: 105.4 kB / 3.985 GB, free: 43.11 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008466/13.53, allocations: 2.245 MB / 3.987 GB, free: 42.77 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.277e-05/13.53, allocations: 3.969 kB / 3.987 GB, free: 42.77 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003175/13.53, allocations: 50.38 kB / 3.987 GB, free: 42.77 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001817/13.53, allocations: 91.78 kB / 3.987 GB, free: 42.76 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008829/13.54, allocations: 2.246 MB / 3.99 GB, free: 42.74 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.02273/13.57, allocations: 9.186 MB / 3.999 GB, free: 37.67 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006597/13.57, allocations: 1.742 MB / 4 GB, free: 37.46 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001971/13.57, allocations: 0.6834 MB / 4.001 GB, free: 37.17 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08056/13.66, allocations: 24.53 MB / 4.025 GB, free: 21.11 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.715e-05/13.66, allocations: 49.06 kB / 4.025 GB, free: 21.06 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002135/13.66, allocations: 205.6 kB / 4.025 GB, free: 20.98 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=109): time 9.418e-06/13.66, allocations: 3.656 kB / 4.025 GB, free: 20.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=109): time 0.01415/13.67, allocations: 2.606 MB / 4.028 GB, free: 20.17 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.564e-05/13.67, allocations: 216.8 kB / 4.028 GB, free: 19.92 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/13.67, allocations: 0.8274 MB / 4.029 GB, free: 19.55 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005139/13.67, allocations: 49.05 kB / 4.029 GB, free: 19.51 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000642/13.67, allocations: 0.5553 MB / 4.029 GB, free: 19.06 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008/13.68, allocations: 369.9 kB / 4.03 GB, free: 18.78 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/13.68, allocations: 26.53 kB / 4.03 GB, free: 18.76 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001522/13.68, allocations: 360.1 kB / 4.03 GB, free: 18.43 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/13.68, allocations: 0.5509 MB / 4.031 GB, free: 18.21 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002373/13.68, allocations: 0.9046 MB / 4.031 GB, free: 17.55 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002123/13.68, allocations: 0.6723 MB / 4.032 GB, free: 17.28 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.579e-05/13.68, allocations: 3.938 kB / 4.032 GB, free: 17.28 MB / 0.5417 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005796/13.69, allocations: 1.826 MB / 4.034 GB, free: 16.55 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009119/13.69, allocations: 3.75 MB / 4.038 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.313e-05/13.69, allocations: 13.62 kB / 4.038 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05475/13.74, allocations: 2.987 MB / 4.04 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/13.75, allocations: 273.4 kB / 4.041 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004094/13.75, allocations: 1.389 MB / 4.042 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002998/13.75, allocations: 148.4 kB / 4.042 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002895/13.75, allocations: 70.62 kB / 4.042 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/13.75, allocations: 7.562 kB / 4.042 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00573/13.76, allocations: 1.559 MB / 4.044 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.789e-05/13.76, allocations: 12 kB / 4.044 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/13.76, allocations: 198.4 kB / 4.044 GB, free: 9.863 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003139/13.76, allocations: 346.9 kB / 4.044 GB, free: 9.582 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/13.77, allocations: 0.7365 MB / 4.045 GB, free: 8.863 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002798/13.77, allocations: 144 kB / 4.045 GB, free: 8.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002697/13.77, allocations: 66.94 kB / 4.045 GB, free: 8.691 MB / 0.5417 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.0005585/13.77, allocations: 192.6 kB / 4.045 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003832/13.77, allocations: 126.5 kB / 4.046 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/13.78, allocations: 5.498 MB / 4.051 GB, free: 3.457 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-05/13.78, allocations: 61.73 kB / 4.051 GB, free: 3.422 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/13.78, allocations: 0 / 4.051 GB, free: 3.422 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.321e-05/13.78, allocations: 14.69 kB / 4.051 GB, free: 3.418 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01703/13.8, allocations: 7.566 MB / 4.058 GB, free: 13 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/13.8, allocations: 64 / 4.058 GB, free: 13 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/13.8, allocations: 213.6 kB / 4.059 GB, free: 12.83 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04983/13.85, allocations: 4.277 MB / 4.063 GB, free: 9.441 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004057/13.85, allocations: 30.67 kB / 4.063 GB, free: 9.414 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005196/13.85, allocations: 2.354 MB / 4.065 GB, free: 7.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/13.85, allocations: 0 / 4.065 GB, free: 7.23 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00844/13.86, allocations: 3.504 MB / 4.069 GB, free: 3.98 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002028/13.87, allocations: 0.6497 MB / 4.069 GB, free: 3.422 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005106/13.87, allocations: 20 kB / 4.069 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002549/13.87, allocations: 136.4 kB / 4.069 GB, free: 3.297 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004428/13.87, allocations: 109 kB / 4.069 GB, free: 3.227 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001788/13.87, allocations: 39.8 kB / 4.069 GB, free: 3.191 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002567/13.87, allocations: 1.036 MB / 4.07 GB, free: 2.242 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.52e-07/13.87, allocations: 0 / 4.07 GB, free: 2.242 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0119/13.88, allocations: 1.954 MB / 4.072 GB, free: 332 kB / 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.4932/14.38, allocations: 5.788 MB / 4.078 GB, free: 59.62 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01154/14.39, allocations: 2.717 MB / 4.081 GB, free: 59.57 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/14.39, allocations: 4.375 kB / 4.081 GB, free: 59.57 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004386/14.39, allocations: 1.378 MB / 4.082 GB, free: 59.55 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006635/14.4, allocations: 0.6774 MB / 4.083 GB, free: 59.53 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/14.42, allocations: 4.219 MB / 4.087 GB, free: 58.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/14.42, allocations: 1.632 MB / 4.088 GB, free: 58.01 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006365/14.42, allocations: 1.528 MB / 4.09 GB, free: 57.98 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00171/14.43, allocations: 0.7938 MB / 4.091 GB, free: 57.97 MB / 0.5573 GB Notification: Performance of SimCode: time 1.854e-06/14.43, allocations: 2.125 kB / 4.091 GB, free: 57.97 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2234/14.65, allocations: 94.33 MB / 4.183 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002822/14.65, allocations: 246 kB / 4.183 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.377/22.03, allocations: 0 / 4.183 GB, free: 53.77 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat does not exist to compare? outputFormat=mat