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.727/1.727, allocations: 171.2 MB / 183.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.11e-05/3.139e-05, allocations: 0 / 225.1 MB, free: 2.223 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2779, allocations: 38.77 MB / 263.8 MB, free: 9.711 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.542/7.82, allocations: 2.53 GB / 2.788 GB, free: 32.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/7.821, allocations: 81.27 kB / 2.788 GB, free: 32.8 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.734/11.55, allocations: 0.7241 GB / 3.512 GB, free: 9.875 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.424e-06/11.55, allocations: 0 / 3.512 GB, free: 9.875 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001562/11.55, allocations: 35.98 kB / 3.512 GB, free: 9.84 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.01523/11.57, allocations: 2.619 MB / 3.514 GB, free: 7.168 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/11.57, allocations: 8.031 kB / 3.514 GB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006303/11.57, allocations: 173.7 kB / 3.515 GB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006506/11.58, allocations: 0.5836 MB / 3.515 GB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003856/11.58, allocations: 1.093 MB / 3.516 GB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/11.58, allocations: 94.08 kB / 3.516 GB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003961/11.58, allocations: 108 kB / 3.516 GB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007294/11.59, allocations: 2.244 MB / 3.519 GB, free: 2.676 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/11.59, allocations: 7.938 kB / 3.519 GB, free: 2.668 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002674/11.59, allocations: 47.98 kB / 3.519 GB, free: 2.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001512/11.59, allocations: 89.95 kB / 3.519 GB, free: 2.531 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007537/11.6, allocations: 2.26 MB / 3.521 GB, free: 268 kB / 378.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.02114/11.62, allocations: 8.926 MB / 3.53 GB, free: 6.715 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00655/11.63, allocations: 1.656 MB / 3.531 GB, free: 5.062 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001944/11.63, allocations: 0.6429 MB / 3.532 GB, free: 4.426 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3713/12, allocations: 18.8 MB / 3.55 GB, free: 20.86 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/12, allocations: 43.47 kB / 3.55 GB, free: 20.82 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001821/12, allocations: 203.5 kB / 3.55 GB, free: 20.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=109): time 4.439e-06/12, allocations: 0 / 3.55 GB, free: 20.82 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.1198/12.12, allocations: 11.9 MB / 3.562 GB, free: 20.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/12.12, allocations: 228.8 kB / 3.562 GB, free: 19.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/12.12, allocations: 0.743 MB / 3.563 GB, free: 19.69 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006155/12.12, allocations: 54.95 kB / 3.563 GB, free: 19.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004965/12.12, allocations: 0.5929 MB / 3.564 GB, free: 19.42 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009506/12.12, allocations: 0.5304 MB / 3.564 GB, free: 19.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003294/12.12, allocations: 35.06 kB / 3.564 GB, free: 19.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/12.12, allocations: 376.3 kB / 3.565 GB, free: 18.85 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003449/12.13, allocations: 1.243 MB / 3.566 GB, free: 18.85 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003856/12.13, allocations: 1.697 MB / 3.567 GB, free: 18.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003959/12.14, allocations: 1.364 MB / 3.569 GB, free: 18.33 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.45e-05/12.14, allocations: 3.75 kB / 3.569 GB, free: 18.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01304/12.15, allocations: 4.104 MB / 3.573 GB, free: 18.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001041/12.15, allocations: 4.799 MB / 3.577 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-05/12.15, allocations: 18.75 kB / 3.578 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1623/12.31, allocations: 7.958 MB / 3.585 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003096/12.32, allocations: 380.6 kB / 3.586 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0175/12.33, allocations: 4.643 MB / 3.59 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006242/12.34, allocations: 243 kB / 3.59 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007562/12.34, allocations: 131.2 kB / 3.591 GB, free: 12.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/12.34, allocations: 5.688 kB / 3.591 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01482/12.36, allocations: 3.885 MB / 3.594 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.163e-05/12.36, allocations: 12.16 kB / 3.594 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01327/12.37, allocations: 2.65 MB / 3.597 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003804/12.37, allocations: 441.9 kB / 3.597 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/12.39, allocations: 4.066 MB / 3.601 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006177/12.39, allocations: 239.8 kB / 3.602 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008048/12.39, allocations: 128.3 kB / 3.602 GB, free: 10.98 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.001043/12.4, allocations: 208 kB / 3.602 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006525/12.4, allocations: 144.2 kB / 3.602 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02793/12.42, allocations: 8.918 MB / 3.611 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001005/12.42, allocations: 65.25 kB / 3.611 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/12.42, allocations: 0 / 3.611 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.675e-05/12.42, allocations: 9.891 kB / 3.611 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03127/12.46, allocations: 11.88 MB / 3.622 GB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.77e-05/12.46, allocations: 3.812 kB / 3.622 GB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002288/12.46, allocations: 276.9 kB / 3.623 GB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1446/12.6, allocations: 8.878 MB / 3.631 GB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005927/12.6, allocations: 65.84 kB / 3.631 GB, free: 9.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01668/12.62, allocations: 5.503 MB / 3.637 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/12.62, allocations: 0 / 3.637 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02463/12.65, allocations: 6.77 MB / 3.643 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002175/12.65, allocations: 0.6858 MB / 3.644 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006138/12.65, allocations: 36.5 kB / 3.644 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005203/12.65, allocations: 225.6 kB / 3.644 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000592/12.65, allocations: 140.3 kB / 3.644 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003482/12.65, allocations: 80.67 kB / 3.645 GB, free: 5.781 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001454/12.66, allocations: 0.7363 MB / 3.645 GB, free: 5.469 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/12.66, allocations: 0 / 3.645 GB, free: 5.469 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01034/12.67, allocations: 2.244 MB / 3.647 GB, free: 5.219 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.03704/12.7, allocations: 9.711 MB / 3.657 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.03178/12.73, allocations: 6.01 MB / 3.663 GB, free: 10.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/12.74, allocations: 1.625 kB / 3.663 GB, free: 10.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01369/12.75, allocations: 2.834 MB / 3.666 GB, free: 8.145 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005927/12.75, allocations: 0.5916 MB / 3.666 GB, free: 7.707 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6986/13.45, allocations: 125.3 MB / 3.788 GB, free: 45.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/13.45, allocations: 1.651 MB / 3.79 GB, free: 45.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005647/13.46, allocations: 1.515 MB / 3.792 GB, free: 45.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001671/13.46, allocations: 0.7867 MB / 3.792 GB, free: 45.04 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/13.46, allocations: 0 / 3.792 GB, free: 45.04 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5901/14.05, allocations: 129 MB / 3.918 GB, free: 48.21 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002559/14.05, allocations: 219.4 kB / 3.919 GB, free: 47.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.211/22.26, allocations: 0 / 3.919 GB, free: 47.98 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