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.966/1.966, allocations: 209.3 MB / 221.5 MB, free: 1.949 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.228e-05/4.251e-05, allocations: 4 kB / 273.2 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1038, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.857/7.961, allocations: 2.547 GB / 2.862 GB, free: 8.863 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/7.962, allocations: 74.84 kB / 2.862 GB, free: 8.828 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.771/12.73, allocations: 0.8401 GB / 3.702 GB, free: 19.14 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.585e-06/12.73, allocations: 0 / 3.702 GB, free: 19.14 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003491/12.73, allocations: 69.77 kB / 3.702 GB, free: 19.12 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.01869/12.75, allocations: 3.738 MB / 3.706 GB, free: 15.58 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/12.75, allocations: 12.03 kB / 3.706 GB, free: 15.57 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001202/12.75, allocations: 286.9 kB / 3.706 GB, free: 15.28 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009011/12.76, allocations: 0.8126 MB / 3.707 GB, free: 14.46 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008665/12.77, allocations: 2.093 MB / 3.709 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003085/12.77, allocations: 179.7 kB / 3.709 GB, free: 12.14 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000937/12.77, allocations: 207.9 kB / 3.709 GB, free: 11.94 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01157/12.78, allocations: 3.553 MB / 3.713 GB, free: 8.207 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000119/12.78, allocations: 7.938 kB / 3.713 GB, free: 8.199 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004294/12.78, allocations: 83.97 kB / 3.713 GB, free: 8.117 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003267/12.78, allocations: 167.5 kB / 3.713 GB, free: 7.953 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/12.8, allocations: 3.157 MB / 3.716 GB, free: 4.793 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.03526/12.83, allocations: 15.04 MB / 3.731 GB, free: 4.508 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008589/12.84, allocations: 2.212 MB / 3.733 GB, free: 2.293 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00303/12.84, allocations: 1.037 MB / 3.734 GB, free: 1.258 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5319/13.37, allocations: 18.83 MB / 3.752 GB, free: 24.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006139/13.38, allocations: 1.639 MB / 3.754 GB, free: 24.73 MB / 474.7 MB Notification: Performance of pre-optimization done (n=153): time 7.975e-06/13.38, allocations: 4.031 kB / 3.754 GB, free: 24.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=169): time 0.02571/13.41, allocations: 6.946 MB / 3.761 GB, free: 24.07 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/13.41, allocations: 280.1 kB / 3.761 GB, free: 23.76 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004017/13.41, allocations: 1.394 MB / 3.762 GB, free: 23.58 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007155/13.41, allocations: 56.7 kB / 3.762 GB, free: 23.55 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001521/13.41, allocations: 0.986 MB / 3.763 GB, free: 23.23 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001195/13.41, allocations: 0.5785 MB / 3.764 GB, free: 22.95 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003176/13.41, allocations: 40.34 kB / 3.764 GB, free: 22.95 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002372/13.42, allocations: 389.1 kB / 3.764 GB, free: 22.64 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003818/13.42, allocations: 1.038 MB / 3.765 GB, free: 22.63 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004277/13.42, allocations: 1.535 MB / 3.767 GB, free: 22.09 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004564/13.43, allocations: 1.267 MB / 3.768 GB, free: 22.03 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-05/13.43, allocations: 3.281 kB / 3.768 GB, free: 22.03 MB / 474.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01429/13.44, allocations: 3.66 MB / 3.772 GB, free: 21.81 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001399/13.44, allocations: 5.328 MB / 3.777 GB, free: 16.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.413e-05/13.44, allocations: 13.88 kB / 3.777 GB, free: 16.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02621/13.47, allocations: 2.757 MB / 3.779 GB, free: 16.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002362/13.47, allocations: 316.4 kB / 3.78 GB, free: 16.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007597/13.48, allocations: 3.3 MB / 3.783 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004276/13.48, allocations: 257.5 kB / 3.783 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005432/13.49, allocations: 107.1 kB / 3.783 GB, free: 15.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/13.49, allocations: 3.25 kB / 3.783 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009069/13.49, allocations: 3.254 MB / 3.787 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-05/13.49, allocations: 14.66 kB / 3.787 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01619/13.51, allocations: 1.639 MB / 3.788 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00436/13.51, allocations: 352.2 kB / 3.788 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008123/13.52, allocations: 2.572 MB / 3.791 GB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006009/13.53, allocations: 259.1 kB / 3.791 GB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008809/13.53, allocations: 103.5 kB / 3.791 GB, free: 14.93 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.001118/13.53, allocations: 265.2 kB / 3.792 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/13.53, allocations: 198.4 kB / 3.792 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02325/13.56, allocations: 7.689 MB / 3.799 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001904/13.56, allocations: 87.62 kB / 3.799 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.876e-05/13.56, allocations: 7.547 kB / 3.799 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01799/13.57, allocations: 6.596 MB / 3.806 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03225/13.61, allocations: 10.83 MB / 3.816 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-05/13.61, allocations: 2.188 kB / 3.816 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003482/13.61, allocations: 400 kB / 3.817 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001993/13.61, allocations: 353.3 kB / 3.817 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000547/13.61, allocations: 62.8 kB / 3.817 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/13.61, allocations: 2.573 MB / 3.82 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/13.61, allocations: 2.156 kB / 3.82 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01389/13.63, allocations: 6.897 MB / 3.826 GB, free: 9.652 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002479/13.63, allocations: 0.747 MB / 3.827 GB, free: 9.32 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008775/13.63, allocations: 48.91 kB / 3.827 GB, free: 9.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003442/13.64, allocations: 200.1 kB / 3.827 GB, free: 9.309 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005926/13.64, allocations: 147.8 kB / 3.828 GB, free: 9.309 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002767/13.64, allocations: 66.72 kB / 3.828 GB, free: 9.309 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003772/13.64, allocations: 1.17 MB / 3.829 GB, free: 9.148 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.156e-06/13.64, allocations: 0 / 3.829 GB, free: 9.148 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01908/13.66, allocations: 2.745 MB / 3.831 GB, free: 9.023 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.03947/13.7, allocations: 10.16 MB / 3.841 GB, free: 7.656 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01785/13.72, allocations: 5.044 MB / 3.846 GB, free: 7.344 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/13.72, allocations: 0 / 3.846 GB, free: 7.344 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005334/13.72, allocations: 2.334 MB / 3.849 GB, free: 6.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008369/13.73, allocations: 0.8708 MB / 3.849 GB, free: 6.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8691/14.6, allocations: 127.4 MB / 3.974 GB, free: 60.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002407/14.6, allocations: 2.307 MB / 3.976 GB, free: 59.62 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007524/14.61, allocations: 1.908 MB / 3.978 GB, free: 59.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002694/14.61, allocations: 1.285 MB / 3.979 GB, free: 59.58 MB / 0.4948 GB Notification: Performance of SimCode: time 1.473e-06/14.61, allocations: 0 / 3.979 GB, free: 59.58 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6673/15.28, allocations: 128.5 MB / 4.105 GB, free: 76.54 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002865/15.28, allocations: 222 kB / 4.105 GB, free: 76.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.855/24.13, allocations: 0 / 4.105 GB, free: 76.32 MB / 0.5105 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