Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_SeriesPipes12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.146/2.146, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.937e-05/3.942e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1095, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.945/8.055, allocations: 2.547 GB / 2.862 GB, free: 9.105 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/8.055, allocations: 76.02 kB / 2.862 GB, free: 9.066 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.547/12.6, allocations: 0.779 GB / 3.641 GB, free: 25.89 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.126e-06/12.6, allocations: 1.938 kB / 3.641 GB, free: 25.89 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003464/12.6, allocations: 63 kB / 3.641 GB, free: 25.88 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: 510 * Number of variables: 510 Notification: Performance of Generate backend data structure: time 0.01867/12.62, allocations: 3.741 MB / 3.645 GB, free: 24.07 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/12.62, allocations: 9.844 kB / 3.645 GB, free: 24.07 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001268/12.62, allocations: 285 kB / 3.645 GB, free: 24.03 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009111/12.63, allocations: 0.8182 MB / 3.646 GB, free: 23.89 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008671/12.64, allocations: 2.092 MB / 3.648 GB, free: 23.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003774/12.64, allocations: 180.4 kB / 3.648 GB, free: 23.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001083/12.64, allocations: 194.1 kB / 3.648 GB, free: 23.43 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/12.65, allocations: 3.539 MB / 3.652 GB, free: 22.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001084/12.65, allocations: 8.406 kB / 3.652 GB, free: 22.91 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006196/12.65, allocations: 90.73 kB / 3.652 GB, free: 22.91 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003217/12.66, allocations: 167.5 kB / 3.652 GB, free: 22.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01138/12.67, allocations: 3.119 MB / 3.655 GB, free: 22.89 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.03149/12.7, allocations: 15.04 MB / 3.67 GB, free: 13.84 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007597/12.71, allocations: 2.205 MB / 3.672 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002597/12.71, allocations: 1.041 MB / 3.673 GB, free: 13.78 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06118/12.77, allocations: 18.84 MB / 3.691 GB, free: 17.71 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006272/12.78, allocations: 1.633 MB / 3.693 GB, free: 17.61 MB / 474.7 MB Notification: Performance of pre-optimization done (n=153): time 6.863e-06/12.78, allocations: 0 / 3.693 GB, free: 17.61 MB / 474.7 MB Notification: Performance of matching and sorting (n=169): time 0.02643/12.8, allocations: 6.945 MB / 3.699 GB, free: 16.65 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001841/12.8, allocations: 276.3 kB / 3.7 GB, free: 16.33 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003026/12.81, allocations: 1.399 MB / 3.701 GB, free: 16.14 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005899/12.81, allocations: 56.2 kB / 3.701 GB, free: 16.11 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001133/12.81, allocations: 0.9749 MB / 3.702 GB, free: 15.54 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009746/12.81, allocations: 0.5862 MB / 3.703 GB, free: 15.09 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/12.81, allocations: 39.03 kB / 3.703 GB, free: 15.06 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002275/12.81, allocations: 385.5 kB / 3.703 GB, free: 14.72 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002723/12.81, allocations: 1.035 MB / 3.704 GB, free: 14.35 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003333/12.82, allocations: 1.529 MB / 3.706 GB, free: 13.37 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003334/12.82, allocations: 1.27 MB / 3.707 GB, free: 12.88 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-05/12.82, allocations: 7.812 kB / 3.707 GB, free: 12.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01039/12.83, allocations: 3.616 MB / 3.71 GB, free: 11.51 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002195/12.83, allocations: 5.33 MB / 3.716 GB, free: 5.746 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.198e-05/12.83, allocations: 14.97 kB / 3.716 GB, free: 5.746 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02294/12.85, allocations: 2.743 MB / 3.718 GB, free: 4.758 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002316/12.86, allocations: 325.2 kB / 3.719 GB, free: 4.484 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008272/12.87, allocations: 3.301 MB / 3.722 GB, free: 1.598 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004271/12.87, allocations: 259 kB / 3.722 GB, free: 1.398 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007103/12.87, allocations: 98.23 kB / 3.722 GB, free: 1.309 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/12.87, allocations: 5.875 kB / 3.722 GB, free: 1.305 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01105/12.88, allocations: 3.234 MB / 3.725 GB, free: 14.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.21e-05/12.88, allocations: 15.38 kB / 3.725 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01149/12.89, allocations: 1.621 MB / 3.727 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003029/12.9, allocations: 364.3 kB / 3.727 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006105/12.9, allocations: 2.576 MB / 3.73 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004215/12.91, allocations: 254.3 kB / 3.73 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007691/12.91, allocations: 98.89 kB / 3.73 GB, free: 10.36 MB / 490.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.0008708/12.91, allocations: 255.4 kB / 3.73 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007296/12.91, allocations: 193.7 kB / 3.731 GB, free: 9.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01835/12.93, allocations: 7.703 MB / 3.738 GB, free: 3.004 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001267/12.93, allocations: 93.83 kB / 3.738 GB, free: 2.949 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/12.93, allocations: 0 / 3.738 GB, free: 2.949 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4039/13.33, allocations: 6.63 MB / 3.745 GB, free: 54.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02533/13.36, allocations: 10.81 MB / 3.755 GB, free: 54.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/13.36, allocations: 0 / 3.755 GB, free: 54.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003618/13.36, allocations: 401.5 kB / 3.756 GB, free: 54.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002078/13.36, allocations: 355.4 kB / 3.756 GB, free: 54.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005569/13.36, allocations: 62.78 kB / 3.756 GB, free: 54.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/13.37, allocations: 2.567 MB / 3.758 GB, free: 52.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/13.37, allocations: 5.594 kB / 3.758 GB, free: 52.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01531/13.38, allocations: 6.896 MB / 3.765 GB, free: 51.65 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002537/13.38, allocations: 0.7442 MB / 3.766 GB, free: 51.49 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007827/13.38, allocations: 54.52 kB / 3.766 GB, free: 51.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003374/13.39, allocations: 200.3 kB / 3.766 GB, free: 51.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005814/13.39, allocations: 143.7 kB / 3.766 GB, free: 51.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002393/13.39, allocations: 68.48 kB / 3.766 GB, free: 51.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002651/13.39, allocations: 1.168 MB / 3.768 GB, free: 51.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.41e-07/13.39, allocations: 0 / 3.768 GB, free: 51.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0154/13.41, allocations: 2.747 MB / 3.77 GB, free: 51.32 MB / 490.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.03119/13.44, allocations: 10.19 MB / 3.78 GB, free: 50.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01396/13.45, allocations: 4.983 MB / 3.785 GB, free: 49.74 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/13.45, allocations: 0 / 3.785 GB, free: 49.74 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005514/13.46, allocations: 2.327 MB / 3.787 GB, free: 49.66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008038/13.47, allocations: 0.8633 MB / 3.788 GB, free: 49.63 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4092/13.87, allocations: 127.2 MB / 3.912 GB, free: 8.207 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002223/13.88, allocations: 2.302 MB / 3.915 GB, free: 6.402 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00651/13.88, allocations: 1.907 MB / 3.916 GB, free: 5.254 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002443/13.89, allocations: 1.285 MB / 3.918 GB, free: 4.07 MB / 490.7 MB Notification: Performance of SimCode: time 1.663e-06/13.89, allocations: 0 / 3.918 GB, free: 4.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.739/14.62, allocations: 128.7 MB / 4.043 GB, free: 27.62 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002445/14.63, allocations: 230.5 kB / 4.044 GB, free: 27.39 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.947/23.57, allocations: 3.938 kB / 4.044 GB, free: 27.38 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12_res.mat does not exist to compare? outputFormat=mat