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.088/2.088, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.529e-05/3.54e-05, allocations: 4 kB / 255.4 MB, free: 2.641 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1041, allocations: 44.51 MB / 300 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.953/8.058, allocations: 2.64 GB / 2.933 GB, free: 91.16 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/8.058, allocations: 71.22 kB / 2.933 GB, free: 91.15 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.116/12.17, allocations: 0.7434 GB / 3.676 GB, free: 33.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.335e-06/12.17, allocations: 1.641 kB / 3.676 GB, free: 33.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002063/12.17, allocations: 39.47 kB / 3.676 GB, free: 33.38 MB / 442.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.0174/12.19, allocations: 2.717 MB / 3.679 GB, free: 32.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/12.19, allocations: 9.438 kB / 3.679 GB, free: 32.34 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008327/12.19, allocations: 174.1 kB / 3.679 GB, free: 32.29 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007203/12.2, allocations: 0.6044 MB / 3.679 GB, free: 32.21 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004438/12.2, allocations: 1.085 MB / 3.681 GB, free: 31.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002607/12.2, allocations: 92.98 kB / 3.681 GB, free: 31.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00066/12.21, allocations: 106.6 kB / 3.681 GB, free: 31.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008797/12.21, allocations: 2.253 MB / 3.683 GB, free: 31.53 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.359e-05/12.21, allocations: 12.23 kB / 3.683 GB, free: 31.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003339/12.21, allocations: 52.84 kB / 3.683 GB, free: 31.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001881/12.21, allocations: 82.64 kB / 3.683 GB, free: 31.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008723/12.22, allocations: 2.267 MB / 3.685 GB, free: 31.5 MB / 442.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.01917/12.24, allocations: 8.911 MB / 3.694 GB, free: 26.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005981/12.25, allocations: 1.653 MB / 3.696 GB, free: 26.38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00182/12.25, allocations: 0.636 MB / 3.696 GB, free: 26.37 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05738/12.31, allocations: 18.84 MB / 3.715 GB, free: 14.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/12.31, allocations: 46.27 kB / 3.715 GB, free: 14.59 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002005/12.31, allocations: 213.5 kB / 3.715 GB, free: 14.53 MB / 442.7 MB Notification: Performance of pre-optimization done (n=109): time 6.482e-06/12.31, allocations: 0.9375 kB / 3.715 GB, free: 14.53 MB / 442.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.1184/12.43, allocations: 11.91 MB / 3.726 GB, free: 13.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.786e-05/12.43, allocations: 223.2 kB / 3.727 GB, free: 13.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/12.43, allocations: 0.743 MB / 3.727 GB, free: 13.26 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006238/12.43, allocations: 56.17 kB / 3.727 GB, free: 13.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000459/12.43, allocations: 0.5899 MB / 3.728 GB, free: 12.94 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007843/12.43, allocations: 0.5314 MB / 3.729 GB, free: 12.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003263/12.43, allocations: 32.41 kB / 3.729 GB, free: 12.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/12.43, allocations: 380.5 kB / 3.729 GB, free: 12.29 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003232/12.44, allocations: 1.243 MB / 3.73 GB, free: 12.29 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003709/12.44, allocations: 1.701 MB / 3.732 GB, free: 11.78 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004018/12.44, allocations: 1.365 MB / 3.733 GB, free: 11.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.816e-05/12.44, allocations: 7.188 kB / 3.733 GB, free: 11.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.0131/12.46, allocations: 4.092 MB / 3.737 GB, free: 11.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002208/12.46, allocations: 4.792 MB / 3.742 GB, free: 22.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.2e-05/12.46, allocations: 12.81 kB / 3.742 GB, free: 22.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.164/12.62, allocations: 7.962 MB / 3.75 GB, free: 22.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003205/12.63, allocations: 388.7 kB / 3.75 GB, free: 22.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01786/12.64, allocations: 4.645 MB / 3.755 GB, free: 21.53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006343/12.65, allocations: 248.1 kB / 3.755 GB, free: 21.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006224/12.65, allocations: 125.4 kB / 3.755 GB, free: 21.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/12.65, allocations: 3.844 kB / 3.755 GB, free: 21.52 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01382/12.67, allocations: 3.889 MB / 3.759 GB, free: 21.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.574e-05/12.67, allocations: 11.56 kB / 3.759 GB, free: 21.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01319/12.68, allocations: 2.646 MB / 3.761 GB, free: 21.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003825/12.68, allocations: 445.8 kB / 3.762 GB, free: 21.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01533/12.7, allocations: 4.064 MB / 3.766 GB, free: 20.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006225/12.7, allocations: 247 kB / 3.766 GB, free: 20.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007157/12.71, allocations: 133.7 kB / 3.766 GB, free: 20.4 MB / 458.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.0009709/12.71, allocations: 209.5 kB / 3.766 GB, free: 20.29 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006299/12.71, allocations: 133.6 kB / 3.766 GB, free: 20.22 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02795/12.73, allocations: 8.921 MB / 3.775 GB, free: 19.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001159/12.73, allocations: 64.39 kB / 3.775 GB, free: 19.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/12.73, allocations: 0 / 3.775 GB, free: 19.66 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.771e-05/12.73, allocations: 10.8 kB / 3.775 GB, free: 19.66 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03284/12.77, allocations: 11.89 MB / 3.787 GB, free: 18.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.906e-05/12.77, allocations: 0 / 3.787 GB, free: 18.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002329/12.77, allocations: 274 kB / 3.787 GB, free: 18.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1457/12.92, allocations: 8.879 MB / 3.796 GB, free: 18.55 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005988/12.92, allocations: 60.72 kB / 3.796 GB, free: 18.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.017/12.93, allocations: 5.506 MB / 3.801 GB, free: 16.99 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/12.93, allocations: 0 / 3.801 GB, free: 16.99 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02412/12.96, allocations: 6.757 MB / 3.808 GB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002374/12.96, allocations: 0.684 MB / 3.808 GB, free: 13.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007749/12.96, allocations: 35.78 kB / 3.808 GB, free: 13.58 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005311/12.97, allocations: 225.5 kB / 3.809 GB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006419/12.97, allocations: 138.9 kB / 3.809 GB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003495/12.97, allocations: 79.28 kB / 3.809 GB, free: 13.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00152/12.97, allocations: 0.7361 MB / 3.81 GB, free: 13.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.533e-06/12.97, allocations: 4 kB / 3.81 GB, free: 13.18 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01191/12.98, allocations: 2.264 MB / 3.812 GB, free: 12.73 MB / 458.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.03893/13.02, allocations: 9.733 MB / 3.821 GB, free: 4.453 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03507/13.06, allocations: 6.178 MB / 3.827 GB, free: 15.65 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/13.06, allocations: 0 / 3.827 GB, free: 15.65 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0138/13.07, allocations: 2.83 MB / 3.83 GB, free: 13.19 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005998/13.08, allocations: 0.5848 MB / 3.831 GB, free: 12.76 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.731/13.81, allocations: 127.4 MB / 3.955 GB, free: 49.73 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/13.81, allocations: 1.65 MB / 3.957 GB, free: 48.96 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005508/13.81, allocations: 1.514 MB / 3.958 GB, free: 48.86 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001767/13.81, allocations: 0.7894 MB / 3.959 GB, free: 48.85 MB / 474.7 MB Notification: Performance of SimCode: time 1.282e-06/13.81, allocations: 0 / 3.959 GB, free: 48.85 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6644/14.48, allocations: 129.2 MB / 4.085 GB, free: 52.62 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002737/14.48, allocations: 218.7 kB / 4.085 GB, free: 52.39 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.761/23.24, allocations: 0 / 4.085 GB, free: 52.39 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