Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.InverseParameterization,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_InverseParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.264/2.264, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.867e-05/2.852e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3423, allocations: 44.49 MB / 294.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.813/8.155, allocations: 2.639 GB / 2.926 GB, free: 16.33 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/8.155, allocations: 81.56 kB / 2.926 GB, free: 16.29 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 4.274/12.43, allocations: 0.7368 GB / 3.663 GB, free: 26.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.775e-06/12.43, allocations: 0 / 3.663 GB, free: 26.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002145/12.43, allocations: 43.69 kB / 3.663 GB, free: 26.86 MB / 426.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.01737/12.45, allocations: 2.715 MB / 3.666 GB, free: 25.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/12.45, allocations: 10.53 kB / 3.666 GB, free: 25.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007251/12.45, allocations: 0.6021 MB / 3.666 GB, free: 25.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004221/12.46, allocations: 1.089 MB / 3.668 GB, free: 25.08 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/12.46, allocations: 43.91 kB / 3.668 GB, free: 25.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005567/12.46, allocations: 60.97 kB / 3.668 GB, free: 25.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00507/12.47, allocations: 1.75 MB / 3.669 GB, free: 25.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004969/12.47, allocations: 1.542 MB / 3.671 GB, free: 24.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.715e-05/12.47, allocations: 1.969 kB / 3.671 GB, free: 24.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002626/12.47, allocations: 6.219 kB / 3.671 GB, free: 24.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001874/12.47, allocations: 85.48 kB / 3.671 GB, free: 24.73 MB / 426.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.9096/13.38, allocations: 136.7 MB / 3.804 GB, free: 23.13 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003869/13.38, allocations: 1.051 MB / 3.805 GB, free: 23.09 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/13.39, allocations: 0.5322 MB / 3.806 GB, free: 23.07 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05658/13.44, allocations: 17.42 MB / 3.823 GB, free: 11.64 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.253e-05/13.44, allocations: 45.92 kB / 3.823 GB, free: 11.6 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001918/13.44, allocations: 174.7 kB / 3.823 GB, free: 11.59 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 1.018e-05/13.44, allocations: 0 / 3.823 GB, free: 11.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=129): time 0.1185/13.56, allocations: 9.744 MB / 3.833 GB, free: 11 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/13.56, allocations: 233.6 kB / 3.833 GB, free: 10.74 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/13.56, allocations: 0.7367 MB / 3.834 GB, free: 10.59 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006364/13.57, allocations: 25.7 kB / 3.834 GB, free: 10.56 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007124/13.57, allocations: 0.6559 MB / 3.834 GB, free: 10.29 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009684/13.57, allocations: 422.8 kB / 3.835 GB, free: 10.07 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003845/13.57, allocations: 0 / 3.835 GB, free: 10.07 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002169/13.57, allocations: 370.2 kB / 3.835 GB, free: 9.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003325/13.57, allocations: 1.264 MB / 3.836 GB, free: 9.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003859/13.58, allocations: 1.703 MB / 3.838 GB, free: 9.266 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/13.59, allocations: 1.894 MB / 3.84 GB, free: 9.219 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.8e-05/13.59, allocations: 3.938 kB / 3.84 GB, free: 9.219 MB / 458.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.02185/13.61, allocations: 4.667 MB / 3.844 GB, free: 9.051 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002579/13.61, allocations: 4.793 MB / 3.849 GB, free: 20.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.98e-05/13.61, allocations: 13.81 kB / 3.849 GB, free: 20.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02401/13.64, allocations: 3.957 MB / 3.853 GB, free: 19.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002609/13.64, allocations: 325.6 kB / 3.853 GB, free: 19.92 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02287/13.66, allocations: 5.755 MB / 3.859 GB, free: 18.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007524/13.67, allocations: 282 kB / 3.859 GB, free: 18.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009308/13.67, allocations: 122 kB / 3.859 GB, free: 18.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/13.67, allocations: 3.781 kB / 3.859 GB, free: 18.8 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02008/13.69, allocations: 2.9 MB / 3.862 GB, free: 18.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.144e-05/13.69, allocations: 12.66 kB / 3.862 GB, free: 18.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004368/13.69, allocations: 0.578 MB / 3.863 GB, free: 18.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004103/13.7, allocations: 453.8 kB / 3.863 GB, free: 18.67 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004927/13.7, allocations: 1.785 MB / 3.865 GB, free: 17.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0041/13.71, allocations: 183.8 kB / 3.865 GB, free: 17.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006433/13.71, allocations: 97.38 kB / 3.865 GB, free: 17.61 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.orifice.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate in design flow direction" type: Real $DER.pipe1.flowModel.states[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy" type: Real [2] $DER.pipe1.flowModel.mus_act[1]:DUMMY_DER(fixed = false ) "Actual viscosity per segment" type: Real [1] $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real 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,pump.heatTransfer.states[1].phase,source.medium.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 (154): * Single equations (assignments): 152 * 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 {5 21,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.001417/13.71, allocations: 174.1 kB / 3.865 GB, free: 17.49 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01881/13.73, allocations: 4.114 MB / 3.869 GB, free: 17.33 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/13.73, allocations: 128.8 kB / 3.869 GB, free: 17.27 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02257/13.75, allocations: 6.68 MB / 3.876 GB, free: 16.62 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.384e-05/13.75, allocations: 36.77 kB / 3.876 GB, free: 16.61 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/13.75, allocations: 0 / 3.876 GB, free: 16.61 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.142e-05/13.75, allocations: 8.062 kB / 3.876 GB, free: 16.61 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02805/13.78, allocations: 8.988 MB / 3.885 GB, free: 12.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.11e-05/13.78, allocations: 0 / 3.885 GB, free: 12.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/13.78, allocations: 149.2 kB / 3.885 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0187/13.8, allocations: 5.235 MB / 3.89 GB, free: 9.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005557/13.8, allocations: 43.91 kB / 3.89 GB, free: 9.145 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02331/13.82, allocations: 6.901 MB / 3.897 GB, free: 5.398 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.228e-05/13.83, allocations: 7.953 kB / 3.897 GB, free: 5.391 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02062/13.85, allocations: 5.651 MB / 3.902 GB, free: 2.359 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002458/13.85, allocations: 0.6253 MB / 3.903 GB, free: 1.984 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001041/13.85, allocations: 4 kB / 3.903 GB, free: 1.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006194/13.86, allocations: 199.6 kB / 3.903 GB, free: 1.84 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006337/13.86, allocations: 96.06 kB / 3.903 GB, free: 1.797 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000414/13.86, allocations: 76.27 kB / 3.903 GB, free: 1.758 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001886/13.86, allocations: 0.7788 MB / 3.904 GB, free: 1.285 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.11e-07/13.86, allocations: 0 / 3.904 GB, free: 1.285 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.3822/14.24, allocations: 2.097 MB / 3.906 GB, free: 74.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse21.phase,$cse21.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {5 21,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.03476/14.28, allocations: 8.296 MB / 3.914 GB, free: 73.14 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0215/14.3, allocations: 4.806 MB / 3.919 GB, free: 73.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/14.3, allocations: 2.031 kB / 3.919 GB, free: 73.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01139/14.31, allocations: 2.177 MB / 3.921 GB, free: 73.07 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005155/14.31, allocations: 481.4 kB / 3.921 GB, free: 73.07 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/14.33, allocations: 4.222 MB / 3.926 GB, free: 72.42 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/14.33, allocations: 1.459 MB / 3.927 GB, free: 71.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005922/14.34, allocations: 1.691 MB / 3.929 GB, free: 71.67 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/14.34, allocations: 0.6319 MB / 3.929 GB, free: 71.66 MB / 474.7 MB Notification: Performance of SimCode: time 1.793e-06/14.34, allocations: 0 / 3.929 GB, free: 71.66 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2553/14.59, allocations: 104.8 MB / 4.032 GB, free: 47.07 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002651/14.59, allocations: 160.3 kB / 4.032 GB, free: 46.88 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/22.51, allocations: 0 / 4.032 GB, free: 46.88 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization_res.mat does not exist to compare? outputFormat=mat