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 1.94/1.94, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.417e-05/3.401e-05, allocations: 4 kB / 255.5 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09944/0.09951, allocations: 44.49 MB / 300 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.102/8.202, allocations: 2.64 GB / 2.933 GB, free: 61.69 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/8.202, allocations: 73.91 kB / 2.933 GB, free: 61.66 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.153/12.35, allocations: 0.7434 GB / 3.676 GB, free: 34.08 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.813e-06/12.35, allocations: 3 kB / 3.676 GB, free: 34.08 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001511/12.35, allocations: 38.16 kB / 3.676 GB, free: 34.08 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.01572/12.37, allocations: 2.726 MB / 3.679 GB, free: 32.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/12.37, allocations: 7.406 kB / 3.679 GB, free: 32.84 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006426/12.37, allocations: 172.9 kB / 3.679 GB, free: 32.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006935/12.38, allocations: 0.5972 MB / 3.679 GB, free: 32.72 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004028/12.38, allocations: 1.087 MB / 3.681 GB, free: 32.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/12.38, allocations: 92.11 kB / 3.681 GB, free: 32.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005561/12.38, allocations: 108.1 kB / 3.681 GB, free: 32.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008039/12.39, allocations: 2.245 MB / 3.683 GB, free: 32.04 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.984e-05/12.39, allocations: 6.562 kB / 3.683 GB, free: 32.04 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000314/12.39, allocations: 55.2 kB / 3.683 GB, free: 32.04 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001672/12.39, allocations: 81.38 kB / 3.683 GB, free: 32.04 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008632/12.4, allocations: 2.24 MB / 3.685 GB, free: 32.03 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.01855/12.42, allocations: 8.915 MB / 3.694 GB, free: 26.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005933/12.43, allocations: 1.638 MB / 3.696 GB, free: 26.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/12.43, allocations: 0.6398 MB / 3.696 GB, free: 26.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05781/12.48, allocations: 18.84 MB / 3.715 GB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/12.48, allocations: 53.75 kB / 3.715 GB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001962/12.49, allocations: 199.2 kB / 3.715 GB, free: 15.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=109): time 6.232e-06/12.49, allocations: 1.5 kB / 3.715 GB, free: 15.03 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.1213/12.61, allocations: 11.91 MB / 3.726 GB, free: 14.15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.734e-05/12.61, allocations: 229.6 kB / 3.727 GB, free: 13.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/12.61, allocations: 0.7382 MB / 3.727 GB, free: 13.74 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006807/12.61, allocations: 53.89 kB / 3.727 GB, free: 13.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005284/12.61, allocations: 0.5875 MB / 3.728 GB, free: 13.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001054/12.61, allocations: 0.5305 MB / 3.729 GB, free: 13.08 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003436/12.61, allocations: 35.5 kB / 3.729 GB, free: 13.08 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/12.61, allocations: 380 kB / 3.729 GB, free: 12.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003494/12.62, allocations: 1.241 MB / 3.73 GB, free: 12.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004103/12.62, allocations: 1.693 MB / 3.732 GB, free: 12.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004276/12.62, allocations: 1.366 MB / 3.733 GB, free: 12.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.981e-05/12.62, allocations: 3.719 kB / 3.733 GB, free: 12.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01382/12.64, allocations: 4.066 MB / 3.737 GB, free: 12.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002432/12.64, allocations: 4.796 MB / 3.742 GB, free: 23.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.843e-05/12.64, allocations: 10.44 kB / 3.742 GB, free: 23.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.166/12.81, allocations: 7.958 MB / 3.75 GB, free: 22.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003216/12.81, allocations: 383.7 kB / 3.75 GB, free: 22.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01828/12.83, allocations: 4.643 MB / 3.754 GB, free: 21.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006455/12.84, allocations: 248.5 kB / 3.755 GB, free: 21.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008543/12.84, allocations: 132.3 kB / 3.755 GB, free: 21.84 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/12.84, allocations: 3.562 kB / 3.755 GB, free: 21.84 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01457/12.85, allocations: 3.851 MB / 3.759 GB, free: 21.78 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.455e-05/12.85, allocations: 16.84 kB / 3.759 GB, free: 21.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01344/12.86, allocations: 2.637 MB / 3.761 GB, free: 21.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0039/12.87, allocations: 445.7 kB / 3.762 GB, free: 21.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/12.88, allocations: 4.07 MB / 3.766 GB, free: 20.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006242/12.89, allocations: 244.2 kB / 3.766 GB, free: 20.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008706/12.89, allocations: 124.7 kB / 3.766 GB, free: 20.62 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.001048/12.89, allocations: 217.1 kB / 3.766 GB, free: 20.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006332/12.89, allocations: 139.8 kB / 3.766 GB, free: 20.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02872/12.92, allocations: 8.92 MB / 3.775 GB, free: 19.78 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001269/12.92, allocations: 63.67 kB / 3.775 GB, free: 19.78 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/12.92, allocations: 0 / 3.775 GB, free: 19.78 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.634e-05/12.92, allocations: 10.64 kB / 3.775 GB, free: 19.78 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0332/12.96, allocations: 11.88 MB / 3.787 GB, free: 17.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.032e-05/12.96, allocations: 7.531 kB / 3.787 GB, free: 17.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002342/12.96, allocations: 266.7 kB / 3.787 GB, free: 17.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1473/13.11, allocations: 8.873 MB / 3.796 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005893/13.11, allocations: 65.19 kB / 3.796 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01771/13.12, allocations: 5.497 MB / 3.801 GB, free: 7.742 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/13.12, allocations: 6.062 kB / 3.801 GB, free: 7.738 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02718/13.15, allocations: 6.752 MB / 3.808 GB, free: 1.836 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002454/13.15, allocations: 0.696 MB / 3.808 GB, free: 1.23 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008257/13.15, allocations: 28 kB / 3.808 GB, free: 1.203 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005669/13.16, allocations: 235.8 kB / 3.809 GB, free: 1.031 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007238/13.16, allocations: 133.6 kB / 3.809 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004091/13.16, allocations: 79.78 kB / 3.809 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001762/13.16, allocations: 0.737 MB / 3.809 GB, free: 224 kB / 458.7 MB Notification: Performance of sort global known variables: time 6.41e-07/13.16, allocations: 0 / 3.809 GB, free: 224 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.3772/13.54, allocations: 2.257 MB / 3.812 GB, free: 47.45 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.04219/13.58, allocations: 9.733 MB / 3.821 GB, free: 45.76 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03074/13.61, allocations: 5.965 MB / 3.827 GB, free: 45.71 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/13.61, allocations: 0 / 3.827 GB, free: 45.71 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01312/13.63, allocations: 2.813 MB / 3.83 GB, free: 45.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005933/13.63, allocations: 0.5881 MB / 3.83 GB, free: 45.67 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3749/14.01, allocations: 127 MB / 3.954 GB, free: 18.97 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/14.01, allocations: 1.65 MB / 3.956 GB, free: 17.64 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005211/14.01, allocations: 1.519 MB / 3.957 GB, free: 16.73 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/14.02, allocations: 0.7813 MB / 3.958 GB, free: 16.63 MB / 458.7 MB Notification: Performance of SimCode: time 2.094e-06/14.02, allocations: 0 / 3.958 GB, free: 16.63 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6898/14.71, allocations: 129.3 MB / 4.084 GB, free: 25.81 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002928/14.71, allocations: 215.1 kB / 4.085 GB, free: 25.59 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.299/24, allocations: 0 / 4.085 GB, free: 25.59 MB / 458.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