Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestPipesAndValves_SeriesPipes1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.593/2.593, allocations: 270.1 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.221e-05/5.227e-05, allocations: 7.938 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1425, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.094/9.237, allocations: 2.832 GB / 3.233 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/9.237, allocations: 81.39 kB / 3.233 GB, free: 10.69 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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.611/13.85, allocations: 0.8106 GB / 4.044 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.214e-06/13.85, allocations: 7.938 kB / 4.044 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002889/13.85, allocations: 67.92 kB / 4.044 GB, free: 15.56 MB / 0.5417 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.01763/13.87, allocations: 3.856 MB / 4.048 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/13.87, allocations: 12.03 kB / 4.048 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001066/13.87, allocations: 290.9 kB / 4.048 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009003/13.88, allocations: 0.8399 MB / 4.049 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009373/13.89, allocations: 2.084 MB / 4.051 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003733/13.89, allocations: 176.1 kB / 4.051 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/13.89, allocations: 203.8 kB / 4.051 GB, free: 7.992 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01337/13.9, allocations: 3.55 MB / 4.054 GB, free: 4.234 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/13.9, allocations: 11.36 kB / 4.055 GB, free: 4.227 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007127/13.9, allocations: 87.95 kB / 4.055 GB, free: 4.141 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00032/13.9, allocations: 163.5 kB / 4.055 GB, free: 3.98 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/13.91, allocations: 3.142 MB / 4.058 GB, free: 0.8359 MB / 0.5417 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.03829/13.95, allocations: 15.2 MB / 4.073 GB, free: 400 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4622/14.41, allocations: 2.22 MB / 4.075 GB, free: 44.22 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003341/14.42, allocations: 1.065 MB / 4.076 GB, free: 44.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08394/14.5, allocations: 24.54 MB / 4.1 GB, free: 29.29 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006276/14.51, allocations: 1.666 MB / 4.101 GB, free: 29.21 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=155): time 6.392e-06/14.51, allocations: 0 / 4.101 GB, free: 29.21 MB / 0.5573 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipe3.mediums[1].p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=171): time 0.0386/14.55, allocations: 9.217 MB / 4.11 GB, free: 28.48 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/14.55, allocations: 284.5 kB / 4.111 GB, free: 28.17 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003103/14.55, allocations: 1.444 MB / 4.112 GB, free: 28 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005695/14.55, allocations: 62.7 kB / 4.112 GB, free: 27.97 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/14.55, allocations: 0.9655 MB / 4.113 GB, free: 27.67 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008893/14.55, allocations: 0.5843 MB / 4.114 GB, free: 27.38 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/14.55, allocations: 38.56 kB / 4.114 GB, free: 27.38 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001499/14.55, allocations: 392.4 kB / 4.114 GB, free: 27.07 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002612/14.56, allocations: 1.041 MB / 4.115 GB, free: 27.07 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002879/14.56, allocations: 1.503 MB / 4.117 GB, free: 26.57 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003045/14.56, allocations: 1.274 MB / 4.118 GB, free: 26.52 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.555e-05/14.56, allocations: 3.875 kB / 4.118 GB, free: 26.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00849/14.57, allocations: 3.088 MB / 4.121 GB, free: 26.27 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001166/14.57, allocations: 4.806 MB / 4.126 GB, free: 21.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-05/14.57, allocations: 17.97 kB / 4.126 GB, free: 21.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/14.57, allocations: 254.5 kB / 4.126 GB, free: 21.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004415/14.58, allocations: 0.5169 MB / 4.126 GB, free: 21.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/14.58, allocations: 2.489 MB / 4.129 GB, free: 19.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00429/14.58, allocations: 262.6 kB / 4.129 GB, free: 19.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005083/14.58, allocations: 101.5 kB / 4.129 GB, free: 19.12 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/14.58, allocations: 8.125 kB / 4.129 GB, free: 19.11 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007644/14.59, allocations: 2.822 MB / 4.132 GB, free: 19 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.288e-05/14.59, allocations: 18.53 kB / 4.132 GB, free: 19 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/14.59, allocations: 257.4 kB / 4.132 GB, free: 18.97 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004297/14.6, allocations: 0.5057 MB / 4.133 GB, free: 18.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/14.6, allocations: 2.495 MB / 4.135 GB, free: 16.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004058/14.6, allocations: 255.9 kB / 4.135 GB, free: 16.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003826/14.6, allocations: 106.3 kB / 4.135 GB, free: 16.89 MB / 0.5573 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 (246): * Single equations (assignments): 239 * 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.000796/14.6, allocations: 261.4 kB / 4.136 GB, free: 16.75 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006012/14.61, allocations: 201.8 kB / 4.136 GB, free: 16.65 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01437/14.62, allocations: 7.761 MB / 4.143 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001021/14.62, allocations: 87.91 kB / 4.144 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/14.62, allocations: 0 / 4.144 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01118/14.63, allocations: 6.646 MB / 4.15 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02445/14.66, allocations: 10.94 MB / 4.161 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.842e-05/14.66, allocations: 0 / 4.161 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005913/14.66, allocations: 406.6 kB / 4.161 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002584/14.66, allocations: 355.9 kB / 4.161 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005593/14.66, allocations: 65.19 kB / 4.161 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/14.67, allocations: 2.568 MB / 4.164 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/14.67, allocations: 3.969 kB / 4.164 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01971/14.69, allocations: 6.966 MB / 4.171 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002494/14.69, allocations: 0.7782 MB / 4.172 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008423/14.69, allocations: 50.09 kB / 4.172 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003318/14.69, allocations: 201 kB / 4.172 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006357/14.69, allocations: 150.4 kB / 4.172 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002553/14.69, allocations: 69.8 kB / 4.172 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002793/14.7, allocations: 1.29 MB / 4.173 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.502e-06/14.7, allocations: 0 / 4.173 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0128/14.71, allocations: 2.806 MB / 4.176 GB, free: 10.99 MB / 0.5573 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.03047/14.74, allocations: 10.27 MB / 4.186 GB, free: 25.62 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01307/14.75, allocations: 5.013 MB / 4.191 GB, free: 25.35 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/14.75, allocations: 3.5 kB / 4.191 GB, free: 25.35 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005399/14.76, allocations: 2.368 MB / 4.193 GB, free: 25.28 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008386/14.77, allocations: 0.9273 MB / 4.194 GB, free: 25.25 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02445/14.79, allocations: 7.674 MB / 4.202 GB, free: 23.88 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004017/14.8, allocations: 2.313 MB / 4.204 GB, free: 23.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01276/14.81, allocations: 2.875 MB / 4.207 GB, free: 23.05 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003812/14.81, allocations: 1.312 MB / 4.208 GB, free: 23.04 MB / 0.573 GB Notification: Performance of SimCode: time 3.447e-06/14.81, allocations: 3.188 kB / 4.208 GB, free: 23.04 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7609/15.57, allocations: 121.2 MB / 4.326 GB, free: 70.79 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/15.57, allocations: 229.2 kB / 4.327 GB, free: 70.52 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.221/24.79, allocations: 0 / 4.327 GB, free: 70.52 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1_res.mat does not exist to compare? outputFormat=mat