Notification: Performance of loadModel(ModelicaTest): time 1.855/1.855, allocations: 234.4 MB / 240 MB, free: 7.848 MB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 6.699e-06/7.127e-06, allocations: 1.062 kB / 296.6 MB, free: 8.473 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08685/0.08688, allocations: 54.71 MB / 351.3 MB, free: 10.99 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.057/5.144, allocations: 2.648 GB / 2.991 GB, free: 114.1 MB / 488.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/5.144, allocations: 79.66 kB / 2.991 GB, free: 114.1 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 FrontEnd: time 2.999/8.143, allocations: 0.7399 GB / 3.731 GB, free: 35.09 MB / 0.4928 GB Notification: Performance of Transformations before backend: time 0.0001651/8.143, allocations: 32.38 kB / 3.731 GB, free: 35.08 MB / 0.4928 GB Notification: Performance of Generate backend data structure: time 0.01349/8.157, allocations: 2.921 MB / 3.734 GB, free: 33.76 MB / 0.4928 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/8.157, allocations: 11.16 kB / 3.734 GB, free: 33.76 MB / 0.4928 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008283/8.165, allocations: 0.6306 MB / 3.735 GB, free: 33.68 MB / 0.4928 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00387/8.169, allocations: 1.091 MB / 3.736 GB, free: 33.36 MB / 0.4928 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/8.169, allocations: 41.22 kB / 3.736 GB, free: 33.36 MB / 0.4928 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000526/8.17, allocations: 60.78 kB / 3.736 GB, free: 33.36 MB / 0.4928 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004784/8.175, allocations: 1.739 MB / 3.738 GB, free: 33.35 MB / 0.4928 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004528/8.179, allocations: 1.563 MB / 3.739 GB, free: 33.01 MB / 0.4928 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.802e-05/8.179, allocations: 4.5 kB / 3.739 GB, free: 33.01 MB / 0.4928 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002519/8.18, allocations: 2.906 kB / 3.739 GB, free: 33.01 MB / 0.4928 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/8.18, allocations: 85.33 kB / 3.739 GB, free: 33 MB / 0.4928 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6266/8.806, allocations: 137.7 MB / 3.874 GB, free: 109.1 MB / 0.5397 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002934/8.809, allocations: 1.031 MB / 3.875 GB, free: 109 MB / 0.5397 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001205/8.811, allocations: 0.5485 MB / 3.875 GB, free: 109 MB / 0.5397 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04444/8.855, allocations: 17.42 MB / 3.892 GB, free: 98.13 MB / 0.5397 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/8.855, allocations: 46.14 kB / 3.892 GB, free: 98.09 MB / 0.5397 GB Notification: Performance of pre-optimization done (n=91): time 5.257e-06/8.855, allocations: 0 / 3.892 GB, free: 98.09 MB / 0.5397 GB Notification: Performance of matching and sorting (n=129): time 0.09636/8.951, allocations: 10.67 MB / 3.903 GB, free: 97.64 MB / 0.5397 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/8.952, allocations: 223.7 kB / 3.903 GB, free: 97.39 MB / 0.5397 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/8.953, allocations: 0.7594 MB / 3.904 GB, free: 97.24 MB / 0.5397 GB Notification: Performance of collectPreVariables (initialization): time 0.0005075/8.954, allocations: 25.7 kB / 3.904 GB, free: 97.21 MB / 0.5397 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/8.954, allocations: 0.5264 MB / 3.904 GB, free: 96.88 MB / 0.5397 GB Notification: Performance of collectInitialBindings (initialization): time 0.000683/8.955, allocations: 432.2 kB / 3.905 GB, free: 96.66 MB / 0.5397 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002884/8.955, allocations: 0 / 3.905 GB, free: 96.66 MB / 0.5397 GB Notification: Performance of setup shared object (initialization): time 0.0001282/8.955, allocations: 376.5 kB / 3.905 GB, free: 96.34 MB / 0.5397 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002932/8.958, allocations: 1.339 MB / 3.906 GB, free: 96.34 MB / 0.5397 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003542/8.962, allocations: 1.781 MB / 3.908 GB, free: 95.85 MB / 0.5397 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/8.972, allocations: 1.983 MB / 3.91 GB, free: 95.84 MB / 0.5397 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.316e-05/8.972, allocations: 6 kB / 3.91 GB, free: 95.84 MB / 0.5397 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.02203/8.994, allocations: 5.411 MB / 3.915 GB, free: 95.73 MB / 0.5397 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009989/8.995, allocations: 4.782 MB / 3.92 GB, free: 90.75 MB / 0.5397 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-05/8.995, allocations: 10.31 kB / 3.92 GB, free: 90.75 MB / 0.5397 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01776/9.013, allocations: 4.016 MB / 3.924 GB, free: 90.73 MB / 0.5397 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/9.015, allocations: 325 kB / 3.924 GB, free: 90.73 MB / 0.5397 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02069/9.036, allocations: 6.334 MB / 3.93 GB, free: 89.66 MB / 0.5397 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005143/9.041, allocations: 247 kB / 3.931 GB, free: 89.66 MB / 0.5397 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006932/9.042, allocations: 126.8 kB / 3.931 GB, free: 89.66 MB / 0.5397 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/9.042, allocations: 7.594 kB / 3.931 GB, free: 89.66 MB / 0.5397 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01621/9.058, allocations: 3.147 MB / 3.934 GB, free: 89.61 MB / 0.5397 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.066e-05/9.058, allocations: 11.72 kB / 3.934 GB, free: 89.61 MB / 0.5397 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003118/9.061, allocations: 0.5985 MB / 3.934 GB, free: 89.59 MB / 0.5397 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00302/9.064, allocations: 461.9 kB / 3.935 GB, free: 89.59 MB / 0.5397 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005057/9.069, allocations: 1.94 MB / 3.937 GB, free: 88.55 MB / 0.5397 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002767/9.072, allocations: 186.3 kB / 3.937 GB, free: 88.54 MB / 0.5397 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005749/9.073, allocations: 100.8 kB / 3.937 GB, free: 88.54 MB / 0.5397 GB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.0004364/9.073, allocations: 7.5 kB / 3.937 GB, free: 88.54 MB / 0.5397 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00296/9.076, allocations: 0.5051 MB / 3.937 GB, free: 88.48 MB / 0.5397 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02091/9.097, allocations: 7.321 MB / 3.945 GB, free: 88.19 MB / 0.5397 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.275e-05/9.097, allocations: 31.05 kB / 3.945 GB, free: 88.19 MB / 0.5397 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/9.097, allocations: 3.906 kB / 3.945 GB, free: 88.19 MB / 0.5397 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.613e-05/9.097, allocations: 11.62 kB / 3.945 GB, free: 88.19 MB / 0.5397 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02474/9.122, allocations: 9.715 MB / 3.954 GB, free: 87.55 MB / 0.5397 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.591e-05/9.122, allocations: 3.531 kB / 3.954 GB, free: 87.55 MB / 0.5397 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/9.123, allocations: 149.7 kB / 3.954 GB, free: 87.55 MB / 0.5397 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01538/9.138, allocations: 5.054 MB / 3.959 GB, free: 87.47 MB / 0.5397 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005118/9.139, allocations: 51.28 kB / 3.959 GB, free: 87.47 MB / 0.5397 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02007/9.159, allocations: 7.002 MB / 3.966 GB, free: 86.35 MB / 0.5397 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/9.159, allocations: 4.562 kB / 3.966 GB, free: 86.35 MB / 0.5397 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01844/9.178, allocations: 6.189 MB / 3.972 GB, free: 85.6 MB / 0.5397 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002019/9.18, allocations: 0.6498 MB / 3.973 GB, free: 85.42 MB / 0.5397 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008943/9.181, allocations: 3.938 kB / 3.973 GB, free: 85.42 MB / 0.5397 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004359/9.185, allocations: 211.1 kB / 3.973 GB, free: 85.41 MB / 0.5397 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004881/9.185, allocations: 97.8 kB / 3.973 GB, free: 85.41 MB / 0.5397 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003504/9.186, allocations: 77.88 kB / 3.973 GB, free: 85.41 MB / 0.5397 GB Notification: Performance of sort global known variables: time 0.00158/9.187, allocations: 0.8051 MB / 3.974 GB, free: 85.3 MB / 0.5397 GB Notification: Performance of remove unused functions: time 0.0103/9.198, allocations: 2.09 MB / 3.976 GB, free: 85.28 MB / 0.5397 GB Notification: Performance of Backend phase and start with SimCode phase: time 0.0116/9.209, allocations: 2.529 MB / 3.978 GB, free: 85.06 MB / 0.5397 GB Notification: Performance of simCode: created initialization part: time 0.01839/9.228, allocations: 5.311 MB / 3.984 GB, free: 85.04 MB / 0.5397 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/9.228, allocations: 0 / 3.984 GB, free: 85.04 MB / 0.5397 GB Notification: Performance of simCode: created simulation system equations: time 0.008969/9.237, allocations: 2.525 MB / 3.986 GB, free: 85.01 MB / 0.5397 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003906/9.241, allocations: 477 kB / 3.987 GB, free: 85 MB / 0.5397 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06817/9.309, allocations: 20.58 MB / 4.007 GB, free: 83.82 MB / 0.5397 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001897/9.311, allocations: 1.565 MB / 4.008 GB, free: 83.08 MB / 0.5397 GB Notification: Performance of SimCode: time 1.966e-06/9.311, allocations: 0 / 4.008 GB, free: 83.08 MB / 0.5397 GB Notification: Performance of Templates: time 0.1052/9.416, allocations: 69.35 MB / 4.076 GB, free: 53.57 MB / 0.5397 GB