Notification: Performance of loadModel(Modelica): time 1.085/1.085, allocations: 111.2 MB / 118.4 MB, free: 15.58 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.951e-05/1.964e-05, allocations: 0 / 145.9 MB, free: 4.059 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1288, allocations: 25.16 MB / 171.1 MB, free: 1.75 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.301/3.43, allocations: 1.454 GB / 1.621 GB, free: 1.996 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/3.431, allocations: 62.22 kB / 1.621 GB, free: 1.969 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.375/7.806, allocations: 0.8915 GB / 2.513 GB, free: 13.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004144/7.806, allocations: 67.77 kB / 2.513 GB, free: 13.8 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 573 * Number of variables: 573 Notification: Performance of Generate backend data structure: time 0.02009/7.826, allocations: 3.886 MB / 2.516 GB, free: 9.879 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.246e-05/7.826, allocations: 12.03 kB / 2.516 GB, free: 9.867 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002125/7.828, allocations: 304.5 kB / 2.517 GB, free: 9.566 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008546/7.837, allocations: 1.975 MB / 2.519 GB, free: 7.566 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000519/7.838, allocations: 199.5 kB / 2.519 GB, free: 7.355 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/7.839, allocations: 132 kB / 2.519 GB, free: 7.227 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009226/7.848, allocations: 2.984 MB / 2.522 GB, free: 4.234 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01197/7.86, allocations: 3.232 MB / 2.525 GB, free: 0.7891 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001353/7.86, allocations: 7.938 kB / 2.525 GB, free: 0.7812 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008412/7.861, allocations: 7.938 kB / 2.525 GB, free: 0.7734 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003487/7.862, allocations: 188 kB / 2.525 GB, free: 0.5859 MB / 298.7 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.2513/8.113, allocations: 16.43 MB / 2.541 GB, free: 8.797 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003919/8.117, allocations: 1.928 MB / 2.543 GB, free: 8.762 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002751/8.12, allocations: 1.378 MB / 2.544 GB, free: 8.742 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3659/8.486, allocations: 109 MB / 2.651 GB, free: 3.645 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.376e-05/8.486, allocations: 60.53 kB / 2.651 GB, free: 3.605 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001666/8.487, allocations: 114.5 kB / 2.651 GB, free: 3.566 MB / 362.7 MB Notification: Performance of pre-optimization done (n=179): time 9.057e-06/8.487, allocations: 0 / 2.651 GB, free: 3.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=234): time 0.5826/9.07, allocations: 19.94 MB / 2.671 GB, free: 80.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.651e-05/9.07, allocations: 132.3 kB / 2.671 GB, free: 80.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003912/9.074, allocations: 1.051 MB / 2.672 GB, free: 80.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001031/9.075, allocations: 25.7 kB / 2.672 GB, free: 80.08 MB / 362.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Valves.mo:368:7-373:78:writable] Warning: The parameter valve.Av has fixed = false, a start value, start = valve.m_flow_nominal * Modelica.Fluid.Valves.ValveIncompressible$valve.valveCharacteristic(valve.opening_nominal) / sqrt(valve.rho_nominal * valve.dp_nominal) and a binding equation valve.Av = 0.0, which is probably redundant. The binding equation will be ignored, as it is expected for Modelica 3.1. Notification: Performance of collectInitialEqns (initialization): time 0.001724/9.077, allocations: 1.041 MB / 2.673 GB, free: 79.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002192/9.079, allocations: 0.7635 MB / 2.674 GB, free: 79.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/9.08, allocations: 5.391 kB / 2.674 GB, free: 79.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004091/9.081, allocations: 401.9 kB / 2.674 GB, free: 78.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006454/9.087, allocations: 1.8 MB / 2.676 GB, free: 78.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007488/9.095, allocations: 2.273 MB / 2.678 GB, free: 78.46 MB / 362.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.05748/9.152, allocations: 6.671 MB / 2.684 GB, free: 78.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-05/9.152, allocations: 6.688 kB / 2.684 GB, free: 78.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.04416/9.197, allocations: 6.74 MB / 2.691 GB, free: 78.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.047e-05/9.197, allocations: 17.33 kB / 2.691 GB, free: 78.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.051e-05/9.197, allocations: 12.75 kB / 2.691 GB, free: 78.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04447/9.241, allocations: 4.267 MB / 2.695 GB, free: 78.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003859/9.245, allocations: 338.3 kB / 2.695 GB, free: 78.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0441/9.289, allocations: 8 MB / 2.703 GB, free: 76.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008887/9.298, allocations: 352.2 kB / 2.704 GB, free: 76.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0015/9.3, allocations: 149.5 kB / 2.704 GB, free: 76.39 MB / 362.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heater.mediums[1].p = 0.0. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.tank.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.heater.mediums[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.tank.ports[2].p:DUMMY_DER(flow=false fixed = false ) "Thermodynamic pressure in the connection point" type: Real [2] $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: 58 * Number of states: 0 () * Number of discrete variables: 14 (radiator.state_b.phase,heater.state_a.phase,valve.state_b.phase,valve.state_a.phase,tank.heatTransfer.states[1].phase,pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[1].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.state_b.phase,pipe.state_a.phase,radiator.state_a.phase,heater.state_b.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 11,19 125} Notification: Performance of prepare postOptimizeDAE: time 0.00241/9.302, allocations: 165 kB / 2.704 GB, free: 76.27 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03719/9.34, allocations: 5.719 MB / 2.71 GB, free: 76.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001415/9.341, allocations: 202.9 kB / 2.71 GB, free: 75.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03284/9.374, allocations: 10.02 MB / 2.72 GB, free: 75.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03748/9.411, allocations: 8.781 MB / 2.728 GB, free: 74.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-05/9.412, allocations: 2.109 kB / 2.728 GB, free: 74.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03034/9.442, allocations: 8.92 MB / 2.737 GB, free: 73.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04987/9.492, allocations: 16.22 MB / 2.753 GB, free: 65.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.146e-05/9.492, allocations: 0 / 2.753 GB, free: 65.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003687/9.496, allocations: 402.4 kB / 2.753 GB, free: 64.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01208/9.508, allocations: 3.476 MB / 2.756 GB, free: 62.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009228/9.509, allocations: 76.8 kB / 2.756 GB, free: 62.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01923/9.528, allocations: 9.424 MB / 2.766 GB, free: 53.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.5335/10.06, allocations: 73.04 MB / 2.837 GB, free: 63.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0381/10.1, allocations: 12.43 MB / 2.849 GB, free: 62.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003689/10.1, allocations: 0.8994 MB / 2.85 GB, free: 62.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001586/10.11, allocations: 13.91 kB / 2.85 GB, free: 62.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005933/10.11, allocations: 286.1 kB / 2.85 GB, free: 62.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001363/10.11, allocations: 231 kB / 2.851 GB, free: 62.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009521/10.11, allocations: 118.8 kB / 2.851 GB, free: 62.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001828/10.12, allocations: 0.767 MB / 2.851 GB, free: 62.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.012e-06/10.12, allocations: 0 / 2.851 GB, free: 62.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.02702/10.14, allocations: 5.162 MB / 2.856 GB, free: 60.17 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 ($STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],radiator.mediums[1].p,radiator.mediums[1].h,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h) * Number of discrete variables: 40 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse12.phase,$cse15.phase,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse24.phase,$cse24.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse37.phase,$cse37.region,$cse40.phase,$cse40.region,$cse45.phase,$cse48.phase,$cse53.phase,$cse53.region,$cse56.phase,$cse56.region,$cse57.phase,$cse60.phase,$cse60.region,$cse63.phase,tank.heatTransfer.states[1].phase,pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[1].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,2 9,2 4,1 1,4 16,2 12,1 1,7 33} Notification: Performance of Backend phase and start with SimCode phase: time 0.07997/10.22, allocations: 17.61 MB / 2.874 GB, free: 49.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01876/10.24, allocations: 5.645 MB / 2.879 GB, free: 46.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/10.24, allocations: 4 kB / 2.879 GB, free: 46.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01365/10.26, allocations: 3.86 MB / 2.883 GB, free: 44.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009943/10.27, allocations: 0.9599 MB / 2.884 GB, free: 43.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2968/10.56, allocations: 9.452 MB / 2.893 GB, free: 72.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005443/10.57, allocations: 2.366 MB / 2.895 GB, free: 71.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.008309/10.58, allocations: 0.9007 MB / 2.896 GB, free: 71.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005903/10.58, allocations: 1.377 MB / 2.898 GB, free: 71.83 MB / 362.7 MB Notification: Performance of SimCode: time 2.575e-06/10.58, allocations: 0 / 2.898 GB, free: 71.83 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.108/11.69, allocations: 218.4 MB / 3.111 GB, free: 0.5586 MB / 378.8 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.00487/11.7, allocations: 116.5 kB / 3.111 GB, free: 380 kB / 378.8 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 17.52/29.21, allocations: 0 / 3.111 GB, free: 380 kB / 378.8 MB