Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.065/2.065, allocations: 209.4 MB / 216.5 MB, free: 6.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.161e-05/2.178e-05, allocations: 0 / 267.6 MB, free: 4.957 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 48.69 MB / 316.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.657/7.769, allocations: 2.538 GB / 2.847 GB, free: 54.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/7.769, allocations: 83.31 kB / 2.847 GB, free: 54.35 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.74/11.51, allocations: 0.718 GB / 3.565 GB, free: 6.473 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.713e-06/11.51, allocations: 0 / 3.565 GB, free: 6.473 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001876/11.51, allocations: 39.91 kB / 3.565 GB, free: 6.438 MB / 458.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.01643/11.53, allocations: 2.626 MB / 3.567 GB, free: 3.773 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/11.53, allocations: 8.031 kB / 3.567 GB, free: 3.766 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006843/11.53, allocations: 0.5767 MB / 3.568 GB, free: 3.188 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00422/11.54, allocations: 1.082 MB / 3.569 GB, free: 2.082 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/11.54, allocations: 51.98 kB / 3.569 GB, free: 2.031 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004499/11.54, allocations: 64.33 kB / 3.569 GB, free: 1.969 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005131/11.54, allocations: 1.746 MB / 3.571 GB, free: 224 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3686/11.91, allocations: 1.544 MB / 3.572 GB, free: 33.08 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/11.91, allocations: 4 kB / 3.572 GB, free: 33.08 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002231/11.91, allocations: 4.703 kB / 3.572 GB, free: 33.08 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002058/11.91, allocations: 80.88 kB / 3.572 GB, free: 33.07 MB / 458.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.5188/12.43, allocations: 136.6 MB / 3.706 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00348/12.43, allocations: 1.041 MB / 3.707 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/12.44, allocations: 0.5356 MB / 3.707 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05398/12.49, allocations: 17.41 MB / 3.724 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.533e-05/12.49, allocations: 48.38 kB / 3.724 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001821/12.49, allocations: 175.8 kB / 3.724 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=91): time 5.77e-06/12.49, allocations: 7.25 kB / 3.724 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=129): time 0.1139/12.61, allocations: 9.746 MB / 3.734 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/12.61, allocations: 218.9 kB / 3.734 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/12.61, allocations: 0.7422 MB / 3.735 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006072/12.61, allocations: 29.7 kB / 3.735 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005491/12.61, allocations: 0.6454 MB / 3.736 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007872/12.61, allocations: 428.2 kB / 3.736 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003366/12.61, allocations: 0 / 3.736 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002021/12.61, allocations: 366 kB / 3.736 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003056/12.61, allocations: 1.27 MB / 3.738 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003449/12.62, allocations: 1.703 MB / 3.739 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/12.63, allocations: 1.89 MB / 3.741 GB, free: 8.836 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.781e-05/12.63, allocations: 2.156 kB / 3.741 GB, free: 8.836 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01975/12.65, allocations: 4.674 MB / 3.746 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.3787/13.03, allocations: 4.786 MB / 3.75 GB, free: 94.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-05/13.03, allocations: 15.72 kB / 3.75 GB, free: 94.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02503/13.05, allocations: 3.962 MB / 3.754 GB, free: 94.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00266/13.05, allocations: 324.9 kB / 3.755 GB, free: 94.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0225/13.08, allocations: 5.757 MB / 3.76 GB, free: 93.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007236/13.08, allocations: 280 kB / 3.76 GB, free: 93.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007238/13.08, allocations: 127.6 kB / 3.761 GB, free: 93.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/13.08, allocations: 4.469 kB / 3.761 GB, free: 93.46 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01957/13.1, allocations: 2.899 MB / 3.763 GB, free: 93.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.109e-05/13.1, allocations: 12.25 kB / 3.763 GB, free: 93.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004356/13.11, allocations: 0.5695 MB / 3.764 GB, free: 93.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004221/13.11, allocations: 453.9 kB / 3.764 GB, free: 93.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004661/13.12, allocations: 1.784 MB / 3.766 GB, free: 92.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003892/13.12, allocations: 186.1 kB / 3.766 GB, free: 92.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003424/13.12, allocations: 98.83 kB / 3.766 GB, free: 92.38 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.orifice.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate in design flow direction" type: Real $DER.pipe1.flowModel.states[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy" type: Real [2] $DER.pipe1.flowModel.mus_act[1]:DUMMY_DER(fixed = false ) "Actual viscosity per segment" type: Real [1] $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real 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,pump.heatTransfer.states[1].phase,source.medium.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 (154): * Single equations (assignments): 152 * 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 {5 21,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.001041/13.12, allocations: 167 kB / 3.767 GB, free: 92.27 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01689/13.14, allocations: 4.115 MB / 3.771 GB, free: 92.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007725/13.14, allocations: 128.7 kB / 3.771 GB, free: 92.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02147/13.16, allocations: 6.675 MB / 3.777 GB, free: 91.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.185e-05/13.16, allocations: 39.23 kB / 3.777 GB, free: 91.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/13.16, allocations: 3.953 kB / 3.777 GB, free: 91.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.764e-05/13.16, allocations: 7.547 kB / 3.777 GB, free: 91.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02724/13.19, allocations: 8.986 MB / 3.786 GB, free: 91.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.492e-05/13.19, allocations: 0 / 3.786 GB, free: 91.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/13.19, allocations: 150.7 kB / 3.786 GB, free: 91.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01783/13.21, allocations: 5.244 MB / 3.791 GB, free: 91.24 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005387/13.21, allocations: 41.31 kB / 3.791 GB, free: 91.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02085/13.23, allocations: 6.906 MB / 3.798 GB, free: 90.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/13.23, allocations: 5.172 kB / 3.798 GB, free: 90.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01859/13.25, allocations: 5.649 MB / 3.804 GB, free: 89.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002275/13.25, allocations: 0.6189 MB / 3.804 GB, free: 89.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008539/13.25, allocations: 6.797 kB / 3.804 GB, free: 89.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005719/13.26, allocations: 200 kB / 3.804 GB, free: 89.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005066/13.26, allocations: 95.17 kB / 3.805 GB, free: 89.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003278/13.26, allocations: 69.77 kB / 3.805 GB, free: 89.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001561/13.26, allocations: 0.7777 MB / 3.805 GB, free: 89.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.51e-07/13.26, allocations: 3 kB / 3.805 GB, free: 89.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01058/13.27, allocations: 2.051 MB / 3.807 GB, free: 89.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse21.phase,$cse21.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {5 21,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.03022/13.3, allocations: 8.29 MB / 3.815 GB, free: 87.85 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02075/13.32, allocations: 4.809 MB / 3.82 GB, free: 87.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/13.32, allocations: 2.656 kB / 3.82 GB, free: 87.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01072/13.33, allocations: 2.178 MB / 3.822 GB, free: 87.76 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005461/13.34, allocations: 487.8 kB / 3.823 GB, free: 87.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/13.35, allocations: 4.204 MB / 3.827 GB, free: 87.01 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/13.35, allocations: 1.455 MB / 3.828 GB, free: 86.29 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005247/13.36, allocations: 1.699 MB / 3.83 GB, free: 86.26 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/13.36, allocations: 0.6336 MB / 3.831 GB, free: 86.25 MB / 0.5105 GB Notification: Performance of SimCode: time 1.012e-06/13.36, allocations: 0 / 3.831 GB, free: 86.25 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6193/13.98, allocations: 104.6 MB / 3.933 GB, free: 91.85 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002797/13.98, allocations: 201.8 kB / 3.933 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.186/21.17, allocations: 0 / 3.933 GB, free: 91.59 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat does not exist to compare? outputFormat=mat