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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.7/1.7, allocations: 293 MB / 309 MB, free: 4.812 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.00117/0.00117, allocations: 172.5 kB / 378.7 MB, free: 1.02 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.718/1.718, allocations: 205.4 MB / 0.6383 GB, free: 8.203 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.0007292/0.0007293, allocations: 100.1 kB / 0.7527 GB, free: 62.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004171, allocations: 12 kB / 0.8768 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2781, allocations: 116.4 MB / 0.9905 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7189/0.9971, allocations: 145.2 MB / 1.132 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.9974, allocations: 79.05 kB / 1.132 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03828/1.036, allocations: 16.17 MB / 1.148 GB, free: 19.29 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.873e-06/1.036, allocations: 0 / 1.148 GB, free: 19.29 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.47e-05/1.036, allocations: 28 kB / 1.148 GB, free: 19.27 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.002782/1.039, allocations: 1.25 MB / 1.149 GB, free: 18.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/1.039, allocations: 9.578 kB / 1.149 GB, free: 18.08 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004438/1.039, allocations: 132.8 kB / 1.149 GB, free: 17.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/1.04, allocations: 0.6147 MB / 1.15 GB, free: 17.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/1.04, allocations: 102 kB / 1.15 GB, free: 17.28 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/1.04, allocations: 126.5 kB / 1.15 GB, free: 17.16 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/1.043, allocations: 1.177 MB / 1.151 GB, free: 16.12 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/1.043, allocations: 192 / 1.151 GB, free: 16.12 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/1.043, allocations: 54.98 kB / 1.152 GB, free: 16.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/1.043, allocations: 28 kB / 1.152 GB, free: 16.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/1.045, allocations: 0.8905 MB / 1.152 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005126/1.05, allocations: 3.717 MB / 1.156 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/1.052, allocations: 0.8342 MB / 1.157 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006308/1.052, allocations: 388.1 kB / 1.157 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.188e-05/1.052, allocations: 8.656 kB / 1.157 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008729/1.053, allocations: 0.5569 MB / 1.158 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=82): time 2.484e-06/1.053, allocations: 0 / 1.158 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=82): time 0.002072/1.055, allocations: 1.176 MB / 1.159 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/1.055, allocations: 192.6 kB / 1.159 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007965/1.056, allocations: 0.766 MB / 1.16 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.964e-05/1.056, allocations: 61.69 kB / 1.16 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000256/1.056, allocations: 456.4 kB / 1.16 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/1.057, allocations: 236.1 kB / 1.161 GB, free: 7.109 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/1.057, allocations: 24 kB / 1.161 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.656e-05/1.057, allocations: 341.9 kB / 1.161 GB, free: 6.746 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005771/1.057, allocations: 329.8 kB / 1.161 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006826/1.058, allocations: 0.5686 MB / 1.162 GB, free: 5.758 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/1.059, allocations: 0.7512 MB / 1.163 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.059, allocations: 4 kB / 1.163 GB, free: 4.938 MB / 0.7292 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001518/1.061, allocations: 0.9651 MB / 1.163 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/1.061, allocations: 235.1 kB / 1.164 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.061, allocations: 8 kB / 1.164 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/1.061, allocations: 12 kB / 1.164 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000558/1.061, allocations: 157.8 kB / 1.164 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/1.061, allocations: 15.94 kB / 1.164 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006075/1.062, allocations: 171 kB / 1.164 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.656e-05/1.062, allocations: 40 kB / 1.164 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/1.062, allocations: 4.781 kB / 1.164 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001275/1.063, allocations: 0.8298 MB / 1.165 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.063, allocations: 5.016 kB / 1.165 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.714e-06/1.063, allocations: 8 kB / 1.165 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005031/1.064, allocations: 147.7 kB / 1.165 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/1.064, allocations: 19.86 kB / 1.165 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005125/1.064, allocations: 167.3 kB / 1.165 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/1.064, allocations: 32 kB / 1.165 GB, free: 2.066 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.0006643/1.065, allocations: 378.7 kB / 1.166 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/1.065, allocations: 94.86 kB / 1.166 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/1.067, allocations: 0.9348 MB / 1.167 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/1.067, allocations: 15.94 kB / 1.167 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.067, allocations: 0 / 1.167 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/1.067, allocations: 3.984 kB / 1.167 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003226/1.07, allocations: 2.178 MB / 1.169 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.07, allocations: 2.188 kB / 1.169 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004721/1.071, allocations: 111.8 kB / 1.169 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/1.071, allocations: 4 kB / 1.169 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-05/1.071, allocations: 27.97 kB / 1.169 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/1.071, allocations: 4 kB / 1.169 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.071, allocations: 4.125 kB / 1.169 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002557/1.073, allocations: 1.488 MB / 1.17 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/1.073, allocations: 167.9 kB / 1.171 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/1.074, allocations: 28.64 kB / 1.171 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004735/1.074, allocations: 91.98 kB / 1.171 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/1.074, allocations: 100.4 kB / 1.171 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.436e-05/1.074, allocations: 35.97 kB / 1.171 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000637/1.075, allocations: 0.499 MB / 1.171 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.8e-07/1.075, allocations: 4 kB / 1.171 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0009975/1.076, allocations: 343.4 kB / 1.172 GB, free: 11.44 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.0002613/1.076, allocations: 177.9 kB / 1.172 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002479/1.079, allocations: 1.294 MB / 1.173 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.079, allocations: 0 / 1.173 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008372/1.08, allocations: 480.6 kB / 1.173 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009272/1.081, allocations: 148 kB / 1.174 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/1.083, allocations: 1.943 MB / 1.176 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005996/1.084, allocations: 1.02 MB / 1.177 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005718/1.085, allocations: 122.1 kB / 1.177 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/1.085, allocations: 79.41 kB / 1.177 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of SimCode: time 4.1e-07/1.085, allocations: 7.938 kB / 1.177 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of Templates: time 0.01699/1.102, allocations: 9.402 MB / 1.186 GB, free: 12.84 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)