Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_SeriesPipes13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.995/1.995, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.321e-05/4.332e-05, allocations: 0 / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1438, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.202/8.346, allocations: 2.548 GB / 2.862 GB, free: 7.57 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/8.346, allocations: 73.34 kB / 2.862 GB, free: 7.535 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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 4.816/13.16, allocations: 0.8401 GB / 3.702 GB, free: 33.05 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.374e-06/13.16, allocations: 0 / 3.702 GB, free: 33.05 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000363/13.16, allocations: 68.47 kB / 3.702 GB, free: 33.04 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 510 * Number of variables: 510 Notification: Performance of Generate backend data structure: time 0.01986/13.18, allocations: 3.732 MB / 3.706 GB, free: 30.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/13.18, allocations: 7.625 kB / 3.706 GB, free: 30.98 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001388/13.18, allocations: 291.7 kB / 3.706 GB, free: 30.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009294/13.19, allocations: 0.8209 MB / 3.707 GB, free: 30.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009639/13.2, allocations: 2.095 MB / 3.709 GB, free: 29.64 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003591/13.2, allocations: 179.8 kB / 3.709 GB, free: 29.57 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/13.2, allocations: 198.2 kB / 3.709 GB, free: 29.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01173/13.22, allocations: 3.531 MB / 3.713 GB, free: 28.02 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.225e-05/13.22, allocations: 6.906 kB / 3.713 GB, free: 28.01 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004316/13.22, allocations: 88.3 kB / 3.713 GB, free: 27.96 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003098/13.22, allocations: 166.8 kB / 3.713 GB, free: 27.93 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0113/13.23, allocations: 3.12 MB / 3.716 GB, free: 26.43 MB / 474.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.03437/13.26, allocations: 15.04 MB / 3.731 GB, free: 11.33 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007515/13.27, allocations: 2.207 MB / 3.733 GB, free: 9.129 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002539/13.27, allocations: 1.037 MB / 3.734 GB, free: 8.094 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4859/13.76, allocations: 18.83 MB / 3.752 GB, free: 28.02 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009572/13.77, allocations: 1.626 MB / 3.754 GB, free: 27.93 MB / 474.7 MB Notification: Performance of pre-optimization done (n=153): time 8.586e-06/13.77, allocations: 0 / 3.754 GB, free: 27.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=169): time 0.03365/13.8, allocations: 6.945 MB / 3.761 GB, free: 27.28 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/13.8, allocations: 279.3 kB / 3.761 GB, free: 26.96 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004602/13.81, allocations: 1.396 MB / 3.762 GB, free: 26.79 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006836/13.81, allocations: 59.7 kB / 3.762 GB, free: 26.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001589/13.81, allocations: 0.9825 MB / 3.763 GB, free: 26.44 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00128/13.81, allocations: 0.581 MB / 3.764 GB, free: 26.15 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000344/13.81, allocations: 40.72 kB / 3.764 GB, free: 26.15 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002271/13.81, allocations: 383.6 kB / 3.764 GB, free: 25.84 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003295/13.81, allocations: 1.035 MB / 3.765 GB, free: 25.84 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003889/13.82, allocations: 1.526 MB / 3.767 GB, free: 25.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003708/13.82, allocations: 1.272 MB / 3.768 GB, free: 25.24 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.532e-05/13.82, allocations: 4.281 kB / 3.768 GB, free: 25.24 MB / 474.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01213/13.83, allocations: 3.622 MB / 3.771 GB, free: 25.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001335/13.84, allocations: 5.33 MB / 3.777 GB, free: 19.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001275/13.84, allocations: 15.53 kB / 3.777 GB, free: 19.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02391/13.86, allocations: 2.751 MB / 3.779 GB, free: 19.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002644/13.86, allocations: 312.6 kB / 3.78 GB, free: 19.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008983/13.87, allocations: 3.297 MB / 3.783 GB, free: 18.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004517/13.88, allocations: 258.4 kB / 3.783 GB, free: 18.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007863/13.88, allocations: 102.6 kB / 3.783 GB, free: 18.81 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/13.88, allocations: 4.281 kB / 3.783 GB, free: 18.81 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01091/13.89, allocations: 3.221 MB / 3.786 GB, free: 18.72 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.465e-05/13.89, allocations: 15.45 kB / 3.786 GB, free: 18.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01115/13.9, allocations: 1.625 MB / 3.788 GB, free: 18.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002823/13.9, allocations: 353.8 kB / 3.788 GB, free: 18.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006082/13.91, allocations: 2.568 MB / 3.791 GB, free: 18.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004265/13.91, allocations: 261.8 kB / 3.791 GB, free: 18.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007994/13.91, allocations: 104 kB / 3.791 GB, free: 18.13 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 22 (pipe3.state_a.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase,valve.state_b.phase,valve.state_a.phase,pipe1.state_a.phase,$whenCondition1,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[1].phase,pipe2.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,pipe3.statesFM[2].phase,pipe3.state_b.phase,pipe2.state_b.phase,pipe2.state_a.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 158 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 86} Notification: Performance of prepare postOptimizeDAE: time 0.001248/13.92, allocations: 259 kB / 3.791 GB, free: 17.99 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009526/13.92, allocations: 200.2 kB / 3.792 GB, free: 17.89 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01695/13.93, allocations: 7.694 MB / 3.799 GB, free: 17.19 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000118/13.93, allocations: 85.78 kB / 3.799 GB, free: 17.19 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/13.93, allocations: 6.141 kB / 3.799 GB, free: 17.18 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01297/13.95, allocations: 6.603 MB / 3.806 GB, free: 16.33 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02374/13.97, allocations: 10.82 MB / 3.816 GB, free: 15.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.636e-05/13.97, allocations: 0 / 3.816 GB, free: 15.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00344/13.97, allocations: 404.1 kB / 3.817 GB, free: 15.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002041/13.98, allocations: 352.1 kB / 3.817 GB, free: 15.56 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005626/13.98, allocations: 62.38 kB / 3.817 GB, free: 15.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/13.98, allocations: 2.566 MB / 3.82 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/13.98, allocations: 6.375 kB / 3.82 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01474/13.99, allocations: 6.896 MB / 3.826 GB, free: 12.85 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002516/14, allocations: 0.7447 MB / 3.827 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/14, allocations: 51 kB / 3.827 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004529/14, allocations: 202.2 kB / 3.827 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001008/14, allocations: 142.6 kB / 3.827 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000576/14, allocations: 67.05 kB / 3.827 GB, free: 12.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004482/14.01, allocations: 1.166 MB / 3.829 GB, free: 12.34 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.102e-06/14.01, allocations: 1.75 kB / 3.829 GB, free: 12.34 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.02018/14.03, allocations: 2.746 MB / 3.831 GB, free: 12.22 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (pipe1.mediums[1].p,pipe1.mediums[1].h,valve.filter.x[1],valve.filter.x[2],pipe2.mediums[1].p,pipe2.mediums[1].h,pipe2.mediums[2].p,pipe2.mediums[2].h,pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 53 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse22.phase,$cse22.region,$cse24.region3boundary,$cse25.region3boundary,$cse26.phase,$cse26.region,$cse27.region3boundary,$cse28.region3boundary,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,$cse39.region3boundary,$cse40.region3boundary,$cse41.phase,$cse41.region,$cse43.phase,$cse43.region,$whenCondition1,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[1].phase,pipe2.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,pipe3.statesFM[2].phase) * Number of discrete states: 5 (valveOpening1.last,valveOpening1.nextEvent,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (197): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 25 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0353/14.06, allocations: 10.18 MB / 3.841 GB, free: 10.86 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0137/14.08, allocations: 4.991 MB / 3.846 GB, free: 10.55 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/14.08, allocations: 0 / 3.846 GB, free: 10.55 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005561/14.08, allocations: 2.328 MB / 3.848 GB, free: 9.883 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008207/14.09, allocations: 0.8641 MB / 3.849 GB, free: 9.703 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8969/14.99, allocations: 127.6 MB / 3.974 GB, free: 60.24 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002963/14.99, allocations: 2.304 MB / 3.976 GB, free: 59.47 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008227/15, allocations: 1.903 MB / 3.978 GB, free: 59.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002858/15, allocations: 1.283 MB / 3.979 GB, free: 59.44 MB / 0.4948 GB Notification: Performance of SimCode: time 2.335e-06/15, allocations: 3.938 kB / 3.979 GB, free: 59.44 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3853/15.39, allocations: 128.5 MB / 4.105 GB, free: 2.316 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002544/15.39, allocations: 226.5 kB / 4.105 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.329/24.72, allocations: 0 / 4.105 GB, free: 2.09 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13_res.mat does not exist to compare? outputFormat=mat