Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.443/2.443, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.45e-05/3.469e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1635, allocations: 61.88 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.017/9.181, allocations: 2.823 GB / 3.224 GB, free: 22.92 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/9.181, allocations: 77.47 kB / 3.224 GB, free: 22.88 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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.268/13.45, allocations: 0.7563 GB / 3.98 GB, free: 45.39 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.824e-06/13.45, allocations: 0 / 3.98 GB, free: 45.39 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001522/13.45, allocations: 41.34 kB / 3.98 GB, free: 45.38 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.01653/13.47, allocations: 2.724 MB / 3.983 GB, free: 44.01 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/13.47, allocations: 7.75 kB / 3.983 GB, free: 44.01 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006723/13.47, allocations: 174.4 kB / 3.983 GB, free: 43.97 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00664/13.47, allocations: 0.5905 MB / 3.984 GB, free: 43.89 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003991/13.48, allocations: 1.077 MB / 3.985 GB, free: 43.56 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/13.48, allocations: 88.83 kB / 3.985 GB, free: 43.56 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004072/13.48, allocations: 111.2 kB / 3.985 GB, free: 43.56 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007519/13.49, allocations: 2.247 MB / 3.987 GB, free: 43.21 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.903e-05/13.49, allocations: 3.938 kB / 3.987 GB, free: 43.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002834/13.49, allocations: 48.91 kB / 3.987 GB, free: 43.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001702/13.49, allocations: 91.08 kB / 3.987 GB, free: 43.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007894/13.49, allocations: 2.247 MB / 3.99 GB, free: 43.17 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.02002/13.51, allocations: 9.188 MB / 3.999 GB, free: 38.11 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006371/13.52, allocations: 1.744 MB / 4 GB, free: 37.93 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001758/13.52, allocations: 0.6772 MB / 4.001 GB, free: 37.64 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07897/13.6, allocations: 24.52 MB / 4.025 GB, free: 21.59 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.458e-05/13.6, allocations: 49.38 kB / 4.025 GB, free: 21.54 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00208/13.6, allocations: 210.3 kB / 4.025 GB, free: 21.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=109): time 6.492e-06/13.6, allocations: 0 / 4.025 GB, free: 21.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=109): time 0.01387/13.62, allocations: 2.604 MB / 4.028 GB, free: 20.64 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.556e-05/13.62, allocations: 222.7 kB / 4.028 GB, free: 20.39 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/13.62, allocations: 0.8286 MB / 4.029 GB, free: 20.03 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004412/13.62, allocations: 47.92 kB / 4.029 GB, free: 19.98 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004914/13.62, allocations: 0.5565 MB / 4.029 GB, free: 19.54 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004769/13.62, allocations: 374.6 kB / 4.03 GB, free: 19.25 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/13.62, allocations: 23.69 kB / 4.03 GB, free: 19.23 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001521/13.62, allocations: 359.6 kB / 4.03 GB, free: 18.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/13.62, allocations: 0.5535 MB / 4.031 GB, free: 18.68 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/13.62, allocations: 0.9029 MB / 4.031 GB, free: 18.02 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/13.63, allocations: 0.6673 MB / 4.032 GB, free: 17.75 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/13.63, allocations: 7.156 kB / 4.032 GB, free: 17.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005272/13.63, allocations: 1.833 MB / 4.034 GB, free: 17.01 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009461/13.63, allocations: 3.743 MB / 4.038 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.013e-05/13.63, allocations: 15.84 kB / 4.038 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05545/13.69, allocations: 2.993 MB / 4.04 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002335/13.69, allocations: 271.5 kB / 4.041 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004181/13.69, allocations: 1.388 MB / 4.042 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003149/13.7, allocations: 146.9 kB / 4.042 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000387/13.7, allocations: 70.81 kB / 4.042 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/13.7, allocations: 3.969 kB / 4.042 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006003/13.7, allocations: 1.563 MB / 4.044 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-05/13.7, allocations: 15.12 kB / 4.044 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/13.71, allocations: 193.8 kB / 4.044 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/13.71, allocations: 351 kB / 4.044 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/13.71, allocations: 0.7344 MB / 4.045 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003151/13.71, allocations: 145.6 kB / 4.045 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004648/13.71, allocations: 67.45 kB / 4.045 GB, free: 9.281 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.0006012/13.71, allocations: 193.1 kB / 4.045 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004526/13.72, allocations: 130.2 kB / 4.046 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/13.73, allocations: 5.493 MB / 4.051 GB, free: 4.055 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.703e-05/13.73, allocations: 56.39 kB / 4.051 GB, free: 4.02 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/13.73, allocations: 3.609 kB / 4.051 GB, free: 4.02 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.14e-05/13.73, allocations: 7.609 kB / 4.051 GB, free: 4.016 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01704/13.74, allocations: 7.553 MB / 4.058 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-05/13.74, allocations: 0 / 4.058 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001971/13.75, allocations: 209.4 kB / 4.059 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05623/13.8, allocations: 4.288 MB / 4.063 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004497/13.8, allocations: 31.84 kB / 4.063 GB, free: 9.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007394/13.81, allocations: 2.35 MB / 4.065 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/13.81, allocations: 3.875 kB / 4.065 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/13.82, allocations: 3.502 MB / 4.069 GB, free: 4.547 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002599/13.82, allocations: 0.6448 MB / 4.069 GB, free: 3.992 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008305/13.83, allocations: 20 kB / 4.069 GB, free: 3.973 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003639/13.83, allocations: 136.5 kB / 4.069 GB, free: 3.867 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007118/13.83, allocations: 106.8 kB / 4.069 GB, free: 3.801 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002421/13.83, allocations: 43.89 kB / 4.069 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003667/13.83, allocations: 1.039 MB / 4.07 GB, free: 2.809 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.62e-07/13.83, allocations: 0 / 4.07 GB, free: 2.809 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01444/13.85, allocations: 1.96 MB / 4.072 GB, free: 0.8867 MB / 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.4889/14.34, allocations: 5.788 MB / 4.078 GB, free: 59.51 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01034/14.35, allocations: 2.719 MB / 4.081 GB, free: 59.46 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/14.35, allocations: 1.156 kB / 4.081 GB, free: 59.46 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003997/14.35, allocations: 1.378 MB / 4.082 GB, free: 59.44 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006846/14.36, allocations: 0.6768 MB / 4.083 GB, free: 59.42 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/14.37, allocations: 4.231 MB / 4.087 GB, free: 58.64 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00165/14.38, allocations: 1.625 MB / 4.088 GB, free: 57.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006687/14.38, allocations: 1.53 MB / 4.09 GB, free: 57.87 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00186/14.39, allocations: 0.7945 MB / 4.091 GB, free: 57.86 MB / 0.5573 GB Notification: Performance of SimCode: time 1.713e-06/14.39, allocations: 3.75 kB / 4.091 GB, free: 57.86 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2255/14.61, allocations: 94.31 MB / 4.183 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002794/14.61, allocations: 262.3 kB / 4.183 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.141/21.75, allocations: 0 / 4.183 GB, free: 53.68 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat does not exist to compare? outputFormat=mat