Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestPipesAndValves_SeriesPipes12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.672/2.672, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.908e-05/4.911e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1436, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.527/9.671, allocations: 2.832 GB / 3.233 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/9.671, allocations: 79.7 kB / 3.233 GB, free: 10.55 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.893/14.56, allocations: 0.8119 GB / 4.045 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.745e-06/14.56, allocations: 0 / 4.045 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004483/14.56, allocations: 67.98 kB / 4.045 GB, free: 14.15 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.01826/14.58, allocations: 3.845 MB / 4.049 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/14.58, allocations: 15.97 kB / 4.049 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001315/14.58, allocations: 290.9 kB / 4.049 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009101/14.59, allocations: 0.8436 MB / 4.05 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00825/14.6, allocations: 2.076 MB / 4.052 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002872/14.6, allocations: 188 kB / 4.052 GB, free: 6.781 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000925/14.6, allocations: 207.8 kB / 4.052 GB, free: 6.578 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.011/14.61, allocations: 3.546 MB / 4.056 GB, free: 2.824 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.041e-05/14.61, allocations: 11.88 kB / 4.056 GB, free: 2.812 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000407/14.61, allocations: 91.95 kB / 4.056 GB, free: 2.723 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002903/14.61, allocations: 159.5 kB / 4.056 GB, free: 2.566 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01079/14.63, allocations: 3.138 MB / 4.059 GB, free: 15.43 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.5007/15.13, allocations: 15.2 MB / 4.074 GB, free: 41.78 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008803/15.14, allocations: 2.228 MB / 4.076 GB, free: 41.76 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002974/15.14, allocations: 1.062 MB / 4.077 GB, free: 41.74 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08315/15.22, allocations: 24.54 MB / 4.101 GB, free: 26.83 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00631/15.23, allocations: 1.66 MB / 4.103 GB, free: 26.75 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=155): time 5.38e-06/15.23, allocations: 5 kB / 4.103 GB, free: 26.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=171): time 0.02787/15.26, allocations: 7.04 MB / 4.11 GB, free: 26.02 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/15.26, allocations: 285.8 kB / 4.11 GB, free: 25.71 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003455/15.26, allocations: 1.439 MB / 4.111 GB, free: 25.54 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006532/15.26, allocations: 63.98 kB / 4.111 GB, free: 25.51 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001278/15.26, allocations: 0.9682 MB / 4.112 GB, free: 25.21 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001157/15.26, allocations: 0.5814 MB / 4.113 GB, free: 24.92 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/15.26, allocations: 41.66 kB / 4.113 GB, free: 24.92 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002199/15.26, allocations: 388 kB / 4.113 GB, free: 24.61 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002945/15.27, allocations: 1.047 MB / 4.114 GB, free: 24.61 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003425/15.27, allocations: 1.498 MB / 4.116 GB, free: 24.12 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003617/15.27, allocations: 1.27 MB / 4.117 GB, free: 24.06 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.531e-05/15.27, allocations: 6.281 kB / 4.117 GB, free: 24.06 MB / 0.5573 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01116/15.28, allocations: 3.645 MB / 4.121 GB, free: 23.84 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001156/15.29, allocations: 4.808 MB / 4.125 GB, free: 18.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.692e-05/15.29, allocations: 18.06 kB / 4.125 GB, free: 18.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02703/15.31, allocations: 3.018 MB / 4.128 GB, free: 18.78 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002397/15.32, allocations: 304.8 kB / 4.129 GB, free: 18.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007788/15.32, allocations: 3.308 MB / 4.132 GB, free: 18.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004306/15.33, allocations: 263.6 kB / 4.132 GB, free: 18.21 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006763/15.33, allocations: 101.8 kB / 4.132 GB, free: 18.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/15.33, allocations: 3.938 kB / 4.132 GB, free: 18.2 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009354/15.34, allocations: 3.24 MB / 4.135 GB, free: 18.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.038e-05/15.34, allocations: 19.16 kB / 4.135 GB, free: 18.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01145/15.35, allocations: 1.623 MB / 4.137 GB, free: 18.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/15.35, allocations: 351.8 kB / 4.137 GB, free: 18.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005179/15.36, allocations: 2.584 MB / 4.14 GB, free: 17.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004053/15.36, allocations: 256.5 kB / 4.14 GB, free: 17.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000601/15.36, allocations: 101.5 kB / 4.14 GB, free: 17.52 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 (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.0007873/15.36, allocations: 251.9 kB / 4.14 GB, free: 17.38 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007281/15.36, allocations: 202.8 kB / 4.141 GB, free: 17.28 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/15.38, allocations: 7.759 MB / 4.148 GB, free: 16.56 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001014/15.38, allocations: 86.22 kB / 4.148 GB, free: 16.56 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/15.38, allocations: 3.891 kB / 4.148 GB, free: 16.56 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01178/15.39, allocations: 6.641 MB / 4.155 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02232/15.41, allocations: 10.95 MB / 4.165 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/15.41, allocations: 2.062 kB / 4.165 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003581/15.42, allocations: 410.2 kB / 4.166 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001989/15.42, allocations: 351.1 kB / 4.166 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005582/15.42, allocations: 71.2 kB / 4.166 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/15.42, allocations: 2.561 MB / 4.169 GB, free: 28.86 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/15.42, allocations: 0 / 4.169 GB, free: 28.86 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/15.44, allocations: 6.971 MB / 4.175 GB, free: 28.23 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002618/15.44, allocations: 0.7823 MB / 4.176 GB, free: 27.89 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009899/15.44, allocations: 47.44 kB / 4.176 GB, free: 27.89 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00379/15.44, allocations: 200.7 kB / 4.176 GB, free: 27.88 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007843/15.44, allocations: 147.9 kB / 4.177 GB, free: 27.88 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003279/15.44, allocations: 73.64 kB / 4.177 GB, free: 27.88 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00309/15.45, allocations: 1.294 MB / 4.178 GB, free: 27.71 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.22e-07/15.45, allocations: 3.812 kB / 4.178 GB, free: 27.71 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01364/15.46, allocations: 2.794 MB / 4.181 GB, free: 27.59 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.03/15.49, allocations: 10.28 MB / 4.191 GB, free: 26.21 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01485/15.51, allocations: 5.053 MB / 4.196 GB, free: 25.91 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/15.51, allocations: 0 / 4.196 GB, free: 25.91 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007515/15.51, allocations: 2.363 MB / 4.198 GB, free: 25.84 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01112/15.52, allocations: 0.9237 MB / 4.199 GB, free: 25.82 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03057/15.56, allocations: 7.672 MB / 4.206 GB, free: 24.43 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004501/15.56, allocations: 2.311 MB / 4.209 GB, free: 23.66 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.009939/15.57, allocations: 1.959 MB / 4.211 GB, free: 23.62 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003718/15.57, allocations: 1.293 MB / 4.212 GB, free: 22.85 MB / 0.573 GB Notification: Performance of SimCode: time 1.382e-06/15.57, allocations: 2.062 kB / 4.212 GB, free: 22.85 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7906/16.36, allocations: 131.1 MB / 4.34 GB, free: 67.41 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/16.36, allocations: 229.2 kB / 4.34 GB, free: 67.15 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.427/25.79, allocations: 0 / 4.34 GB, free: 67.15 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12_res.mat does not exist to compare? outputFormat=mat