Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.397/2.397, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.631e-05/3.662e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4348/0.4348, allocations: 54.85 MB / 359.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.234/8.669, allocations: 2.649 GB / 3 GB, free: 114.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/8.669, allocations: 74.78 kB / 3 GB, free: 114.3 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.066/12.74, allocations: 0.7435 GB / 3.744 GB, free: 35.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.695e-06/12.74, allocations: 3.266 kB / 3.744 GB, free: 35.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002585/12.74, allocations: 47.2 kB / 3.744 GB, free: 35.01 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.02113/12.76, allocations: 2.719 MB / 3.747 GB, free: 33.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.825e-05/12.76, allocations: 10.59 kB / 3.747 GB, free: 33.7 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009668/12.76, allocations: 172 kB / 3.747 GB, free: 33.65 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/12.77, allocations: 0.5983 MB / 3.747 GB, free: 33.58 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005659/12.77, allocations: 1.085 MB / 3.748 GB, free: 33.24 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002909/12.77, allocations: 101.5 kB / 3.749 GB, free: 33.24 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008847/12.78, allocations: 107.3 kB / 3.749 GB, free: 33.24 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01282/12.79, allocations: 2.242 MB / 3.751 GB, free: 32.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001082/12.79, allocations: 3.188 kB / 3.751 GB, free: 32.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007737/12.79, allocations: 50.81 kB / 3.751 GB, free: 32.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002618/12.79, allocations: 87.69 kB / 3.751 GB, free: 32.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009478/12.8, allocations: 2.261 MB / 3.753 GB, free: 32.87 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.01743/12.82, allocations: 8.925 MB / 3.762 GB, free: 27.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005889/12.82, allocations: 1.657 MB / 3.764 GB, free: 27.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/12.82, allocations: 0.6364 MB / 3.764 GB, free: 27.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05613/12.88, allocations: 18.84 MB / 3.783 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.577e-05/12.88, allocations: 49.62 kB / 3.783 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001918/12.88, allocations: 200.1 kB / 3.783 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=109): time 4.909e-06/12.88, allocations: 0.5938 kB / 3.783 GB, free: 15.83 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.1189/13, allocations: 11.91 MB / 3.794 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/13, allocations: 225.5 kB / 3.795 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/13, allocations: 0.7487 MB / 3.795 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006551/13, allocations: 52.17 kB / 3.795 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004794/13, allocations: 0.59 MB / 3.796 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008481/13.01, allocations: 0.5336 MB / 3.796 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/13.01, allocations: 35.06 kB / 3.797 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007859/13.01, allocations: 375.5 kB / 3.797 GB, free: 29.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003509/13.01, allocations: 1.241 MB / 3.798 GB, free: 29.42 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003969/13.01, allocations: 1.704 MB / 3.8 GB, free: 28.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00406/13.02, allocations: 1.368 MB / 3.801 GB, free: 28.87 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.839e-05/13.02, allocations: 3.719 kB / 3.801 GB, free: 28.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01333/13.03, allocations: 4.093 MB / 3.805 GB, free: 28.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001966/13.03, allocations: 4.798 MB / 3.81 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.194e-05/13.03, allocations: 12.19 kB / 3.81 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1673/13.2, allocations: 7.957 MB / 3.818 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003119/13.2, allocations: 380.1 kB / 3.818 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01785/13.22, allocations: 4.638 MB / 3.822 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006199/13.23, allocations: 251.4 kB / 3.823 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006774/13.23, allocations: 134.5 kB / 3.823 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/13.23, allocations: 7.406 kB / 3.823 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01421/13.24, allocations: 3.9 MB / 3.827 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-05/13.24, allocations: 13.5 kB / 3.827 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01318/13.26, allocations: 2.636 MB / 3.829 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003829/13.26, allocations: 446.2 kB / 3.83 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/13.28, allocations: 4.071 MB / 3.834 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006189/13.28, allocations: 241.8 kB / 3.834 GB, free: 20.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007502/13.28, allocations: 124.3 kB / 3.834 GB, free: 20.58 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.001024/13.28, allocations: 218.5 kB / 3.834 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006441/13.28, allocations: 137.3 kB / 3.834 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02841/13.31, allocations: 8.91 MB / 3.843 GB, free: 16.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001112/13.31, allocations: 65.28 kB / 3.843 GB, free: 16.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/13.31, allocations: 1.406 kB / 3.843 GB, free: 16.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.094e-05/13.31, allocations: 10.27 kB / 3.843 GB, free: 16.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03426/13.35, allocations: 11.88 MB / 3.855 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-05/13.35, allocations: 4 kB / 3.855 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002462/13.35, allocations: 275.6 kB / 3.855 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1512/13.5, allocations: 9.091 MB / 3.864 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009182/13.5, allocations: 82.53 kB / 3.864 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01915/13.52, allocations: 5.517 MB / 3.869 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/13.52, allocations: 4 kB / 3.869 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02702/13.55, allocations: 6.757 MB / 3.876 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002616/13.55, allocations: 0.6815 MB / 3.877 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006329/13.55, allocations: 36 kB / 3.877 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00524/13.56, allocations: 231.1 kB / 3.877 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005564/13.56, allocations: 130.9 kB / 3.877 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003733/13.56, allocations: 83.08 kB / 3.877 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001716/13.56, allocations: 0.7386 MB / 3.878 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.61e-07/13.56, allocations: 0 / 3.878 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01209/13.57, allocations: 2.261 MB / 3.88 GB, free: 1.391 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.5261/14.1, allocations: 9.756 MB / 3.889 GB, free: 63.83 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03307/14.13, allocations: 6.021 MB / 3.895 GB, free: 63.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/14.13, allocations: 0 / 3.895 GB, free: 63.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01422/14.15, allocations: 2.834 MB / 3.898 GB, free: 63.74 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006014/14.15, allocations: 0.5939 MB / 3.899 GB, free: 63.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3807/14.53, allocations: 127.1 MB / 4.023 GB, free: 48.71 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/14.53, allocations: 1.649 MB / 4.024 GB, free: 47.38 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00531/14.54, allocations: 1.514 MB / 4.026 GB, free: 46.47 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/14.54, allocations: 0.7846 MB / 4.027 GB, free: 46.38 MB / 0.5261 GB Notification: Performance of SimCode: time 1.833e-06/14.54, allocations: 4 kB / 4.027 GB, free: 46.37 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.741/15.28, allocations: 129.3 MB / 4.153 GB, free: 56.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003012/15.28, allocations: 241.8 kB / 4.153 GB, free: 56.21 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.226/23.51, allocations: 0 / 4.153 GB, free: 56.21 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat does not exist to compare? outputFormat=mat