Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.578/1.578, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008932/0.0008932, allocations: 188.3 kB / 384.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 223.2 MB / 0.6626 GB, free: 4.383 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007744/0.0007746, allocations: 96.42 kB / 0.7808 GB, free: 43.66 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004177/0.0004177, allocations: 12.56 kB / 0.9088 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.541/0.5414, allocations: 120.3 MB / 1.026 GB, free: 56.58 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1748/0.7162, allocations: 145 MB / 1.168 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.7165, allocations: 77.08 kB / 1.168 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04142/0.7579, allocations: 17.71 MB / 1.185 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.114e-06/0.758, allocations: 0 / 1.185 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.645e-05/0.7581, allocations: 36 kB / 1.185 GB, free: 11.45 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 361 * Number of variables: 361 Notification: Performance of Generate backend data structure: time 0.002724/0.7608, allocations: 1.369 MB / 1.187 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.7609, allocations: 11.97 kB / 1.187 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003605/0.7612, allocations: 163 kB / 1.187 GB, free: 9.848 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.7624, allocations: 0.7086 MB / 1.188 GB, free: 9.098 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.7625, allocations: 127.2 kB / 1.188 GB, free: 8.973 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/0.7627, allocations: 140.4 kB / 1.188 GB, free: 8.836 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.7648, allocations: 1.139 MB / 1.189 GB, free: 7.676 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.7649, allocations: 7.922 kB / 1.189 GB, free: 7.668 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.552e-05/0.765, allocations: 60 kB / 1.189 GB, free: 7.609 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/0.765, allocations: 36 kB / 1.189 GB, free: 7.574 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001854/0.7669, allocations: 0.9795 MB / 1.19 GB, free: 6.59 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005416/0.7723, allocations: 3.5 MB / 1.193 GB, free: 3.027 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.7735, allocations: 0.6006 MB / 1.194 GB, free: 2.418 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004844/0.774, allocations: 278.8 kB / 1.194 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.504e-05/0.7741, allocations: 4.656 kB / 1.194 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007531/0.7748, allocations: 435.6 kB / 1.195 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=74): time 2.966e-06/0.7749, allocations: 0 / 1.195 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of matching and sorting (n=74): time 0.001744/0.7766, allocations: 0.9076 MB / 1.196 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.7767, allocations: 222.2 kB / 1.196 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.778, allocations: 1.063 MB / 1.197 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.617e-05/0.7781, allocations: 49.69 kB / 1.197 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004207/0.7786, allocations: 0.5552 MB / 1.197 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.7788, allocations: 236.5 kB / 1.198 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.7788, allocations: 16 kB / 1.198 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.7789, allocations: 337.9 kB / 1.198 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005801/0.7795, allocations: 293.9 kB / 1.198 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006328/0.7802, allocations: 406.5 kB / 1.199 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.7812, allocations: 0.573 MB / 1.199 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7813, allocations: 7.938 kB / 1.199 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001496/0.7828, allocations: 0.8611 MB / 1.2 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/0.7828, allocations: 37.69 kB / 1.2 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.7828, allocations: 3.938 kB / 1.2 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.7829, allocations: 4 kB / 1.2 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005165/0.7834, allocations: 139.8 kB / 1.2 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.7834, allocations: 4 kB / 1.2 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006851/0.7841, allocations: 206.6 kB / 1.2 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.082e-05/0.7842, allocations: 32 kB / 1.2 GB, free: 11.62 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,actAirSet_RehBox.not1.y,$PRE.actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox1.not1.y,$PRE.actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox1.greThr.greHys.y,$PRE.winSta.y,winSta.y,actAirSet_RehBox1.intEqu4.y,actAirSet_RehBox1.intEqu3.y,actAirSet_RehBox1.intEqu2.y,actAirSet_RehBox1.intEqu1.y,actAirSet_RehBox1.swi3.u2,actAirSet_RehBox1.and1.u1,actAirSet_RehBox1.and1.u2,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.and1.u1,actAirSet_RehBox.and1.u2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * 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.0004773/0.7847, allocations: 280.2 kB / 1.201 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.7848, allocations: 114.5 kB / 1.201 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.7861, allocations: 0.6782 MB / 1.202 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.7861, allocations: 8 kB / 1.202 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.7861, allocations: 0 / 1.202 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.7861, allocations: 7.984 kB / 1.202 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003424/0.7896, allocations: 2.594 MB / 1.204 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.7896, allocations: 8 kB / 1.204 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004904/0.7901, allocations: 139.7 kB / 1.204 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/0.7901, allocations: 12 kB / 1.204 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.888e-05/0.7902, allocations: 27.94 kB / 1.204 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-05/0.7902, allocations: 16.42 kB / 1.204 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.547e-06/0.7902, allocations: 15.94 kB / 1.204 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.7916, allocations: 1.015 MB / 1.205 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/0.7918, allocations: 227.4 kB / 1.205 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.7919, allocations: 31.94 kB / 1.206 GB, free: 6.148 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004691/0.7924, allocations: 63.95 kB / 1.206 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.7926, allocations: 96.14 kB / 1.206 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.7926, allocations: 28 kB / 1.206 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000877/0.7935, allocations: 0.7034 MB / 1.206 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7935, allocations: 0 / 1.206 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006542/0.7942, allocations: 219.5 kB / 1.207 GB, free: 5.039 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox1.greThr.greHys.y,winSta.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 2 (actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox.greThr.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002117/0.7944, allocations: 148.8 kB / 1.207 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.7958, allocations: 0.7548 MB / 1.207 GB, free: 4.121 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.7958, allocations: 4.125 kB / 1.207 GB, free: 4.117 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0008174/0.7966, allocations: 439.9 kB / 1.208 GB, free: 3.688 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.7983, allocations: 146.5 kB / 1.208 GB, free: 3.547 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.8014, allocations: 2.281 MB / 1.21 GB, free: 1.141 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006482/0.802, allocations: 1.085 MB / 1.211 GB, free: 28 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004414/0.8025, allocations: 123.9 kB / 1.211 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.8027, allocations: 79.42 kB / 1.212 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of SimCode: time 3.3e-07/0.8027, allocations: 0 / 1.212 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of Templates: time 0.01626/0.819, allocations: 8.734 MB / 1.22 GB, free: 7.234 MB / 0.7917 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)