Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 3/3, allocations: 325.3 MB / 337.5 MB, free: 10.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.746e-05/3.757e-05, allocations: 4 kB / 414.9 MB, free: 6.031 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1654, allocations: 74.41 MB / 489.3 MB, free: 11.47 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.228/7.394, allocations: 2.387 GB / 2.865 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/7.394, allocations: 89.25 kB / 2.865 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.693/10.09, allocations: 0.583 GB / 3.448 GB, free: 33.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.175e-06/10.09, allocations: 7.938 kB / 3.448 GB, free: 33.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001517/10.09, allocations: 39.98 kB / 3.448 GB, free: 33.21 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.004002/10.09, allocations: 1.336 MB / 3.449 GB, free: 31.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/10.09, allocations: 8.031 kB / 3.449 GB, free: 31.81 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001992/10.09, allocations: 110.5 kB / 3.45 GB, free: 31.69 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00526/10.1, allocations: 0.5798 MB / 3.45 GB, free: 31.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003632/10.1, allocations: 0.934 MB / 3.451 GB, free: 30.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.814e-05/10.1, allocations: 58 kB / 3.451 GB, free: 30.06 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/10.1, allocations: 76 kB / 3.451 GB, free: 29.99 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/10.1, allocations: 0.8888 MB / 3.452 GB, free: 29.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/10.1, allocations: 0 / 3.452 GB, free: 29.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/10.1, allocations: 32 kB / 3.452 GB, free: 28.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/10.1, allocations: 20 kB / 3.452 GB, free: 28.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/10.11, allocations: 0.6076 MB / 3.453 GB, free: 28.36 MB / 0.6355 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.008039/10.11, allocations: 4.865 MB / 3.457 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/10.11, allocations: 0.5114 MB / 3.458 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006676/10.12, allocations: 266.1 kB / 3.458 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/10.12, allocations: 1.6 MB / 3.46 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009028/10.12, allocations: 385.6 kB / 3.46 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=55): time 3.978e-06/10.12, allocations: 0 / 3.46 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=55): time 0.002085/10.12, allocations: 0.6772 MB / 3.461 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/10.12, allocations: 55.97 kB / 3.461 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/10.12, allocations: 0.9996 MB / 3.462 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/10.12, allocations: 45.7 kB / 3.462 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005066/10.12, allocations: 0.5744 MB / 3.462 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/10.12, allocations: 189.4 kB / 3.463 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.668e-05/10.12, allocations: 16 kB / 3.463 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.772e-05/10.12, allocations: 337.9 kB / 3.463 GB, free: 17.15 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007236/10.12, allocations: 258 kB / 3.463 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009389/10.12, allocations: 0.5729 MB / 3.464 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007894/10.13, allocations: 314.4 kB / 3.464 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/10.13, allocations: 0 / 3.464 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002251/10.13, allocations: 0.8759 MB / 3.465 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/10.13, allocations: 14.45 kB / 3.465 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/10.13, allocations: 8.906 kB / 3.465 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.724e-05/10.13, allocations: 12 kB / 3.465 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002208/10.13, allocations: 287.5 kB / 3.465 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.51e-05/10.13, allocations: 15.98 kB / 3.465 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/10.13, allocations: 214.8 kB / 3.465 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/10.13, allocations: 51.97 kB / 3.465 GB, free: 14.4 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002432/10.13, allocations: 167 kB / 3.466 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/10.13, allocations: 114.6 kB / 3.466 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/10.14, allocations: 1.022 MB / 3.467 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/10.14, allocations: 12 kB / 3.467 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/10.14, allocations: 0 / 3.467 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/10.14, allocations: 3.984 kB / 3.467 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/10.14, allocations: 0.8974 MB / 3.468 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/10.14, allocations: 0 / 3.468 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/10.14, allocations: 183.8 kB / 3.468 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/10.14, allocations: 4 kB / 3.468 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.397e-05/10.14, allocations: 15.98 kB / 3.468 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/10.14, allocations: 0 / 3.468 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/10.14, allocations: 7.875 kB / 3.468 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002711/10.14, allocations: 1.118 MB / 3.469 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004114/10.14, allocations: 235.4 kB / 3.469 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002709/10.14, allocations: 12 kB / 3.469 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/10.14, allocations: 127.9 kB / 3.469 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/10.14, allocations: 44.5 kB / 3.469 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.031e-05/10.14, allocations: 27.97 kB / 3.469 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001469/10.15, allocations: 0.83 MB / 3.47 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/10.15, allocations: 4 kB / 3.47 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001591/10.15, allocations: 391.5 kB / 3.471 GB, free: 9.094 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00476/10.15, allocations: 2.38 MB / 3.473 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001826/10.15, allocations: 0.6667 MB / 3.474 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/10.15, allocations: 0 / 3.474 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007861/10.16, allocations: 314 kB / 3.474 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003292/10.16, allocations: 416 kB / 3.474 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005197/10.16, allocations: 1.919 MB / 3.476 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000604/10.16, allocations: 1.135 MB / 3.477 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00155/10.17, allocations: 240.5 kB / 3.477 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009048/10.17, allocations: 471.2 kB / 3.478 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of SimCode: time 1.152e-06/10.17, allocations: 4 kB / 3.478 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5507/10.72, allocations: 33.09 MB / 3.51 GB, free: 116.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002674/10.72, allocations: 209.3 kB / 3.51 GB, free: 116.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.716/14.43, allocations: 0 / 3.51 GB, free: 116.3 MB / 0.6355 GB