Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.243/4.243, allocations: 460.4 MB / 472.6 MB, free: 5.375 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.236e-05/4.261e-05, allocations: 4 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2404, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.275/1.516, allocations: 415.2 MB / 1.077 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003629/1.516, allocations: 90.45 kB / 1.077 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 12.48/13.99, allocations: 2.273 GB / 3.35 GB, free: 110.1 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.016e-06/13.99, allocations: 3.703 kB / 3.35 GB, free: 110.1 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.002108/14, allocations: 258.9 kB / 3.35 GB, free: 110 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.04372/14.04, allocations: 7.307 MB / 3.357 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/14.04, allocations: 11.53 kB / 3.357 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004849/14.05, allocations: 0.7586 MB / 3.358 GB, free: 106.8 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/14.06, allocations: 1.229 MB / 3.359 GB, free: 106.3 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05064/14.11, allocations: 12.53 MB / 3.372 GB, free: 103.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008519/14.11, allocations: 440.2 kB / 3.372 GB, free: 103.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004213/14.11, allocations: 0.5831 MB / 3.373 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.042/14.15, allocations: 13.4 MB / 3.386 GB, free: 96.12 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005266/14.16, allocations: 15.78 kB / 3.386 GB, free: 96.11 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003817/14.16, allocations: 241.7 kB / 3.386 GB, free: 95.93 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001325/14.16, allocations: 142.8 kB / 3.386 GB, free: 95.93 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04312/14.2, allocations: 17.98 MB / 3.404 GB, free: 81.3 MB / 0.9167 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.1499/14.35, allocations: 55.37 MB / 3.458 GB, free: 25.18 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01902/14.37, allocations: 8.664 MB / 3.466 GB, free: 16.5 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0203/14.39, allocations: 9.254 MB / 3.475 GB, free: 7.25 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8155/15.21, allocations: 26.3 MB / 3.501 GB, free: 115 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01946/15.23, allocations: 7.297 MB / 3.508 GB, free: 114.9 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.1007/15.33, allocations: 21.17 MB / 3.529 GB, free: 114.6 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=301): time 3.425e-05/15.33, allocations: 0 / 3.529 GB, free: 114.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=301): time 0.04702/15.37, allocations: 14.5 MB / 3.543 GB, free: 114.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.588e-05/15.37, allocations: 89.08 kB / 3.543 GB, free: 114.3 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01914/15.39, allocations: 7.387 MB / 3.55 GB, free: 113.9 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.002662/15.4, allocations: 102.3 kB / 3.55 GB, free: 113.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.005906/15.4, allocations: 4.011 MB / 3.554 GB, free: 113 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003856/15.41, allocations: 1.093 MB / 3.555 GB, free: 112.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001505/15.41, allocations: 88.34 kB / 3.555 GB, free: 112.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003933/15.41, allocations: 491.5 kB / 3.556 GB, free: 112.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0145/15.42, allocations: 6.076 MB / 3.562 GB, free: 112.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01616/15.44, allocations: 7.859 MB / 3.569 GB, free: 109.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01652/15.46, allocations: 6.999 MB / 3.576 GB, free: 109.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.551e-05/15.46, allocations: 14.59 kB / 3.576 GB, free: 109.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.05125/15.51, allocations: 16.22 MB / 3.592 GB, free: 109.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.005795/15.51, allocations: 25.25 MB / 3.617 GB, free: 82.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002393/15.51, allocations: 44.03 kB / 3.617 GB, free: 82.42 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1317/15.65, allocations: 10.89 MB / 3.627 GB, free: 81.61 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01629/15.66, allocations: 1.611 MB / 3.629 GB, free: 81.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01498/15.68, allocations: 6.301 MB / 3.635 GB, free: 78.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01971/15.7, allocations: 0.6028 MB / 3.636 GB, free: 78.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00338/15.7, allocations: 0.535 MB / 3.636 GB, free: 78.54 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/15.7, allocations: 6.656 kB / 3.636 GB, free: 78.54 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04578/15.75, allocations: 15.58 MB / 3.651 GB, free: 78.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000177/15.75, allocations: 49.09 kB / 3.651 GB, free: 78.17 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1305/15.88, allocations: 10.61 MB / 3.662 GB, free: 77.37 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01633/15.89, allocations: 1.602 MB / 3.663 GB, free: 77.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02179/15.91, allocations: 10.19 MB / 3.673 GB, free: 72.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01891/15.93, allocations: 0.567 MB / 3.674 GB, free: 72.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003524/15.94, allocations: 0.5419 MB / 3.674 GB, free: 72.54 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.004724/15.94, allocations: 399.9 kB / 3.675 GB, free: 72.43 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004817/15.95, allocations: 0.7491 MB / 3.676 GB, free: 72.04 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04467/15.99, allocations: 13.47 MB / 3.689 GB, free: 71.53 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.823e-05/15.99, allocations: 43.06 kB / 3.689 GB, free: 71.53 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/15.99, allocations: 0 / 3.689 GB, free: 71.53 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02553/16.02, allocations: 10.06 MB / 3.699 GB, free: 71.02 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06099/16.08, allocations: 23.71 MB / 3.722 GB, free: 61.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-05/16.08, allocations: 0 / 3.722 GB, free: 61.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009951/16.09, allocations: 0.7006 MB / 3.722 GB, free: 61.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1273/16.22, allocations: 9.934 MB / 3.732 GB, free: 59.81 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001441/16.22, allocations: 100.5 kB / 3.732 GB, free: 59.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007143/16.22, allocations: 4.299 MB / 3.736 GB, free: 55.46 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/16.22, allocations: 3.656 kB / 3.736 GB, free: 55.46 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04434/16.27, allocations: 18.22 MB / 3.754 GB, free: 38.84 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009192/16.28, allocations: 1.996 MB / 3.756 GB, free: 37.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004382/16.28, allocations: 74.19 kB / 3.756 GB, free: 37.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0136/16.3, allocations: 422.5 kB / 3.757 GB, free: 36.81 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002196/16.3, allocations: 219.3 kB / 3.757 GB, free: 36.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001902/16.3, allocations: 159.3 kB / 3.757 GB, free: 36.56 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.02148/16.32, allocations: 5.724 MB / 3.763 GB, free: 31.67 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.82e-07/16.32, allocations: 0 / 3.763 GB, free: 31.67 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.03997/16.36, allocations: 4.926 MB / 3.767 GB, free: 27.01 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.05308/16.41, allocations: 19.85 MB / 3.787 GB, free: 9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.07441/16.49, allocations: 23.85 MB / 3.81 GB, free: 6.457 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/16.49, allocations: 0 / 3.81 GB, free: 6.457 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0168/16.51, allocations: 6.073 MB / 3.816 GB, free: 0.8281 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0403/16.55, allocations: 4.646 MB / 3.821 GB, free: 13.61 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8288/17.38, allocations: 19.49 MB / 3.84 GB, free: 140.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01642/17.39, allocations: 5.37 MB / 3.845 GB, free: 139.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.05634/17.45, allocations: 7.762 MB / 3.852 GB, free: 139.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01429/17.46, allocations: 3.656 MB / 3.856 GB, free: 139.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.603e-06/17.46, allocations: 0 / 3.856 GB, free: 139.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6594/18.12, allocations: 298.9 MB / 4.148 GB, free: 15.44 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003754/18.12, allocations: 227.2 kB / 4.148 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.06/34.19, allocations: 0 / 4.148 GB, free: 15.21 MB / 0.9636 GB