Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestPipesAndValves_SeriesPipes12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.68/2.68, allocations: 270 MB / 283.6 MB, free: 1.887 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.271e-05/5.264e-05, allocations: 0 / 348.5 MB, free: 2.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4167, allocations: 61.87 MB / 410.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.093/9.509, allocations: 2.832 GB / 3.233 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003519/9.51, allocations: 79.64 kB / 3.233 GB, free: 71.07 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:306:3-308: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.661/14.17, allocations: 0.8119 GB / 4.045 GB, free: 46.5 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.265e-06/14.17, allocations: 0 / 4.045 GB, free: 46.5 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002997/14.17, allocations: 65.59 kB / 4.045 GB, free: 46.49 MB / 0.5573 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.01771/14.19, allocations: 3.867 MB / 4.049 GB, free: 44.64 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/14.19, allocations: 7.156 kB / 4.049 GB, free: 44.64 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0012/14.19, allocations: 287.7 kB / 4.049 GB, free: 44.6 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008881/14.2, allocations: 0.846 MB / 4.05 GB, free: 44.46 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008149/14.21, allocations: 2.081 MB / 4.052 GB, free: 44.01 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002875/14.21, allocations: 181.9 kB / 4.052 GB, free: 44 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000878/14.21, allocations: 199.1 kB / 4.052 GB, free: 44 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/14.22, allocations: 3.553 MB / 4.056 GB, free: 43.45 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-05/14.22, allocations: 10.72 kB / 4.056 GB, free: 43.45 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004252/14.22, allocations: 87.3 kB / 4.056 GB, free: 43.45 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003117/14.22, allocations: 159.3 kB / 4.056 GB, free: 43.45 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/14.23, allocations: 3.14 MB / 4.059 GB, free: 43.44 MB / 0.5573 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.03098/14.26, allocations: 15.2 MB / 4.074 GB, free: 34.4 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007534/14.27, allocations: 2.221 MB / 4.076 GB, free: 34.37 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002623/14.27, allocations: 1.066 MB / 4.077 GB, free: 34.35 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07582/14.35, allocations: 24.54 MB / 4.101 GB, free: 19.08 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005967/14.35, allocations: 1.661 MB / 4.103 GB, free: 18.98 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=155): time 5.85e-06/14.35, allocations: 0 / 4.103 GB, free: 18.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=171): time 0.02603/14.38, allocations: 7.033 MB / 4.11 GB, free: 17.54 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/14.38, allocations: 286.3 kB / 4.11 GB, free: 17.22 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003015/14.38, allocations: 1.45 MB / 4.111 GB, free: 16.67 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005453/14.38, allocations: 64.23 kB / 4.111 GB, free: 16.61 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001671/14.39, allocations: 0.9599 MB / 4.112 GB, free: 31.86 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009462/14.39, allocations: 0.587 MB / 4.113 GB, free: 31.41 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/14.39, allocations: 34.84 kB / 4.113 GB, free: 31.39 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002226/14.39, allocations: 390.6 kB / 4.113 GB, free: 31.05 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00264/14.39, allocations: 1.048 MB / 4.114 GB, free: 30.66 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003043/14.39, allocations: 1.499 MB / 4.116 GB, free: 29.73 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003167/14.4, allocations: 1.27 MB / 4.117 GB, free: 29.25 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/14.4, allocations: 7.75 kB / 4.117 GB, free: 29.25 MB / 0.573 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.009732/14.41, allocations: 3.646 MB / 4.121 GB, free: 27.87 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001823/14.41, allocations: 4.807 MB / 4.125 GB, free: 22.69 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.704e-05/14.41, allocations: 18.3 kB / 4.125 GB, free: 22.69 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0264/14.43, allocations: 3.02 MB / 4.128 GB, free: 21.64 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/14.44, allocations: 303.5 kB / 4.129 GB, free: 21.38 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007194/14.44, allocations: 3.316 MB / 4.132 GB, free: 18.49 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004102/14.45, allocations: 259.9 kB / 4.132 GB, free: 18.29 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004691/14.45, allocations: 103.5 kB / 4.132 GB, free: 18.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/14.45, allocations: 4 kB / 4.132 GB, free: 18.19 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008235/14.46, allocations: 3.241 MB / 4.135 GB, free: 15.35 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.609e-05/14.46, allocations: 12 kB / 4.135 GB, free: 15.34 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01068/14.47, allocations: 1.631 MB / 4.137 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002721/14.47, allocations: 356 kB / 4.137 GB, free: 13.77 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005272/14.48, allocations: 2.574 MB / 4.14 GB, free: 11.51 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003946/14.48, allocations: 259.6 kB / 4.14 GB, free: 11.31 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006191/14.48, allocations: 98.7 kB / 4.14 GB, free: 11.22 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (157): * Single equations (assignments): 153 * 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.0008167/14.48, allocations: 267.8 kB / 4.14 GB, free: 10.95 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006667/14.48, allocations: 201.6 kB / 4.141 GB, free: 10.75 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01713/14.5, allocations: 7.745 MB / 4.148 GB, free: 3.809 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001242/14.5, allocations: 93.59 kB / 4.148 GB, free: 3.754 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/14.5, allocations: 0 / 4.148 GB, free: 3.754 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5038/15, allocations: 7 MB / 4.155 GB, free: 60.71 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02246/15.03, allocations: 10.94 MB / 4.166 GB, free: 60.12 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.699e-05/15.03, allocations: 0 / 4.166 GB, free: 60.12 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003424/15.03, allocations: 406.3 kB / 4.166 GB, free: 60.12 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001939/15.03, allocations: 355.6 kB / 4.166 GB, free: 60.09 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005065/15.03, allocations: 63.16 kB / 4.166 GB, free: 60.09 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/15.03, allocations: 2.57 MB / 4.169 GB, free: 58.03 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/15.03, allocations: 2.438 kB / 4.169 GB, free: 58.03 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0137/15.05, allocations: 6.971 MB / 4.176 GB, free: 57.58 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002356/15.05, allocations: 0.7773 MB / 4.177 GB, free: 57.41 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008024/15.05, allocations: 54.05 kB / 4.177 GB, free: 57.41 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003232/15.05, allocations: 199.8 kB / 4.177 GB, free: 57.41 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005593/15.05, allocations: 150.1 kB / 4.177 GB, free: 57.41 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002498/15.05, allocations: 74.38 kB / 4.177 GB, free: 57.41 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002809/15.06, allocations: 1.291 MB / 4.178 GB, free: 57.25 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.61e-07/15.06, allocations: 5.281 kB / 4.178 GB, free: 57.25 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01269/15.07, allocations: 2.79 MB / 4.181 GB, free: 57.25 MB / 0.573 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 (198): * Single equations (assignments): 168 * 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.02827/15.1, allocations: 10.27 MB / 4.191 GB, free: 56.04 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01275/15.11, allocations: 5.053 MB / 4.196 GB, free: 55.73 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/15.11, allocations: 2.781 kB / 4.196 GB, free: 55.73 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005273/15.12, allocations: 2.374 MB / 4.198 GB, free: 55.66 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008363/15.12, allocations: 0.9322 MB / 4.199 GB, free: 55.64 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0229/15.15, allocations: 7.67 MB / 4.207 GB, free: 54.24 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002628/15.15, allocations: 2.312 MB / 4.209 GB, free: 53.47 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.007/15.16, allocations: 1.947 MB / 4.211 GB, free: 53.43 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002666/15.16, allocations: 1.292 MB / 4.212 GB, free: 53.42 MB / 0.573 GB Notification: Performance of SimCode: time 1.403e-06/15.16, allocations: 0 / 4.212 GB, free: 53.42 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2796/15.44, allocations: 131.1 MB / 4.34 GB, free: 10.25 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/15.44, allocations: 226.7 kB / 4.34 GB, free: 9.988 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.838/25.28, allocations: 3.938 kB / 4.34 GB, free: 9.984 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12_res.mat does not exist to compare? outputFormat=mat