Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.473/2.473, allocations: 235 MB / 247.2 MB, free: 14.3 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.87e-05/3.885e-05, allocations: 6.5 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4322, allocations: 54.85 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.146/8.578, allocations: 2.649 GB / 3 GB, free: 114.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/8.579, allocations: 78.83 kB / 3 GB, free: 114.7 MB / 490.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.044/12.62, allocations: 0.7436 GB / 3.744 GB, free: 34.89 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.723e-06/12.62, allocations: 0 / 3.744 GB, free: 34.89 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001661/12.62, allocations: 41.88 kB / 3.744 GB, free: 34.88 MB / 0.4948 GB 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.0161/12.64, allocations: 2.719 MB / 3.747 GB, free: 33.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/12.64, allocations: 9.625 kB / 3.747 GB, free: 33.57 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006749/12.64, allocations: 171.8 kB / 3.747 GB, free: 33.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006715/12.65, allocations: 0.595 MB / 3.747 GB, free: 33.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004052/12.65, allocations: 1.09 MB / 3.748 GB, free: 33.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/12.65, allocations: 100.8 kB / 3.749 GB, free: 33.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003937/12.65, allocations: 105.3 kB / 3.749 GB, free: 33.11 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007728/12.66, allocations: 2.23 MB / 3.751 GB, free: 32.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.386e-05/12.66, allocations: 2.531 kB / 3.751 GB, free: 32.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002868/12.66, allocations: 57.39 kB / 3.751 GB, free: 32.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001665/12.66, allocations: 81.38 kB / 3.751 GB, free: 32.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008007/12.67, allocations: 2.236 MB / 3.753 GB, free: 32.76 MB / 0.4948 GB 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.01913/12.69, allocations: 8.93 MB / 3.762 GB, free: 27.63 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006095/12.69, allocations: 1.647 MB / 3.763 GB, free: 27.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/12.69, allocations: 0.6301 MB / 3.764 GB, free: 27.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05905/12.75, allocations: 18.85 MB / 3.783 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.036e-05/12.75, allocations: 48.31 kB / 3.783 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00204/12.76, allocations: 198.2 kB / 3.783 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=109): time 7.865e-06/12.76, allocations: 0 / 3.783 GB, free: 15.73 MB / 0.4948 GB 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.1226/12.88, allocations: 11.89 MB / 3.794 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/12.88, allocations: 229.3 kB / 3.795 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/12.88, allocations: 0.7406 MB / 3.795 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007229/12.88, allocations: 53.95 kB / 3.795 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001284/12.88, allocations: 0.5934 MB / 3.796 GB, free: 29.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001167/12.88, allocations: 0.5371 MB / 3.796 GB, free: 29.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003586/12.88, allocations: 32.88 kB / 3.797 GB, free: 29.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002649/12.88, allocations: 377 kB / 3.797 GB, free: 29.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003474/12.89, allocations: 1.241 MB / 3.798 GB, free: 29.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003928/12.89, allocations: 1.689 MB / 3.8 GB, free: 28.81 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004071/12.9, allocations: 1.369 MB / 3.801 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.741e-05/12.9, allocations: 3.562 kB / 3.801 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01331/12.91, allocations: 4.063 MB / 3.805 GB, free: 28.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001904/12.91, allocations: 4.794 MB / 3.81 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.255e-05/12.91, allocations: 15.22 kB / 3.81 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1661/13.08, allocations: 7.959 MB / 3.817 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003173/13.08, allocations: 381.2 kB / 3.818 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01783/13.1, allocations: 4.636 MB / 3.822 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006494/13.11, allocations: 248.4 kB / 3.823 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007633/13.11, allocations: 126.6 kB / 3.823 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/13.11, allocations: 4.781 kB / 3.823 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0146/13.12, allocations: 3.868 MB / 3.827 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-05/13.12, allocations: 15.2 kB / 3.827 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01325/13.13, allocations: 2.635 MB / 3.829 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003841/13.14, allocations: 443.6 kB / 3.83 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01542/13.15, allocations: 4.075 MB / 3.834 GB, free: 20.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006176/13.16, allocations: 245.8 kB / 3.834 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006092/13.16, allocations: 123.9 kB / 3.834 GB, free: 20.55 MB / 0.5105 GB 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.0009491/13.16, allocations: 208.5 kB / 3.834 GB, free: 20.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005749/13.16, allocations: 138.5 kB / 3.834 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02749/13.19, allocations: 8.919 MB / 3.843 GB, free: 16.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001108/13.19, allocations: 64 kB / 3.843 GB, free: 16.46 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/13.19, allocations: 4 kB / 3.843 GB, free: 16.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.455e-05/13.19, allocations: 10.5 kB / 3.843 GB, free: 16.46 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03277/13.22, allocations: 11.88 MB / 3.855 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.412e-05/13.22, allocations: 0 / 3.855 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002514/13.22, allocations: 271.9 kB / 3.855 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1554/13.38, allocations: 9.057 MB / 3.864 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009038/13.38, allocations: 82.02 kB / 3.864 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01887/13.4, allocations: 5.515 MB / 3.869 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/13.4, allocations: 4 kB / 3.869 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02737/13.43, allocations: 6.755 MB / 3.876 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002411/13.43, allocations: 0.6856 MB / 3.876 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006156/13.43, allocations: 36 kB / 3.876 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005386/13.44, allocations: 232.5 kB / 3.877 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005628/13.44, allocations: 125.5 kB / 3.877 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003629/13.44, allocations: 85.98 kB / 3.877 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001699/13.44, allocations: 0.7354 MB / 3.878 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.31e-07/13.44, allocations: 0 / 3.878 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0121/13.45, allocations: 2.265 MB / 3.88 GB, free: 1.387 MB / 0.5261 GB 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.5201/13.97, allocations: 9.764 MB / 3.889 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03278/14, allocations: 5.967 MB / 3.895 GB, free: 63.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/14, allocations: 0 / 3.895 GB, free: 63.59 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0142/14.02, allocations: 2.815 MB / 3.898 GB, free: 63.56 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006034/14.02, allocations: 0.5983 MB / 3.899 GB, free: 63.55 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3467/14.37, allocations: 127.1 MB / 4.023 GB, free: 48.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/14.37, allocations: 1.653 MB / 4.024 GB, free: 47.37 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005308/14.38, allocations: 1.511 MB / 4.026 GB, free: 46.46 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001574/14.38, allocations: 0.7912 MB / 4.026 GB, free: 46.36 MB / 0.5261 GB Notification: Performance of SimCode: time 3.196e-06/14.38, allocations: 0 / 4.026 GB, free: 46.36 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8966/15.28, allocations: 129.3 MB / 4.153 GB, free: 56.19 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002775/15.28, allocations: 245.9 kB / 4.153 GB, free: 55.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.453/23.73, allocations: 4.75 kB / 4.153 GB, free: 55.85 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat does not exist to compare? outputFormat=mat