Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_Validation_DamperValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.268/2.268, allocations: 251 MB / 265.9 MB, free: 11.71 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001477/0.001477, allocations: 178 kB / 325.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.343/2.343, allocations: 205.4 MB / 0.5764 GB, free: 21.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001219/0.001218, allocations: 92.23 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004792, allocations: 13.22 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2132, allocations: 106.3 MB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.263/0.4762, allocations: 139.9 MB / 1.035 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/0.4766, allocations: 79.94 kB / 1.036 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07153/0.5482, allocations: 17.5 MB / 1.053 GB, free: 4.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.354e-06/0.5482, allocations: 0 / 1.053 GB, free: 4.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.511e-05/0.5483, allocations: 28 kB / 1.053 GB, free: 4.223 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.004167/0.5525, allocations: 1.285 MB / 1.054 GB, free: 2.867 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.5526, allocations: 8.031 kB / 1.054 GB, free: 2.859 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005313/0.5531, allocations: 173 kB / 1.054 GB, free: 2.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003853/0.5535, allocations: 138.5 kB / 1.054 GB, free: 2.543 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.555, allocations: 0.6075 MB / 1.055 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.5552, allocations: 94.2 kB / 1.055 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003089/0.5555, allocations: 132 kB / 1.055 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003924/0.5595, allocations: 1.186 MB / 1.056 GB, free: 432 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.633e-05/0.5596, allocations: 3.953 kB / 1.056 GB, free: 428 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/0.5598, allocations: 47.98 kB / 1.056 GB, free: 380 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.794e-05/0.5598, allocations: 28 kB / 1.056 GB, free: 352 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5798/1.14, allocations: 0.9092 MB / 1.057 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008905/1.149, allocations: 3.771 MB / 1.061 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003008/1.152, allocations: 0.8719 MB / 1.062 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/1.152, allocations: 12.8 kB / 1.062 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001732/1.154, allocations: 0.566 MB / 1.062 GB, free: 141.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 3.206e-06/1.154, allocations: 0 / 1.062 GB, free: 141.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=83): time 0.004076/1.158, allocations: 1.18 MB / 1.063 GB, free: 141.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.244e-05/1.158, allocations: 192.3 kB / 1.064 GB, free: 141 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/1.159, allocations: 0.6985 MB / 1.064 GB, free: 140.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002484/1.159, allocations: 61.03 kB / 1.064 GB, free: 140.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000502/1.16, allocations: 479 kB / 1.065 GB, free: 140.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003106/1.16, allocations: 235.9 kB / 1.065 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.984e-05/1.16, allocations: 19.53 kB / 1.065 GB, free: 140.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.161, allocations: 342.1 kB / 1.065 GB, free: 140.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/1.162, allocations: 332.8 kB / 1.066 GB, free: 140.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/1.163, allocations: 0.5688 MB / 1.066 GB, free: 139.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/1.165, allocations: 352.8 kB / 1.067 GB, free: 139.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/1.165, allocations: 1.969 kB / 1.067 GB, free: 139.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0037/1.168, allocations: 0.9744 MB / 1.067 GB, free: 139.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000558/1.169, allocations: 1.926 MB / 1.069 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.881e-05/1.169, allocations: 4.969 kB / 1.069 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.165e-05/1.169, allocations: 12.64 kB / 1.069 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/1.171, allocations: 169.5 kB / 1.07 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.6e-05/1.171, allocations: 10.94 kB / 1.07 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/1.172, allocations: 170.7 kB / 1.07 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/1.172, allocations: 36.34 kB / 1.07 GB, free: 137.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/1.172, allocations: 9.281 kB / 1.07 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003224/1.176, allocations: 0.838 MB / 1.071 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/1.176, allocations: 9.375 kB / 1.071 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/1.176, allocations: 9.75 kB / 1.071 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/1.177, allocations: 158.5 kB / 1.071 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.331e-05/1.177, allocations: 10.28 kB / 1.071 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/1.178, allocations: 164.3 kB / 1.071 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/1.178, allocations: 35.14 kB / 1.071 GB, free: 137.6 MB / 0.698 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 () * Number of clocked 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.0009832/1.179, allocations: 392 kB / 1.071 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002831/1.18, allocations: 93.75 kB / 1.071 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003687/1.183, allocations: 0.9485 MB / 1.072 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/1.184, allocations: 9.281 kB / 1.072 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.184, allocations: 4.125 kB / 1.072 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/1.184, allocations: 4.672 kB / 1.072 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006542/1.19, allocations: 2.195 MB / 1.074 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/1.19, allocations: 1.906 kB / 1.074 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/1.191, allocations: 119.2 kB / 1.075 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-05/1.191, allocations: 4.469 kB / 1.075 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/1.191, allocations: 24.95 kB / 1.075 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.106e-05/1.191, allocations: 4.188 kB / 1.075 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.191, allocations: 2.859 kB / 1.075 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004883/1.196, allocations: 1.556 MB / 1.076 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/1.197, allocations: 180.2 kB / 1.076 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002807/1.197, allocations: 29.61 kB / 1.076 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009641/1.198, allocations: 88.64 kB / 1.076 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003644/1.198, allocations: 101.3 kB / 1.077 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/1.199, allocations: 34.03 kB / 1.077 GB, free: 136.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001068/1.2, allocations: 0.5056 MB / 1.077 GB, free: 136.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.61e-07/1.2, allocations: 4 kB / 1.077 GB, free: 136.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001894/1.202, allocations: 356.8 kB / 1.077 GB, free: 136.1 MB / 0.698 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) * Number of clocked states: 0 () * 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.005225/1.207, allocations: 2.519 MB / 1.08 GB, free: 134.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004671/1.211, allocations: 1.324 MB / 1.081 GB, free: 134.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.212, allocations: 1.531 kB / 1.081 GB, free: 134.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001709/1.213, allocations: 481.8 kB / 1.082 GB, free: 134.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/1.215, allocations: 137.2 kB / 1.082 GB, free: 134.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007224/1.222, allocations: 5.926 MB / 1.088 GB, free: 129.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007869/1.223, allocations: 1.046 MB / 1.089 GB, free: 128.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001166/1.224, allocations: 133 kB / 1.089 GB, free: 128.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008796/1.225, allocations: 403.3 kB / 1.089 GB, free: 128.6 MB / 0.698 GB Notification: Performance of SimCode: time 8.52e-07/1.225, allocations: 0.6875 kB / 1.089 GB, free: 128.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0598/1.285, allocations: 17.88 MB / 1.107 GB, free: 122.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002632/1.285, allocations: 217.8 kB / 1.107 GB, free: 122.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.203/4.488, allocations: 0 / 1.107 GB, free: 122.6 MB / 0.698 GB