Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.InverseParameterization,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_InverseParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.075/2.075, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.139e-05/4.157e-05, allocations: 4 kB / 269.4 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.113, allocations: 47.58 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.88/8.993, allocations: 2.808 GB / 3.118 GB, free: 85.02 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/8.994, allocations: 73.91 kB / 3.118 GB, free: 84.98 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/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 3.813/12.81, allocations: 0.7479 GB / 3.866 GB, free: 12.44 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.074e-06/12.81, allocations: 4 kB / 3.866 GB, free: 12.43 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001861/12.81, allocations: 35.98 kB / 3.866 GB, free: 12.4 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.01752/12.82, allocations: 2.716 MB / 3.869 GB, free: 9.629 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/12.82, allocations: 8.031 kB / 3.869 GB, free: 9.621 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007705/12.82, allocations: 173.1 kB / 3.869 GB, free: 9.441 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007035/12.83, allocations: 0.603 MB / 3.869 GB, free: 8.836 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004327/12.84, allocations: 1.068 MB / 3.87 GB, free: 7.723 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/12.84, allocations: 94.14 kB / 3.87 GB, free: 7.629 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004662/12.84, allocations: 105 kB / 3.871 GB, free: 7.527 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008627/12.85, allocations: 2.244 MB / 3.873 GB, free: 5.152 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.548e-05/12.85, allocations: 4.281 kB / 3.873 GB, free: 5.148 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003218/12.85, allocations: 51.94 kB / 3.873 GB, free: 5.098 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002022/12.85, allocations: 86 kB / 3.873 GB, free: 5.012 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009112/12.86, allocations: 2.249 MB / 3.875 GB, free: 2.758 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.3943/13.25, allocations: 9.188 MB / 3.884 GB, free: 29.37 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006468/13.26, allocations: 1.737 MB / 3.886 GB, free: 29.34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002068/13.26, allocations: 0.6797 MB / 3.886 GB, free: 29.33 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08092/13.34, allocations: 24.52 MB / 3.91 GB, free: 30.42 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.566e-05/13.34, allocations: 43.81 kB / 3.91 GB, free: 30.38 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002121/13.34, allocations: 216.2 kB / 3.911 GB, free: 30.35 MB / 474.7 MB Notification: Performance of pre-optimization done (n=109): time 5.781e-06/13.34, allocations: 1.75 kB / 3.911 GB, free: 30.35 MB / 474.7 MB Notification: Performance of matching and sorting (n=109): time 0.01293/13.35, allocations: 2.598 MB / 3.913 GB, free: 30.22 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/13.35, allocations: 222 kB / 3.913 GB, free: 29.97 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/13.36, allocations: 0.8277 MB / 3.914 GB, free: 29.81 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004218/13.36, allocations: 46.11 kB / 3.914 GB, free: 29.78 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005074/13.36, allocations: 0.5604 MB / 3.915 GB, free: 29.58 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005432/13.36, allocations: 376.8 kB / 3.915 GB, free: 29.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/13.36, allocations: 23.88 kB / 3.915 GB, free: 29.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001897/13.36, allocations: 356.6 kB / 3.915 GB, free: 29.09 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/13.36, allocations: 0.5439 MB / 3.916 GB, free: 29.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/13.36, allocations: 0.9045 MB / 3.917 GB, free: 28.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/13.36, allocations: 0.6681 MB / 3.918 GB, free: 28.69 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.597e-05/13.36, allocations: 3.969 kB / 3.918 GB, free: 28.69 MB / 474.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00538/13.37, allocations: 1.829 MB / 3.919 GB, free: 28.56 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001667/13.37, allocations: 3.752 MB / 3.923 GB, free: 24.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.776e-05/13.37, allocations: 10.19 kB / 3.923 GB, free: 24.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05349/13.42, allocations: 2.984 MB / 3.926 GB, free: 24.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/13.43, allocations: 279.9 kB / 3.926 GB, free: 24.65 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004182/13.43, allocations: 1.394 MB / 3.928 GB, free: 24.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003018/13.43, allocations: 139.4 kB / 3.928 GB, free: 24.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003471/13.43, allocations: 76.92 kB / 3.928 GB, free: 24.11 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/13.43, allocations: 5.938 kB / 3.928 GB, free: 24.11 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005797/13.44, allocations: 1.557 MB / 3.929 GB, free: 24.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.799e-05/13.44, allocations: 9.5 kB / 3.929 GB, free: 24.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/13.44, allocations: 194.7 kB / 3.929 GB, free: 24.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003184/13.45, allocations: 348.8 kB / 3.93 GB, free: 24.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/13.45, allocations: 0.7407 MB / 3.931 GB, free: 23.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002937/13.45, allocations: 144.5 kB / 3.931 GB, free: 23.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005349/13.45, allocations: 67.16 kB / 3.931 GB, free: 23.54 MB / 474.7 MB 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.0007019/13.45, allocations: 195.4 kB / 3.931 GB, free: 23.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004978/13.45, allocations: 127.7 kB / 3.931 GB, free: 23.37 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/13.46, allocations: 5.495 MB / 3.936 GB, free: 22.89 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-05/13.46, allocations: 56.44 kB / 3.936 GB, free: 22.89 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/13.46, allocations: 3.469 kB / 3.936 GB, free: 22.89 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.213e-05/13.46, allocations: 7.594 kB / 3.936 GB, free: 22.89 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/13.48, allocations: 7.536 MB / 3.944 GB, free: 22.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/13.48, allocations: 0 / 3.944 GB, free: 22.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/13.48, allocations: 213.2 kB / 3.944 GB, free: 22.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04698/13.53, allocations: 4.28 MB / 3.948 GB, free: 22.22 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003724/13.53, allocations: 25.03 kB / 3.948 GB, free: 22.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004402/13.53, allocations: 2.343 MB / 3.95 GB, free: 21.66 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/13.53, allocations: 3.375 kB / 3.95 GB, free: 21.66 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007002/13.54, allocations: 3.506 MB / 3.954 GB, free: 21.15 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001795/13.54, allocations: 0.6475 MB / 3.955 GB, free: 20.87 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005006/13.54, allocations: 26 kB / 3.955 GB, free: 20.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002262/13.54, allocations: 126 kB / 3.955 GB, free: 20.86 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003264/13.55, allocations: 100 kB / 3.955 GB, free: 20.86 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/13.55, allocations: 44.22 kB / 3.955 GB, free: 20.86 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002108/13.55, allocations: 1.039 MB / 3.956 GB, free: 20.74 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.683e-06/13.55, allocations: 0.9844 kB / 3.956 GB, free: 20.74 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009821/13.56, allocations: 1.95 MB / 3.958 GB, free: 20.64 MB / 474.7 MB 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.01873/13.58, allocations: 5.796 MB / 3.963 GB, free: 19.36 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008841/13.59, allocations: 2.723 MB / 3.966 GB, free: 19.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/13.59, allocations: 0 / 3.966 GB, free: 19.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00365/13.59, allocations: 1.381 MB / 3.967 GB, free: 19.27 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006413/13.6, allocations: 0.6703 MB / 3.968 GB, free: 19.22 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/13.61, allocations: 4.222 MB / 3.972 GB, free: 18.34 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/13.61, allocations: 1.626 MB / 3.974 GB, free: 17.57 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004715/13.62, allocations: 1.532 MB / 3.975 GB, free: 17.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001488/13.62, allocations: 0.7958 MB / 3.976 GB, free: 17.49 MB / 474.7 MB Notification: Performance of SimCode: time 1.473e-06/13.62, allocations: 0 / 3.976 GB, free: 17.49 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6222/14.24, allocations: 94.17 MB / 4.068 GB, free: 57.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002632/14.24, allocations: 217.1 kB / 4.068 GB, free: 57.38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.246/21.49, allocations: 3.125 kB / 4.068 GB, free: 57.38 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Fluid.Examples.InverseParameterization_res.mat does not exist to compare? outputFormat=mat