Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_Validation_DamperValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.41/4.41, allocations: 464.6 MB / 476.8 MB, free: 2.141 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.094e-05/4.109e-05, allocations: 4 kB / 0.5732 GB, free: 5.605 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2378, allocations: 107.2 MB / 0.6779 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9156/1.153, allocations: 139.7 MB / 0.8143 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/1.154, allocations: 81.02 kB / 0.8144 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07628/1.23, allocations: 16.62 MB / 0.8306 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.244e-06/1.23, allocations: 0 / 0.8306 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001168/1.23, allocations: 27.22 kB / 0.8306 GB, free: 7.371 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: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.004581/1.235, allocations: 1.177 MB / 0.8318 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/1.235, allocations: 15.47 kB / 0.8318 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005633/1.236, allocations: 172.1 kB / 0.8319 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004938/1.236, allocations: 131.9 kB / 0.8321 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/1.238, allocations: 0.5938 MB / 0.8327 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/1.238, allocations: 102.1 kB / 0.8328 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003784/1.238, allocations: 123.1 kB / 0.8329 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004121/1.243, allocations: 1.104 MB / 0.8339 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.987e-05/1.243, allocations: 0 / 0.8339 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002273/1.243, allocations: 46.03 kB / 0.834 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/1.243, allocations: 30.92 kB / 0.834 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003533/1.247, allocations: 0.7688 MB / 0.8348 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01029/1.257, allocations: 3.758 MB / 0.8384 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002317/1.259, allocations: 0.7659 MB / 0.8392 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008618/1.26, allocations: 341.3 kB / 0.8395 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.678e-05/1.26, allocations: 11.72 kB / 0.8395 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/1.262, allocations: 0.4918 MB / 0.84 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=83): time 4.268e-06/1.262, allocations: 0 / 0.84 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of matching and sorting (n=83): time 0.002222/1.264, allocations: 0.757 MB / 0.8407 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.21e-05/1.264, allocations: 195.4 kB / 0.8409 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/1.265, allocations: 0.6757 MB / 0.8416 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003189/1.266, allocations: 69.34 kB / 0.8417 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004714/1.266, allocations: 469.2 kB / 0.8421 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/1.266, allocations: 233 kB / 0.8423 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.433e-05/1.267, allocations: 25.44 kB / 0.8424 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.781e-05/1.267, allocations: 340.1 kB / 0.8427 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007795/1.267, allocations: 268.4 kB / 0.8429 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009396/1.268, allocations: 0.5092 MB / 0.8434 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008848/1.269, allocations: 287.7 kB / 0.8437 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/1.269, allocations: 3.875 kB / 0.8437 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002252/1.272, allocations: 0.8387 MB / 0.8445 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009053/1.273, allocations: 1.926 MB / 0.8464 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/1.273, allocations: 3.844 kB / 0.8464 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.181e-05/1.273, allocations: 11.69 kB / 0.8464 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/1.274, allocations: 161.9 kB / 0.8466 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.902e-05/1.274, allocations: 11.62 kB / 0.8466 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/1.276, allocations: 179.7 kB / 0.8468 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/1.276, allocations: 36.98 kB / 0.8468 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/1.276, allocations: 4 kB / 0.8468 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001978/1.278, allocations: 0.7258 MB / 0.8475 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/1.278, allocations: 4 kB / 0.8475 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/1.278, allocations: 12 kB / 0.8475 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/1.279, allocations: 150.9 kB / 0.8477 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.141e-05/1.279, allocations: 16.36 kB / 0.8477 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/1.28, allocations: 164.6 kB / 0.8478 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/1.28, allocations: 34.88 kB / 0.8479 GB, free: 14.55 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 61 ($PRE.damVal.truHol2.onDelay.u,$PRE.damVal.truHol2.toOutputTrue.enableFire,$PRE.damVal.truHol2.toInitial.enableFire,$PRE.damVal.truDel3.u,$PRE.damVal.truDel4.u,$whenCondition7,$PRE.damVal.truDel4.t_next,$whenCondition4,$PRE.damVal.truDel3.t_next,$whenCondition1,$PRE.damVal.truHol2.onDelay.t_next,damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.truHol2.stateGraphRoot.resume,damVal.truHol2.stateGraphRoot.suspend,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,$PRE.damVal.hys2.y,damVal.hys2.y,$PRE.damVal.hys3.y,damVal.hys3.y,$PRE.damVal.hys4.y,damVal.hys4.y,$PRE.damVal.hys6.y,damVal.hys6.y,$PRE.damVal.hys7.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.u,damVal.truHol2.onDelay.y,$PRE.damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.localActive,$PRE.damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.newActive,$PRE.damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.active,$PRE.damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.localActive,$PRE.damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.newActive,$PRE.damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.active,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.u,damVal.truDel3.y,damVal.truDel4.u,damVal.truDel4.y,damVal.or2.y,damVal.and1.y,damVal.conVal.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 123 * 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.0004156/1.281, allocations: 201.6 kB / 0.8481 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/1.281, allocations: 94.83 kB / 0.8482 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/1.284, allocations: 0.8351 MB / 0.849 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/1.284, allocations: 15.94 kB / 0.849 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.284, allocations: 0 / 0.849 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/1.284, allocations: 3.984 kB / 0.849 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005132/1.289, allocations: 2.084 MB / 0.851 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/1.289, allocations: 4 kB / 0.851 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/1.29, allocations: 115.6 kB / 0.8511 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.709e-05/1.29, allocations: 7.984 kB / 0.8511 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/1.29, allocations: 24.67 kB / 0.8512 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.284e-05/1.29, allocations: 7.984 kB / 0.8512 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.29, allocations: 3.938 kB / 0.8512 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003307/1.293, allocations: 1.364 MB / 0.8525 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003264/1.294, allocations: 176.6 kB / 0.8527 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002319/1.294, allocations: 34.61 kB / 0.8527 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/1.295, allocations: 85.05 kB / 0.8528 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003272/1.295, allocations: 107.7 kB / 0.8529 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/1.296, allocations: 38.75 kB / 0.8529 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001011/1.297, allocations: 0.4884 MB / 0.8534 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/1.297, allocations: 0 / 0.8534 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001826/1.298, allocations: 354.9 kB / 0.8537 GB, free: 9.977 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (damVal.conVal.I.y) * Number of discrete variables: 41 (damVal.truDel4.u,damVal.truHol2.onDelay.u,damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.active,damVal.truHol2.initialStep.active,damVal.truDel3.u,$cse1,$cse2,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,damVal.hys2.y,damVal.hys3.y,damVal.hys4.y,damVal.hys6.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.y,damVal.truHol2.onDelay.t_next,damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.y,damVal.truDel3.t_next,damVal.truDel4.y,damVal.truDel4.t_next,damVal.or2.y,damVal.and1.y) * Number of discrete states: 10 (damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.hys4.y,damVal.hys6.y,damVal.truHol2.initialStep.newActive,damVal.truHol2.outputTrue.newActive,damVal.hys3.y,damVal.hys7.y,damVal.hys2.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.004406/1.303, allocations: 2.321 MB / 0.856 GB, free: 8.031 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003472/1.306, allocations: 1.148 MB / 0.8571 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/1.306, allocations: 0 / 0.8571 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/1.308, allocations: 415.7 kB / 0.8575 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/1.309, allocations: 135.3 kB / 0.8577 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005366/1.314, allocations: 1.42 MB / 0.859 GB, free: 5.66 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008789/1.315, allocations: 1.048 MB / 0.8601 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001388/1.317, allocations: 163 kB / 0.8602 GB, free: 4.422 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008738/1.318, allocations: 393.2 kB / 0.8606 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of SimCode: time 1.633e-06/1.318, allocations: 0 / 0.8606 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0732/1.391, allocations: 18.93 MB / 0.8791 GB, free: 1.574 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/1.391, allocations: 192.9 kB / 0.8793 GB, free: 1.348 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.539/4.931, allocations: 0 / 0.8793 GB, free: 1.348 MB / 0.6667 GB