Notification: Performance of loadModel(ModelicaTest): time 1.797/1.797, allocations: 235 MB / 240.9 MB, free: 7.336 MB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.239/2.036, allocations: 57.19 MB / 298.1 MB, free: 8.562 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08263/2.119, allocations: 54.86 MB / 352.9 MB, free: 9.207 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.921/7.04, allocations: 2.595 GB / 2.94 GB, free: 117 MB / 488.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/7.04, allocations: 88.44 kB / 2.94 GB, free: 117 MB / 488.6 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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 Generate backend data structure: time 1.496/8.536, allocations: 407.9 MB / 3.338 GB, free: 63.95 MB / 488.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/8.536, allocations: 6.875 kB / 3.338 GB, free: 63.95 MB / 488.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003198/8.539, allocations: 260.6 kB / 3.338 GB, free: 63.93 MB / 488.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000854/8.54, allocations: 445.4 kB / 3.339 GB, free: 63.7 MB / 488.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/8.54, allocations: 17.81 kB / 3.339 GB, free: 63.7 MB / 488.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.01e-05/8.54, allocations: 22.69 kB / 3.339 GB, free: 63.7 MB / 488.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000767/8.541, allocations: 347 kB / 3.339 GB, free: 63.7 MB / 488.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008072/8.542, allocations: 473.9 kB / 3.34 GB, free: 63.53 MB / 488.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/8.542, allocations: 3.875 kB / 3.34 GB, free: 63.53 MB / 488.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.75e-05/8.542, allocations: 0 / 3.34 GB, free: 63.53 MB / 488.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/8.542, allocations: 15.56 kB / 3.34 GB, free: 63.53 MB / 488.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.192/8.734, allocations: 50.54 MB / 3.389 GB, free: 45.97 MB / 488.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/8.735, allocations: 180.8 kB / 3.389 GB, free: 45.94 MB / 488.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/8.735, allocations: 99.31 kB / 3.389 GB, free: 45.93 MB / 488.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1285/8.863, allocations: 49.71 MB / 3.438 GB, free: 24.72 MB / 0.4928 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/8.863, allocations: 40.91 kB / 3.438 GB, free: 24.68 MB / 0.4928 GB Notification: Performance of pre-optimization done (n=22): time 2.657e-06/8.863, allocations: 0 / 3.438 GB, free: 24.68 MB / 0.4928 GB Notification: Performance of matching and sorting (n=22): time 0.003092/8.867, allocations: 0.5314 MB / 3.438 GB, free: 24.37 MB / 0.4928 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/8.867, allocations: 102.8 kB / 3.438 GB, free: 24.24 MB / 0.4928 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/8.867, allocations: 292.1 kB / 3.439 GB, free: 24.04 MB / 0.4928 GB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/8.867, allocations: 29.7 kB / 3.439 GB, free: 24 MB / 0.4928 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/8.867, allocations: 258.6 kB / 3.439 GB, free: 23.79 MB / 0.4928 GB Notification: Performance of collectInitialBindings (initialization): time 6.204e-05/8.867, allocations: 74.33 kB / 3.439 GB, free: 23.73 MB / 0.4928 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/8.867, allocations: 0 / 3.439 GB, free: 23.73 MB / 0.4928 GB Notification: Performance of setup shared object (initialization): time 0.0001472/8.868, allocations: 351.4 kB / 3.439 GB, free: 23.41 MB / 0.4928 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/8.868, allocations: 97.2 kB / 3.439 GB, free: 23.35 MB / 0.4928 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/8.868, allocations: 296.7 kB / 3.44 GB, free: 23.03 MB / 0.4928 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/8.87, allocations: 254.2 kB / 3.44 GB, free: 22.91 MB / 0.4928 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.781e-06/8.87, allocations: 4 kB / 3.44 GB, free: 22.9 MB / 0.4928 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003565/8.873, allocations: 0.7408 MB / 3.441 GB, free: 22.46 MB / 0.4928 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009262/8.874, allocations: 2.433 MB / 3.443 GB, free: 19.89 MB / 0.4928 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/8.874, allocations: 4 kB / 3.443 GB, free: 19.89 MB / 0.4928 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002057/8.874, allocations: 54.23 kB / 3.443 GB, free: 19.85 MB / 0.4928 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/8.875, allocations: 115.3 kB / 3.443 GB, free: 19.77 MB / 0.4928 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/8.876, allocations: 0.6705 MB / 3.444 GB, free: 19.15 MB / 0.4928 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006639/8.877, allocations: 73.45 kB / 3.444 GB, free: 19.09 MB / 0.4928 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.944e-05/8.877, allocations: 29.92 kB / 3.444 GB, free: 19.07 MB / 0.4928 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/8.877, allocations: 4.625 kB / 3.444 GB, free: 19.07 MB / 0.4928 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001559/8.879, allocations: 391 kB / 3.444 GB, free: 18.85 MB / 0.4928 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/8.879, allocations: 4 kB / 3.444 GB, free: 18.85 MB / 0.4928 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/8.879, allocations: 23.8 kB / 3.444 GB, free: 18.83 MB / 0.4928 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005303/8.879, allocations: 113.7 kB / 3.444 GB, free: 18.75 MB / 0.4928 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/8.879, allocations: 19.27 kB / 3.444 GB, free: 18.73 MB / 0.4928 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/8.88, allocations: 53.08 kB / 3.445 GB, free: 18.69 MB / 0.4928 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-05/8.88, allocations: 23.88 kB / 3.445 GB, free: 18.67 MB / 0.4928 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/8.88, allocations: 79.19 kB / 3.445 GB, free: 18.59 MB / 0.4928 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000869/8.881, allocations: 185.7 kB / 3.445 GB, free: 18.49 MB / 0.4928 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002593/8.884, allocations: 1.519 MB / 3.446 GB, free: 17.62 MB / 0.4928 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/8.884, allocations: 18.86 kB / 3.446 GB, free: 17.61 MB / 0.4928 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.317e-06/8.884, allocations: 3.875 kB / 3.446 GB, free: 17.61 MB / 0.4928 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.93e-06/8.884, allocations: 4 kB / 3.446 GB, free: 17.61 MB / 0.4928 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003162/8.887, allocations: 2.034 MB / 3.448 GB, free: 16.4 MB / 0.4928 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.119e-06/8.887, allocations: 0 / 3.448 GB, free: 16.4 MB / 0.4928 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/8.887, allocations: 61.92 kB / 3.448 GB, free: 16.36 MB / 0.4928 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006446/8.888, allocations: 0.4968 MB / 3.449 GB, free: 15.99 MB / 0.4928 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/8.888, allocations: 15 kB / 3.449 GB, free: 15.98 MB / 0.4928 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/8.889, allocations: 1.043 MB / 3.45 GB, free: 15.16 MB / 0.4928 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.244e-06/8.889, allocations: 7.359 kB / 3.45 GB, free: 15.16 MB / 0.4928 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002621/8.892, allocations: 1.354 MB / 3.451 GB, free: 14.07 MB / 0.4928 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002958/8.895, allocations: 1.809 MB / 3.453 GB, free: 12.37 MB / 0.4928 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/8.895, allocations: 170.4 kB / 3.453 GB, free: 12.2 MB / 0.4928 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.303e-05/8.895, allocations: 0 / 3.453 GB, free: 12.2 MB / 0.4928 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004021/8.896, allocations: 23.8 kB / 3.453 GB, free: 12.18 MB / 0.4928 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/8.896, allocations: 33.12 kB / 3.453 GB, free: 12.16 MB / 0.4928 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/8.896, allocations: 12 kB / 3.453 GB, free: 12.15 MB / 0.4928 GB Notification: Performance of sort global known variables: time 0.0002821/8.896, allocations: 213.1 kB / 3.453 GB, free: 11.96 MB / 0.4928 GB Notification: Performance of remove unused functions: time 0.007165/8.903, allocations: 1.435 MB / 3.455 GB, free: 10.55 MB / 0.4928 GB Notification: Performance of Backend phase and start with SimCode phase: time 0.007319/8.911, allocations: 1.786 MB / 3.457 GB, free: 9.137 MB / 0.4928 GB Notification: Performance of simCode: created initialization part: time 0.001406/8.912, allocations: 0.8068 MB / 3.457 GB, free: 8.406 MB / 0.4928 GB Notification: Performance of simCode: created event and clocks part: time 3.973e-06/8.912, allocations: 2.375 kB / 3.457 GB, free: 8.406 MB / 0.4928 GB Notification: Performance of simCode: created simulation system equations: time 0.0006126/8.913, allocations: 0.558 MB / 3.458 GB, free: 7.895 MB / 0.4928 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/8.914, allocations: 151.8 kB / 3.458 GB, free: 7.781 MB / 0.4928 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3374/9.251, allocations: 51 MB / 3.508 GB, free: 114.3 MB / 0.4928 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005359/9.252, allocations: 0.9652 MB / 3.509 GB, free: 113.6 MB / 0.4928 GB Notification: Performance of SimCode: time 1.05e-06/9.252, allocations: 0 / 3.509 GB, free: 113.6 MB / 0.4928 GB