Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.831/1.831, allocations: 288.3 MB / 303.2 MB, free: 8.117 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.00116/0.00116, allocations: 173.7 kB / 371.8 MB, free: 10.15 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.864/1.864, allocations: 205.4 MB / 0.6306 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 103.5 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003959, allocations: 15.55 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2243, allocations: 115.3 MB / 0.9795 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7395/0.9638, allocations: 144.1 MB / 1.12 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.9641, allocations: 72.86 kB / 1.12 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03728/1.001, allocations: 16.15 MB / 1.136 GB, free: 27.78 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.806e-06/1.001, allocations: 0 / 1.136 GB, free: 27.78 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001057/1.002, allocations: 27.03 kB / 1.136 GB, free: 27.78 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.00329/1.005, allocations: 1.26 MB / 1.137 GB, free: 26.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/1.005, allocations: 11.39 kB / 1.137 GB, free: 26.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005638/1.006, allocations: 135.3 kB / 1.137 GB, free: 26.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/1.007, allocations: 0.592 MB / 1.138 GB, free: 26.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/1.007, allocations: 94.06 kB / 1.138 GB, free: 26.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003237/1.007, allocations: 124.9 kB / 1.138 GB, free: 26.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002489/1.01, allocations: 1.168 MB / 1.139 GB, free: 26.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/1.01, allocations: 0 / 1.139 GB, free: 26.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/1.01, allocations: 55.08 kB / 1.139 GB, free: 26.06 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/1.01, allocations: 26.5 kB / 1.139 GB, free: 26.06 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/1.012, allocations: 0.8996 MB / 1.14 GB, free: 25.92 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0049/1.017, allocations: 3.702 MB / 1.144 GB, free: 23.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/1.019, allocations: 0.8557 MB / 1.145 GB, free: 23.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.97e-05/1.019, allocations: 16.34 kB / 1.145 GB, free: 23.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009223/1.02, allocations: 0.5538 MB / 1.145 GB, free: 23.54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 3.196e-06/1.02, allocations: 0 / 1.145 GB, free: 23.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=82): time 0.002248/1.022, allocations: 1.172 MB / 1.146 GB, free: 23.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/1.022, allocations: 195.6 kB / 1.147 GB, free: 23.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008377/1.023, allocations: 0.6782 MB / 1.147 GB, free: 22.86 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/1.023, allocations: 64.05 kB / 1.147 GB, free: 22.83 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/1.023, allocations: 455.3 kB / 1.148 GB, free: 22.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/1.024, allocations: 233.1 kB / 1.148 GB, free: 22.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/1.024, allocations: 18.47 kB / 1.148 GB, free: 22.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.024, allocations: 346.8 kB / 1.148 GB, free: 22.13 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006552/1.024, allocations: 328.5 kB / 1.149 GB, free: 22.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007677/1.025, allocations: 0.5688 MB / 1.149 GB, free: 21.76 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006227/1.026, allocations: 345.9 kB / 1.15 GB, free: 21.72 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.026, allocations: 0 / 1.15 GB, free: 21.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001574/1.027, allocations: 0.9617 MB / 1.15 GB, free: 21.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007039/1.028, allocations: 1.923 MB / 1.152 GB, free: 19.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/1.028, allocations: 3.844 kB / 1.152 GB, free: 19.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/1.028, allocations: 19.56 kB / 1.152 GB, free: 19.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006119/1.029, allocations: 153.9 kB / 1.153 GB, free: 19.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/1.029, allocations: 15.62 kB / 1.153 GB, free: 19.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006736/1.03, allocations: 167.1 kB / 1.153 GB, free: 19.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.298e-05/1.03, allocations: 49.56 kB / 1.153 GB, free: 19.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/1.03, allocations: 3.844 kB / 1.153 GB, free: 19.35 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001313/1.031, allocations: 0.8306 MB / 1.154 GB, free: 19.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.031, allocations: 3.875 kB / 1.154 GB, free: 19.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/1.031, allocations: 15.45 kB / 1.154 GB, free: 19.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005256/1.032, allocations: 146.8 kB / 1.154 GB, free: 19.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/1.032, allocations: 15.52 kB / 1.154 GB, free: 19.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005784/1.032, allocations: 166.1 kB / 1.154 GB, free: 19.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.331e-05/1.032, allocations: 34.41 kB / 1.154 GB, free: 19.11 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 (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.0006444/1.033, allocations: 376.6 kB / 1.154 GB, free: 18.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/1.033, allocations: 96.89 kB / 1.154 GB, free: 18.85 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/1.035, allocations: 0.9403 MB / 1.155 GB, free: 18.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/1.035, allocations: 7.688 kB / 1.155 GB, free: 18.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.035, allocations: 0 / 1.155 GB, free: 18.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/1.035, allocations: 7.828 kB / 1.155 GB, free: 18.63 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002826/1.037, allocations: 2.175 MB / 1.157 GB, free: 17.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.037, allocations: 0 / 1.157 GB, free: 17.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000468/1.038, allocations: 112.2 kB / 1.158 GB, free: 17.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/1.038, allocations: 3.906 kB / 1.158 GB, free: 17.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.597e-05/1.038, allocations: 25.91 kB / 1.158 GB, free: 17.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/1.038, allocations: 11.72 kB / 1.158 GB, free: 17.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.038, allocations: 7.969 kB / 1.158 GB, free: 17.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/1.04, allocations: 1.532 MB / 1.159 GB, free: 17.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/1.04, allocations: 166.6 kB / 1.159 GB, free: 17.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/1.04, allocations: 33.3 kB / 1.159 GB, free: 17.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005093/1.041, allocations: 88.67 kB / 1.159 GB, free: 17.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/1.041, allocations: 102.7 kB / 1.159 GB, free: 16.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-05/1.041, allocations: 35.84 kB / 1.16 GB, free: 16.94 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005454/1.042, allocations: 0.5015 MB / 1.16 GB, free: 16.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/1.042, allocations: 0 / 1.16 GB, free: 16.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001034/1.043, allocations: 342.9 kB / 1.16 GB, free: 16.27 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 (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.0002528/1.043, allocations: 181 kB / 1.16 GB, free: 16.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002284/1.045, allocations: 1.301 MB / 1.162 GB, free: 15.17 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/1.045, allocations: 0 / 1.162 GB, free: 15.17 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007283/1.046, allocations: 475.8 kB / 1.162 GB, free: 14.85 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006381/1.047, allocations: 132.7 kB / 1.162 GB, free: 14.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/1.049, allocations: 1.938 MB / 1.164 GB, free: 12.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/1.05, allocations: 1.042 MB / 1.165 GB, free: 11.92 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005717/1.051, allocations: 127.1 kB / 1.165 GB, free: 11.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/1.051, allocations: 78.78 kB / 1.165 GB, free: 11.71 MB / 0.698 GB Notification: Performance of SimCode: time 6.71e-07/1.051, allocations: 0 / 1.165 GB, free: 11.71 MB / 0.698 GB Notification: Performance of Templates: time 0.01798/1.069, allocations: 9.312 MB / 1.175 GB, free: 2.523 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe 2>&1)