Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 3.183/3.183, allocations: 325.3 MB / 337.4 MB, free: 10.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.892e-05/3.9e-05, allocations: 4 kB / 414.9 MB, free: 6.039 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.164, allocations: 74.43 MB / 489.3 MB, free: 11.47 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.594/7.758, allocations: 2.384 GB / 2.861 GB, free: 174.5 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003443/7.758, allocations: 85.31 kB / 2.861 GB, free: 174.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.992/10.75, allocations: 0.6481 GB / 3.51 GB, free: 70.05 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.894e-06/10.75, allocations: 0 / 3.51 GB, free: 70.05 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001192/10.75, allocations: 39.98 kB / 3.51 GB, free: 70.01 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.005424/10.76, allocations: 1.406 MB / 3.511 GB, free: 68.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/10.76, allocations: 8.031 kB / 3.511 GB, free: 68.55 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002486/10.76, allocations: 118.5 kB / 3.511 GB, free: 68.42 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004601/10.76, allocations: 0.5285 MB / 3.512 GB, free: 67.89 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03788/10.8, allocations: 12.54 MB / 3.524 GB, free: 55.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002195/10.8, allocations: 313.1 kB / 3.524 GB, free: 54.87 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003181/10.8, allocations: 79.95 kB / 3.524 GB, free: 54.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/10.8, allocations: 0.9491 MB / 3.525 GB, free: 53.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/10.8, allocations: 3.938 kB / 3.525 GB, free: 53.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/10.8, allocations: 32 kB / 3.525 GB, free: 53.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.294e-05/10.8, allocations: 33.3 kB / 3.525 GB, free: 53.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/10.81, allocations: 0.8538 MB / 3.526 GB, free: 52.88 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009191/10.82, allocations: 3.238 MB / 3.529 GB, free: 49.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/10.82, allocations: 0.5894 MB / 3.53 GB, free: 48.95 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007039/10.82, allocations: 325.6 kB / 3.53 GB, free: 48.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/10.82, allocations: 1.035 MB / 3.531 GB, free: 47.37 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009402/10.82, allocations: 448.5 kB / 3.532 GB, free: 46.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=51): time 4.379e-06/10.82, allocations: 0 / 3.532 GB, free: 46.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=51): time 0.00251/10.82, allocations: 0.8029 MB / 3.532 GB, free: 46.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/10.82, allocations: 162 kB / 3.532 GB, free: 45.89 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/10.82, allocations: 0.9528 MB / 3.533 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000153/10.82, allocations: 41.7 kB / 3.533 GB, free: 44.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004276/10.82, allocations: 449.3 kB / 3.534 GB, free: 44.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/10.83, allocations: 173.6 kB / 3.534 GB, free: 44.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.402e-05/10.83, allocations: 16.06 kB / 3.534 GB, free: 44.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.742e-05/10.83, allocations: 326 kB / 3.534 GB, free: 43.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007822/10.83, allocations: 293 kB / 3.535 GB, free: 43.64 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009154/10.83, allocations: 480.1 kB / 3.535 GB, free: 43.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008098/10.83, allocations: 367.8 kB / 3.535 GB, free: 42.74 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/10.83, allocations: 0 / 3.535 GB, free: 42.74 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002334/10.83, allocations: 0.9085 MB / 3.536 GB, free: 41.81 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/10.83, allocations: 37.69 kB / 3.536 GB, free: 41.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/10.83, allocations: 4 kB / 3.536 GB, free: 41.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/10.83, allocations: 7.953 kB / 3.536 GB, free: 41.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/10.83, allocations: 208 kB / 3.537 GB, free: 41.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/10.83, allocations: 11.98 kB / 3.537 GB, free: 41.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002971/10.84, allocations: 298.9 kB / 3.537 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/10.84, allocations: 43.97 kB / 3.537 GB, free: 41.21 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0003044/10.84, allocations: 171.7 kB / 3.537 GB, free: 41.03 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/10.84, allocations: 114.6 kB / 3.537 GB, free: 40.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/10.84, allocations: 0.8591 MB / 3.538 GB, free: 40.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/10.84, allocations: 8 kB / 3.538 GB, free: 40.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/10.84, allocations: 3.953 kB / 3.538 GB, free: 40.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/10.84, allocations: 3.984 kB / 3.538 GB, free: 40.01 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005259/10.84, allocations: 2.598 MB / 3.541 GB, free: 37.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/10.84, allocations: 4 kB / 3.541 GB, free: 37.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/10.84, allocations: 111.8 kB / 3.541 GB, free: 37.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.619e-05/10.84, allocations: 12 kB / 3.541 GB, free: 37.15 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.975e-05/10.84, allocations: 19.98 kB / 3.541 GB, free: 37.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-05/10.84, allocations: 11.94 kB / 3.541 GB, free: 37.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/10.84, allocations: 11.94 kB / 3.541 GB, free: 37.11 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/10.85, allocations: 1.335 MB / 3.542 GB, free: 35.54 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006982/10.85, allocations: 323.4 kB / 3.542 GB, free: 35.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000254/10.85, allocations: 23.98 kB / 3.542 GB, free: 35.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002158/10.85, allocations: 127.9 kB / 3.543 GB, free: 35.06 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/10.85, allocations: 43.89 kB / 3.543 GB, free: 35.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/10.85, allocations: 43.95 kB / 3.543 GB, free: 34.97 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001546/10.85, allocations: 0.8075 MB / 3.543 GB, free: 34.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.31e-07/10.85, allocations: 0 / 3.543 GB, free: 34.16 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002159/10.85, allocations: 423.7 kB / 3.544 GB, free: 33.74 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.00555/10.86, allocations: 5.105 MB / 3.549 GB, free: 28.44 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001848/10.86, allocations: 0.721 MB / 3.549 GB, free: 27.71 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.443e-06/10.86, allocations: 0 / 3.549 GB, free: 27.71 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007103/10.86, allocations: 390 kB / 3.55 GB, free: 27.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004295/10.87, allocations: 0.5099 MB / 3.55 GB, free: 26.81 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/10.87, allocations: 1.648 MB / 3.552 GB, free: 25.04 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006168/10.87, allocations: 1.08 MB / 3.553 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001832/10.87, allocations: 262.7 kB / 3.553 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008272/10.87, allocations: 359.3 kB / 3.554 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of SimCode: time 1.813e-06/10.87, allocations: 0 / 3.554 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.632/11.51, allocations: 55.04 MB / 3.607 GB, free: 101.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002552/11.51, allocations: 220.8 kB / 3.608 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.974/16.48, allocations: 0 / 3.608 GB, free: 101.3 MB / 0.6511 GB