Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestPipesAndValves_SeriesPipes1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.359/2.359, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.602e-05/3.606e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3945, allocations: 54.86 MB / 359.9 MB, free: 2.773 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.531/8.925, allocations: 2.658 GB / 3.009 GB, free: 114 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/8.925, allocations: 79.05 kB / 3.01 GB, free: 114 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.86/13.79, allocations: 0.7972 GB / 3.807 GB, free: 29.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.074e-06/13.79, allocations: 0 / 3.807 GB, free: 29.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002952/13.79, allocations: 65.59 kB / 3.807 GB, free: 29.38 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: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.0176/13.8, allocations: 3.844 MB / 3.811 GB, free: 27.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/13.8, allocations: 11.38 kB / 3.811 GB, free: 27.52 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001098/13.8, allocations: 290.8 kB / 3.811 GB, free: 27.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008831/13.81, allocations: 0.8481 MB / 3.812 GB, free: 27.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00837/13.82, allocations: 2.091 MB / 3.814 GB, free: 26.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003069/13.82, allocations: 178.6 kB / 3.814 GB, free: 26.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009544/13.82, allocations: 193.4 kB / 3.814 GB, free: 26.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0116/13.83, allocations: 3.541 MB / 3.817 GB, free: 26.28 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.57e-05/13.83, allocations: 7.281 kB / 3.818 GB, free: 26.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004372/13.84, allocations: 95.47 kB / 3.818 GB, free: 26.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003049/13.84, allocations: 159 kB / 3.818 GB, free: 26.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/13.85, allocations: 3.131 MB / 3.821 GB, free: 26.23 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.03013/13.88, allocations: 15.07 MB / 3.836 GB, free: 17.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007341/13.88, allocations: 2.204 MB / 3.838 GB, free: 16.83 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002474/13.89, allocations: 1.042 MB / 3.839 GB, free: 16.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05996/13.95, allocations: 18.87 MB / 3.857 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006159/13.95, allocations: 1.641 MB / 3.859 GB, free: 19.26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=155): time 6.492e-06/13.95, allocations: 0 / 3.859 GB, free: 19.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=171): time 0.03452/13.99, allocations: 7.548 MB / 3.866 GB, free: 16.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000223/13.99, allocations: 278.8 kB / 3.866 GB, free: 16.26 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002963/13.99, allocations: 1.407 MB / 3.868 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005457/13.99, allocations: 57.7 kB / 3.868 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009976/13.99, allocations: 0.9702 MB / 3.869 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008554/13.99, allocations: 0.5965 MB / 3.869 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/13.99, allocations: 40 kB / 3.869 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002227/13.99, allocations: 382.4 kB / 3.87 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002631/14, allocations: 1.041 MB / 3.871 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002966/14, allocations: 1.528 MB / 3.872 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003528/14, allocations: 1.278 MB / 3.873 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-05/14, allocations: 4 kB / 3.873 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.009841/14.01, allocations: 3.063 MB / 3.876 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.003013/14.02, allocations: 5.328 MB / 3.882 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.422e-05/14.02, allocations: 17.64 kB / 3.882 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001458/14.02, allocations: 255.1 kB / 3.882 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004698/14.02, allocations: 0.5182 MB / 3.882 GB, free: 492 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002573/14.02, allocations: 2.498 MB / 3.885 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004286/14.03, allocations: 260 kB / 3.885 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006676/14.03, allocations: 105.6 kB / 3.885 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/14.03, allocations: 4 kB / 3.885 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0091/14.04, allocations: 2.793 MB / 3.888 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.067e-05/14.04, allocations: 12 kB / 3.888 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/14.04, allocations: 270.5 kB / 3.888 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004586/14.05, allocations: 0.5058 MB / 3.889 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/14.05, allocations: 2.501 MB / 3.891 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004806/14.05, allocations: 253.8 kB / 3.891 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000848/14.05, allocations: 102.1 kB / 3.892 GB, free: 7.781 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 23 (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,valveOpening1.nextEventScaled,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 (251): * Single equations (assignments): 244 * 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: 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 prepare postOptimizeDAE: time 0.001214/14.05, allocations: 271.7 kB / 3.892 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009533/14.06, allocations: 205.5 kB / 3.892 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02428/14.08, allocations: 7.681 MB / 3.899 GB, free: 440 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001699/14.08, allocations: 89.84 kB / 3.9 GB, free: 384 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.907e-05/14.08, allocations: 0 / 3.9 GB, free: 384 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4536/14.53, allocations: 6.853 MB / 3.906 GB, free: 58.63 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02589/14.56, allocations: 10.81 MB / 3.917 GB, free: 58.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/14.56, allocations: 0 / 3.917 GB, free: 58.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003628/14.56, allocations: 404.1 kB / 3.917 GB, free: 58.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002082/14.57, allocations: 352.6 kB / 3.918 GB, free: 58 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005194/14.57, allocations: 62.25 kB / 3.918 GB, free: 58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/14.57, allocations: 2.575 MB / 3.92 GB, free: 55.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/14.57, allocations: 0.7656 kB / 3.92 GB, free: 55.94 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01447/14.58, allocations: 6.895 MB / 3.927 GB, free: 55.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002495/14.59, allocations: 0.7485 MB / 3.928 GB, free: 55.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008161/14.59, allocations: 51.88 kB / 3.928 GB, free: 55.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003349/14.59, allocations: 202.4 kB / 3.928 GB, free: 55.33 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006069/14.59, allocations: 146.8 kB / 3.928 GB, free: 55.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002476/14.59, allocations: 73.09 kB / 3.928 GB, free: 55.33 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002788/14.59, allocations: 1.165 MB / 3.929 GB, free: 55.17 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.022e-06/14.59, allocations: 1.438 kB / 3.929 GB, free: 55.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01343/14.61, allocations: 2.764 MB / 3.932 GB, free: 55.17 MB / 0.5261 GB 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: 54 ($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,valveOpening1.nextEventScaled,pipe3.statesFM[2].phase) * Number of discrete states: 6 (valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,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.03021/14.64, allocations: 10.2 MB / 3.942 GB, free: 53.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01431/14.65, allocations: 5.013 MB / 3.947 GB, free: 53.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/14.65, allocations: 0 / 3.947 GB, free: 53.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005764/14.66, allocations: 2.369 MB / 3.949 GB, free: 53.58 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008054/14.67, allocations: 0.8613 MB / 3.95 GB, free: 53.55 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3731/15.04, allocations: 129.4 MB / 4.076 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002525/15.04, allocations: 2.307 MB / 4.078 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009785/15.05, allocations: 2.834 MB / 4.081 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003254/15.05, allocations: 1.309 MB / 4.083 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of SimCode: time 2.525e-06/15.05, allocations: 0 / 4.083 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8675/15.92, allocations: 119.1 MB / 4.199 GB, free: 47.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/15.92, allocations: 228.7 kB / 4.199 GB, free: 46.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.848/24.77, allocations: 5.25 kB / 4.199 GB, free: 46.81 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1_res.mat does not exist to compare? outputFormat=mat