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 1.982/1.982, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.474e-05/3.486e-05, allocations: 4 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1069, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.041/8.148, allocations: 2.547 GB / 2.862 GB, free: 8.926 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/8.148, allocations: 72.28 kB / 2.862 GB, free: 8.891 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.842/12.99, allocations: 0.779 GB / 3.641 GB, free: 25.62 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.495e-06/12.99, allocations: 0 / 3.641 GB, free: 25.62 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.00035/12.99, allocations: 67.56 kB / 3.641 GB, free: 25.61 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.01909/13.01, allocations: 3.739 MB / 3.645 GB, free: 23.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/13.01, allocations: 11.75 kB / 3.645 GB, free: 23.8 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001464/13.01, allocations: 286.1 kB / 3.645 GB, free: 23.75 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009511/13.02, allocations: 0.8152 MB / 3.646 GB, free: 23.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009539/13.03, allocations: 2.087 MB / 3.648 GB, free: 23.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005596/13.03, allocations: 182.2 kB / 3.648 GB, free: 23.15 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00221/13.03, allocations: 198.7 kB / 3.648 GB, free: 23.15 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01423/13.05, allocations: 3.553 MB / 3.652 GB, free: 22.62 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001353/13.05, allocations: 11.38 kB / 3.652 GB, free: 22.62 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000887/13.05, allocations: 89.38 kB / 3.652 GB, free: 22.62 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003363/13.05, allocations: 165 kB / 3.652 GB, free: 22.62 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/13.06, allocations: 3.152 MB / 3.655 GB, free: 22.61 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.03115/13.09, allocations: 15.04 MB / 3.67 GB, free: 13.58 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007949/13.1, allocations: 2.223 MB / 3.672 GB, free: 13.53 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002829/13.1, allocations: 1.038 MB / 3.673 GB, free: 13.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06249/13.17, allocations: 18.85 MB / 3.691 GB, free: 17.45 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006587/13.17, allocations: 1.636 MB / 3.693 GB, free: 17.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=153): time 6.453e-06/13.17, allocations: 0 / 3.693 GB, free: 17.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=169): time 0.02986/13.2, allocations: 6.946 MB / 3.7 GB, free: 16.39 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002315/13.2, allocations: 277.9 kB / 3.7 GB, free: 16.07 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003731/13.21, allocations: 1.4 MB / 3.701 GB, free: 15.89 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006424/13.21, allocations: 59.5 kB / 3.701 GB, free: 15.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001383/13.21, allocations: 0.9676 MB / 3.702 GB, free: 15.08 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001166/13.21, allocations: 0.5864 MB / 3.703 GB, free: 14.63 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003158/13.21, allocations: 45.94 kB / 3.703 GB, free: 14.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003205/13.21, allocations: 382.5 kB / 3.703 GB, free: 14.26 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003112/13.21, allocations: 1.04 MB / 3.704 GB, free: 13.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003726/13.22, allocations: 1.539 MB / 3.706 GB, free: 12.89 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003711/13.22, allocations: 1.266 MB / 3.707 GB, free: 12.41 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.287e-05/13.22, allocations: 3.594 kB / 3.707 GB, free: 12.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01203/13.23, allocations: 3.664 MB / 3.71 GB, free: 11.01 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00258/13.24, allocations: 5.328 MB / 3.716 GB, free: 5.242 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.302e-05/13.24, allocations: 15.53 kB / 3.716 GB, free: 5.242 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0239/13.26, allocations: 2.758 MB / 3.718 GB, free: 4.234 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002413/13.26, allocations: 314.1 kB / 3.719 GB, free: 3.965 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00936/13.27, allocations: 3.297 MB / 3.722 GB, free: 1.082 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004501/13.28, allocations: 264.4 kB / 3.722 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008254/13.28, allocations: 103.1 kB / 3.722 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/13.28, allocations: 5.875 kB / 3.722 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01302/13.29, allocations: 3.326 MB / 3.726 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.179e-05/13.29, allocations: 16 kB / 3.726 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0119/13.3, allocations: 1.635 MB / 3.727 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002982/13.31, allocations: 357.8 kB / 3.727 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006774/13.31, allocations: 2.568 MB / 3.73 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004293/13.32, allocations: 263.8 kB / 3.73 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008143/13.32, allocations: 98.98 kB / 3.73 GB, free: 9.949 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.001081/13.32, allocations: 259.9 kB / 3.731 GB, free: 9.691 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008556/13.32, allocations: 197.7 kB / 3.731 GB, free: 9.496 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01984/13.34, allocations: 7.702 MB / 3.738 GB, free: 2.598 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001822/13.34, allocations: 89.28 kB / 3.738 GB, free: 2.543 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/13.34, allocations: 0 / 3.738 GB, free: 2.543 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4382/13.78, allocations: 6.595 MB / 3.745 GB, free: 54.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02581/13.8, allocations: 10.81 MB / 3.755 GB, free: 53.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.782e-05/13.8, allocations: 0 / 3.755 GB, free: 53.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003678/13.81, allocations: 403.6 kB / 3.756 GB, free: 53.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002092/13.81, allocations: 350 kB / 3.756 GB, free: 53.74 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006073/13.81, allocations: 65.64 kB / 3.756 GB, free: 53.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/13.81, allocations: 2.572 MB / 3.759 GB, free: 51.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/13.81, allocations: 0 / 3.759 GB, free: 51.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01626/13.83, allocations: 6.902 MB / 3.765 GB, free: 51.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002481/13.83, allocations: 0.7409 MB / 3.766 GB, free: 51.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008574/13.83, allocations: 56.45 kB / 3.766 GB, free: 51.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003415/13.84, allocations: 198.4 kB / 3.766 GB, free: 51.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005968/13.84, allocations: 143.4 kB / 3.766 GB, free: 51.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002438/13.84, allocations: 67.17 kB / 3.767 GB, free: 51.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002662/13.84, allocations: 1.173 MB / 3.768 GB, free: 50.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.91e-07/13.84, allocations: 0 / 3.768 GB, free: 50.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01323/13.85, allocations: 2.746 MB / 3.77 GB, free: 50.9 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.0298/13.88, allocations: 10.15 MB / 3.78 GB, free: 49.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01339/13.9, allocations: 5.055 MB / 3.785 GB, free: 49.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/13.9, allocations: 3.562 kB / 3.785 GB, free: 49.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00529/13.9, allocations: 2.336 MB / 3.788 GB, free: 49.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007904/13.91, allocations: 0.8629 MB / 3.788 GB, free: 49.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4188/14.33, allocations: 127.2 MB / 3.913 GB, free: 7.484 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003098/14.33, allocations: 2.309 MB / 3.915 GB, free: 5.676 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007062/14.34, allocations: 1.91 MB / 3.917 GB, free: 4.523 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002709/14.34, allocations: 1.279 MB / 3.918 GB, free: 3.344 MB / 490.7 MB Notification: Performance of SimCode: time 1.383e-06/14.34, allocations: 0 / 3.918 GB, free: 3.344 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.739/15.08, allocations: 128.5 MB / 4.043 GB, free: 26.38 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/15.08, allocations: 227.8 kB / 4.044 GB, free: 26.15 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.762/23.84, allocations: 0 / 4.044 GB, free: 26.15 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