Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.InverseParameterization,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_InverseParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.839/1.839, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.528e-05/3.549e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2944, allocations: 38.77 MB / 263.9 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.79/8.085, allocations: 2.53 GB / 2.788 GB, free: 32.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/8.085, allocations: 74.97 kB / 2.788 GB, free: 32.52 MB / 362.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 3.861/11.95, allocations: 0.7241 GB / 3.512 GB, free: 8.711 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.286e-06/11.95, allocations: 0 / 3.512 GB, free: 8.711 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001344/11.95, allocations: 43.88 kB / 3.512 GB, free: 8.668 MB / 378.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.01483/11.96, allocations: 2.619 MB / 3.514 GB, free: 5.996 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/11.96, allocations: 8.031 kB / 3.514 GB, free: 5.988 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006239/11.96, allocations: 185.5 kB / 3.515 GB, free: 5.797 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006368/11.97, allocations: 0.5836 MB / 3.515 GB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003681/11.97, allocations: 1.085 MB / 3.516 GB, free: 4.078 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/11.97, allocations: 90.14 kB / 3.516 GB, free: 3.988 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003061/11.97, allocations: 108 kB / 3.516 GB, free: 3.883 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006777/11.98, allocations: 2.236 MB / 3.519 GB, free: 1.516 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.458e-05/11.98, allocations: 7.938 kB / 3.519 GB, free: 1.508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002567/11.98, allocations: 51.97 kB / 3.519 GB, free: 1.457 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001466/11.98, allocations: 85.95 kB / 3.519 GB, free: 1.371 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007485/11.99, allocations: 2.237 MB / 3.521 GB, free: 15.12 MB / 394.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.02/12.01, allocations: 8.919 MB / 3.53 GB, free: 5.586 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006292/12.01, allocations: 1.639 MB / 3.531 GB, free: 3.949 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001825/12.02, allocations: 0.6434 MB / 3.532 GB, free: 3.312 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3779/12.39, allocations: 18.8 MB / 3.55 GB, free: 20.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.695e-05/12.39, allocations: 44.94 kB / 3.55 GB, free: 20.41 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00208/12.4, allocations: 202 kB / 3.55 GB, free: 20.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=109): time 6.543e-06/12.4, allocations: 2.375 kB / 3.55 GB, free: 20.41 MB / 394.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.1213/12.52, allocations: 11.91 MB / 3.562 GB, free: 19.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.717e-05/12.52, allocations: 229.6 kB / 3.562 GB, free: 19.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/12.52, allocations: 0.7422 MB / 3.563 GB, free: 19.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006616/12.52, allocations: 54.48 kB / 3.563 GB, free: 19.24 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005793/12.52, allocations: 0.5908 MB / 3.564 GB, free: 19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001099/12.52, allocations: 0.5324 MB / 3.564 GB, free: 18.74 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003613/12.52, allocations: 35.88 kB / 3.564 GB, free: 18.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/12.52, allocations: 370.9 kB / 3.565 GB, free: 18.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003576/12.53, allocations: 1.247 MB / 3.566 GB, free: 18.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004067/12.53, allocations: 1.688 MB / 3.567 GB, free: 17.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004098/12.53, allocations: 1.365 MB / 3.569 GB, free: 17.92 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.932e-05/12.53, allocations: 7.031 kB / 3.569 GB, free: 17.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01366/12.55, allocations: 4.063 MB / 3.573 GB, free: 17.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001127/12.55, allocations: 4.79 MB / 3.577 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.562e-05/12.55, allocations: 14.7 kB / 3.577 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1658/12.71, allocations: 7.965 MB / 3.585 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003199/12.72, allocations: 385.2 kB / 3.586 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01767/12.74, allocations: 4.642 MB / 3.59 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006468/12.74, allocations: 245.5 kB / 3.59 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008291/12.74, allocations: 129.6 kB / 3.59 GB, free: 11.69 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/12.74, allocations: 5 kB / 3.59 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01488/12.76, allocations: 3.856 MB / 3.594 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.255e-05/12.76, allocations: 13.12 kB / 3.594 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01345/12.77, allocations: 2.636 MB / 3.597 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00394/12.78, allocations: 446.6 kB / 3.597 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01519/12.79, allocations: 4.071 MB / 3.601 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006339/12.8, allocations: 248.5 kB / 3.601 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007449/12.8, allocations: 125.6 kB / 3.602 GB, free: 10.57 MB / 394.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.0009995/12.8, allocations: 210.1 kB / 3.602 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006634/12.8, allocations: 145.5 kB / 3.602 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02824/12.83, allocations: 8.913 MB / 3.611 GB, free: 9.887 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001154/12.83, allocations: 72.72 kB / 3.611 GB, free: 9.887 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/12.83, allocations: 0 / 3.611 GB, free: 9.887 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.519e-05/12.83, allocations: 10.5 kB / 3.611 GB, free: 9.887 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03377/12.86, allocations: 11.87 MB / 3.622 GB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.94e-05/12.86, allocations: 1.781 kB / 3.622 GB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002378/12.86, allocations: 277 kB / 3.623 GB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1486/13.01, allocations: 8.87 MB / 3.631 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006317/13.01, allocations: 61.77 kB / 3.631 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01694/13.03, allocations: 5.511 MB / 3.637 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/13.03, allocations: 3.719 kB / 3.637 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02516/13.06, allocations: 6.765 MB / 3.643 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00234/13.06, allocations: 0.6866 MB / 3.644 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007396/13.06, allocations: 30.78 kB / 3.644 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005566/13.06, allocations: 231 kB / 3.644 GB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006714/13.07, allocations: 128.9 kB / 3.644 GB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003761/13.07, allocations: 81.97 kB / 3.644 GB, free: 5.188 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001518/13.07, allocations: 0.7388 MB / 3.645 GB, free: 4.875 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.443e-06/13.07, allocations: 0 / 3.645 GB, free: 4.875 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01181/13.08, allocations: 2.247 MB / 3.647 GB, free: 4.621 MB / 394.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.03856/13.12, allocations: 9.722 MB / 3.657 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0326/13.15, allocations: 5.968 MB / 3.663 GB, free: 9.859 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/13.15, allocations: 4.125 kB / 3.663 GB, free: 9.855 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01407/13.16, allocations: 2.808 MB / 3.665 GB, free: 7.402 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006101/13.17, allocations: 0.5773 MB / 3.666 GB, free: 6.977 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7294/13.9, allocations: 125.3 MB / 3.788 GB, free: 45.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/13.9, allocations: 1.65 MB / 3.79 GB, free: 45.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005878/13.91, allocations: 1.509 MB / 3.791 GB, free: 44.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001738/13.91, allocations: 0.7962 MB / 3.792 GB, free: 44.95 MB / 426.7 MB Notification: Performance of SimCode: time 1.863e-06/13.91, allocations: 0 / 3.792 GB, free: 44.95 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6105/14.52, allocations: 129.1 MB / 3.918 GB, free: 48.07 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002871/14.52, allocations: 218 kB / 3.918 GB, free: 47.84 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.746/23.27, allocations: 3.938 kB / 3.918 GB, free: 47.84 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization_res.mat does not exist to compare? outputFormat=mat