Notification: Performance of FrontEnd - loaded program: time 2.265e-05/2.279e-05, allocations: 3.125 kB / 2.907 GB, free: 121.6 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0825/0.08255, allocations: 44.52 MB / 2.95 GB, free: 83 MB / 334.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.298/6.381, allocations: 2.639 GB / 5.589 GB, free: 15.21 MB / 398.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/6.381, allocations: 74.77 kB / 5.589 GB, free: 15.17 MB / 398.1 MB [/mnt/btrfs/@workspace/LibraryExperimental/OpenModelica/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/mnt/btrfs/@workspace/LibraryExperimental/OpenModelica/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 - DAE generated: time 3.891/10.27, allocations: 0.7368 GB / 6.326 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.658e-06/10.27, allocations: 0 / 6.326 GB, free: 27.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001041/10.27, allocations: 35.12 kB / 6.326 GB, free: 27.91 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.01057/10.28, allocations: 2.799 MB / 6.329 GB, free: 25.06 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/10.28, allocations: 8.031 kB / 6.329 GB, free: 25.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005956/10.29, allocations: 0.5962 MB / 6.329 GB, free: 24.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003125/10.29, allocations: 1.092 MB / 6.33 GB, free: 23.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/10.29, allocations: 54.16 kB / 6.33 GB, free: 23.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003511/10.29, allocations: 63.91 kB / 6.33 GB, free: 23.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003831/10.3, allocations: 1.746 MB / 6.332 GB, free: 21.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/10.3, allocations: 1.542 MB / 6.334 GB, free: 19.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.014e-05/10.3, allocations: 11.94 kB / 6.334 GB, free: 19.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/10.3, allocations: 4 kB / 6.334 GB, free: 19.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/10.3, allocations: 82 kB / 6.334 GB, free: 19.71 MB / 430.1 MB 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.8029/11.1, allocations: 136.7 MB / 6.467 GB, free: 19.13 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002806/11.11, allocations: 1.043 MB / 6.468 GB, free: 19.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/11.11, allocations: 0.5411 MB / 6.469 GB, free: 19.08 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05442/11.16, allocations: 17.41 MB / 6.486 GB, free: 7.641 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.313e-05/11.16, allocations: 42.97 kB / 6.486 GB, free: 7.602 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001689/11.16, allocations: 184.5 kB / 6.486 GB, free: 7.594 MB / 478.1 MB Notification: Performance of pre-optimization done (n=91): time 7.752e-06/11.16, allocations: 0 / 6.486 GB, free: 7.594 MB / 478.1 MB Notification: Performance of matching and sorting (n=129): time 0.09251/11.26, allocations: 9.754 MB / 6.496 GB, free: 6.125 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/11.26, allocations: 218.9 kB / 6.496 GB, free: 5.863 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/11.26, allocations: 0.7442 MB / 6.497 GB, free: 5.375 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003637/11.26, allocations: 29.7 kB / 6.497 GB, free: 5.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005354/11.26, allocations: 0.6537 MB / 6.497 GB, free: 4.992 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006035/11.26, allocations: 430.2 kB / 6.498 GB, free: 4.719 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00027/11.26, allocations: 0 / 6.498 GB, free: 4.719 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003879/11.26, allocations: 369.1 kB / 6.498 GB, free: 20.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002473/11.26, allocations: 1.266 MB / 6.499 GB, free: 19.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002689/11.26, allocations: 1.703 MB / 6.501 GB, free: 18.65 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008328/11.27, allocations: 1.89 MB / 6.503 GB, free: 17.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/11.27, allocations: 4 kB / 6.503 GB, free: 17.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01523/11.29, allocations: 4.671 MB / 6.507 GB, free: 15.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002295/11.29, allocations: 4.791 MB / 6.512 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.281e-05/11.29, allocations: 12 kB / 6.512 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01651/11.31, allocations: 3.963 MB / 6.516 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/11.31, allocations: 330.7 kB / 6.516 GB, free: 7.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02322/11.33, allocations: 5.742 MB / 6.522 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004501/11.34, allocations: 284.6 kB / 6.522 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005455/11.34, allocations: 120.4 kB / 6.522 GB, free: 4.438 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/11.34, allocations: 4 kB / 6.522 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01313/11.35, allocations: 2.907 MB / 6.525 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.96e-05/11.35, allocations: 12 kB / 6.525 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002837/11.35, allocations: 0.5709 MB / 6.526 GB, free: 2.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002922/11.36, allocations: 454.1 kB / 6.526 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003829/11.36, allocations: 1.788 MB / 6.528 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/11.36, allocations: 174.3 kB / 6.528 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003665/11.36, allocations: 98.92 kB / 6.528 GB, free: 0.6797 MB / 494.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.orifice.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate in design flow direction" type: Real $DER.pipe1.flowModel.states[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy" type: Real [2] $DER.pipe1.flowModel.mus_act[1]:DUMMY_DER(fixed = false ) "Actual viscosity per segment" type: Real [1] $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 12 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,pump.heatTransfer.states[1].phase,source.medium.phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase,orifice.state_b.phase,orifice.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 21,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.001129/11.36, allocations: 172.8 kB / 6.528 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000642/11.37, allocations: 133.2 kB / 6.528 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2334/11.6, allocations: 6.668 MB / 6.535 GB, free: 94.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.692e-05/11.6, allocations: 39.31 kB / 6.535 GB, free: 94.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/11.6, allocations: 1.859 kB / 6.535 GB, free: 94.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.775e-05/11.6, allocations: 8.453 kB / 6.535 GB, free: 94.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02207/11.62, allocations: 8.981 MB / 6.544 GB, free: 93.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-05/11.62, allocations: 0 / 6.544 GB, free: 93.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009841/11.62, allocations: 146.5 kB / 6.544 GB, free: 93.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01725/11.64, allocations: 5.249 MB / 6.549 GB, free: 93.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003858/11.64, allocations: 37.06 kB / 6.549 GB, free: 93.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01594/11.66, allocations: 6.906 MB / 6.556 GB, free: 92.78 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.474e-06/11.66, allocations: 3.953 kB / 6.556 GB, free: 92.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02396/11.68, allocations: 8.947 MB / 6.564 GB, free: 91.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00231/11.68, allocations: 0.6302 MB / 6.565 GB, free: 91.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007097/11.68, allocations: 11.42 kB / 6.565 GB, free: 91.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004943/11.69, allocations: 186.5 kB / 6.565 GB, free: 91.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005358/11.69, allocations: 98.53 kB / 6.565 GB, free: 91.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000427/11.69, allocations: 66.09 kB / 6.565 GB, free: 91.57 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00197/11.69, allocations: 0.783 MB / 6.566 GB, free: 91.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.14e-07/11.69, allocations: 0 / 6.566 GB, free: 91.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0128/11.7, allocations: 2.157 MB / 6.568 GB, free: 91.46 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse21.phase,$cse21.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 21,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01371/11.72, allocations: 2.481 MB / 6.571 GB, free: 91.22 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02064/11.74, allocations: 4.81 MB / 6.575 GB, free: 91.17 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/11.74, allocations: 3.281 kB / 6.575 GB, free: 91.17 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01052/11.75, allocations: 2.171 MB / 6.577 GB, free: 91.13 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004725/11.75, allocations: 495 kB / 6.578 GB, free: 91.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/11.77, allocations: 4.54 MB / 6.582 GB, free: 90.14 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/11.77, allocations: 1.539 MB / 6.584 GB, free: 89.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006033/11.77, allocations: 1.706 MB / 6.586 GB, free: 89.38 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00047/11.77, allocations: 91.23 kB / 6.586 GB, free: 89.38 MB / 494.1 MB Notification: Performance of SimCode: time 1.817e-06/11.77, allocations: 3.312 kB / 6.586 GB, free: 89.38 MB / 494.1 MB Notification: Performance of Templates: time 0.1689/11.94, allocations: 87.26 MB / 6.671 GB, free: 60.99 MB / 494.1 MB