Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.858/1.858, allocations: 292.6 MB / 307.5 MB, free: 5.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 189 kB / 377.1 MB, free: 1.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.849/1.849, allocations: 205.4 MB / 0.6367 GB, free: 8.586 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000851/0.0008511, allocations: 99.3 kB / 0.751 GB, free: 63.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003882, allocations: 15.98 kB / 0.8748 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2692, allocations: 116.3 MB / 0.9884 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7116/0.9809, allocations: 145.1 MB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.9813, allocations: 78.06 kB / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04244/1.024, allocations: 16.15 MB / 1.146 GB, free: 20.28 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.896e-06/1.024, allocations: 0 / 1.146 GB, free: 20.28 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001176/1.024, allocations: 28 kB / 1.146 GB, free: 20.25 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.003691/1.028, allocations: 1.26 MB / 1.147 GB, free: 19.07 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/1.028, allocations: 12.02 kB / 1.147 GB, free: 19.06 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006155/1.028, allocations: 132.3 kB / 1.147 GB, free: 18.93 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/1.03, allocations: 0.596 MB / 1.148 GB, free: 18.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/1.03, allocations: 101.2 kB / 1.148 GB, free: 18.28 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003371/1.03, allocations: 117.7 kB / 1.148 GB, free: 18.16 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002723/1.033, allocations: 1.172 MB / 1.149 GB, free: 17.13 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/1.033, allocations: 0.9375 kB / 1.149 GB, free: 17.13 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.59e-05/1.033, allocations: 46.3 kB / 1.149 GB, free: 17.09 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/1.033, allocations: 28 kB / 1.149 GB, free: 17.06 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/1.035, allocations: 0.8994 MB / 1.15 GB, free: 16.26 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005106/1.04, allocations: 3.712 MB / 1.154 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/1.041, allocations: 0.864 MB / 1.155 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-05/1.041, allocations: 8.656 kB / 1.155 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000853/1.042, allocations: 0.5609 MB / 1.155 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=82): time 2.645e-06/1.042, allocations: 0 / 1.155 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=82): time 0.002094/1.044, allocations: 1.165 MB / 1.156 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/1.044, allocations: 196.6 kB / 1.157 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006967/1.045, allocations: 0.6793 MB / 1.157 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.971e-05/1.045, allocations: 61.7 kB / 1.157 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/1.045, allocations: 460.4 kB / 1.158 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/1.046, allocations: 233.8 kB / 1.158 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/1.046, allocations: 16 kB / 1.158 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.695e-05/1.046, allocations: 345.9 kB / 1.158 GB, free: 8.375 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005951/1.046, allocations: 329.8 kB / 1.159 GB, free: 8.055 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007045/1.047, allocations: 0.5608 MB / 1.159 GB, free: 7.391 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005902/1.048, allocations: 354.8 kB / 1.159 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.048, allocations: 4 kB / 1.159 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001458/1.049, allocations: 0.9534 MB / 1.16 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003049/1.049, allocations: 1.928 MB / 1.162 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.049, allocations: 4.938 kB / 1.162 GB, free: 4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/1.05, allocations: 12 kB / 1.162 GB, free: 3.988 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005785/1.05, allocations: 155.7 kB / 1.162 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/1.05, allocations: 13.03 kB / 1.162 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006166/1.051, allocations: 171 kB / 1.163 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.839e-05/1.051, allocations: 39.98 kB / 1.163 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.024e-06/1.051, allocations: 4 kB / 1.163 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001296/1.052, allocations: 0.8278 MB / 1.163 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/1.052, allocations: 10.06 kB / 1.163 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/1.052, allocations: 11.95 kB / 1.163 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005122/1.053, allocations: 152.8 kB / 1.164 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/1.053, allocations: 15.94 kB / 1.164 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005656/1.053, allocations: 159 kB / 1.164 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.369e-05/1.053, allocations: 39.98 kB / 1.164 GB, free: 2.41 MB / 0.7292 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 (121): * Single equations (assignments): 121 * 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.0005759/1.054, allocations: 378.9 kB / 1.164 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/1.054, allocations: 90.88 kB / 1.164 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/1.056, allocations: 0.9408 MB / 1.165 GB, free: 1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/1.056, allocations: 16 kB / 1.165 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/1.056, allocations: 0 / 1.165 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/1.056, allocations: 5.672 kB / 1.165 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003134/1.059, allocations: 2.164 MB / 1.167 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.059, allocations: 4 kB / 1.167 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/1.059, allocations: 115.9 kB / 1.167 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/1.059, allocations: 4 kB / 1.167 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/1.059, allocations: 19.98 kB / 1.167 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/1.059, allocations: 11.98 kB / 1.167 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.059, allocations: 0 / 1.167 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/1.062, allocations: 1.539 MB / 1.169 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/1.062, allocations: 167.9 kB / 1.169 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/1.062, allocations: 30.17 kB / 1.169 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005168/1.063, allocations: 91.98 kB / 1.169 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002108/1.063, allocations: 96.5 kB / 1.169 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.08e-05/1.063, allocations: 39.97 kB / 1.169 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006976/1.064, allocations: 499 kB / 1.17 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.064, allocations: 0 / 1.17 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001203/1.065, allocations: 359.3 kB / 1.17 GB, free: 11.7 MB / 0.7448 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 (87): * Single equations (assignments): 79 * 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.0003106/1.065, allocations: 183.5 kB / 1.17 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002714/1.068, allocations: 1.298 MB / 1.172 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.068, allocations: 0 / 1.172 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009527/1.069, allocations: 476.6 kB / 1.172 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008335/1.07, allocations: 132.6 kB / 1.172 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003477/1.074, allocations: 1.935 MB / 1.174 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008212/1.074, allocations: 1.031 MB / 1.175 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006616/1.075, allocations: 133.7 kB / 1.175 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/1.075, allocations: 75.42 kB / 1.175 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of SimCode: time 1.022e-06/1.075, allocations: 0 / 1.175 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of Templates: time 0.01816/1.093, allocations: 9.323 MB / 1.184 GB, free: 13.2 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.makefile (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.sim & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe 2>&1)