Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.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.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.69/1.69, allocations: 293 MB / 309 MB, free: 4.816 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.0009846/0.0009849, allocations: 179.7 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.743/1.743, allocations: 205.4 MB / 0.6383 GB, free: 8.141 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.0007774/0.0007774, allocations: 92.56 kB / 0.7527 GB, free: 62.83 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005093/0.0005095, allocations: 12 kB / 0.8768 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3062, allocations: 116.4 MB / 0.9905 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7329/1.039, allocations: 142.9 MB / 1.13 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/1.039, allocations: 78.02 kB / 1.13 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04347/1.083, allocations: 17.69 MB / 1.147 GB, free: 20.39 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.493e-06/1.083, allocations: 0 / 1.147 GB, free: 20.39 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001012/1.083, allocations: 32 kB / 1.147 GB, free: 20.36 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: 361 * Number of variables: 361 Notification: Performance of Generate backend data structure: time 0.002736/1.086, allocations: 1.37 MB / 1.149 GB, free: 19.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/1.086, allocations: 8.031 kB / 1.149 GB, free: 19.08 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004006/1.086, allocations: 164.9 kB / 1.149 GB, free: 18.92 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/1.087, allocations: 0.7187 MB / 1.15 GB, free: 18.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/1.088, allocations: 116.2 kB / 1.15 GB, free: 18.14 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/1.088, allocations: 145.8 kB / 1.15 GB, free: 18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/1.09, allocations: 1.146 MB / 1.151 GB, free: 17 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/1.09, allocations: 3.938 kB / 1.151 GB, free: 17 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.151e-05/1.09, allocations: 56 kB / 1.151 GB, free: 16.95 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/1.09, allocations: 36 kB / 1.151 GB, free: 16.91 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001881/1.092, allocations: 0.985 MB / 1.152 GB, free: 16.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00513/1.097, allocations: 3.498 MB / 1.155 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/1.098, allocations: 0.5998 MB / 1.156 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/1.099, allocations: 270.8 kB / 1.156 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.687e-05/1.099, allocations: 9.406 kB / 1.156 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006649/1.099, allocations: 435.6 kB / 1.157 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=74): time 2.865e-06/1.099, allocations: 4 kB / 1.157 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=74): time 0.001506/1.101, allocations: 0.9145 MB / 1.158 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/1.101, allocations: 214.2 kB / 1.158 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/1.102, allocations: 1.067 MB / 1.159 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.545e-05/1.102, allocations: 45.7 kB / 1.159 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/1.102, allocations: 0.5513 MB / 1.159 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/1.103, allocations: 237.6 kB / 1.16 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/1.103, allocations: 16 kB / 1.16 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.302e-05/1.103, allocations: 334 kB / 1.16 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005001/1.103, allocations: 293.9 kB / 1.16 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/1.104, allocations: 410.5 kB / 1.161 GB, free: 7.09 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008793/1.105, allocations: 0.577 MB / 1.161 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.105, allocations: 3.938 kB / 1.161 GB, free: 6.496 MB / 0.7292 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001262/1.106, allocations: 0.865 MB / 1.162 GB, free: 5.617 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/1.106, allocations: 41.64 kB / 1.162 GB, free: 5.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.106, allocations: 0 / 1.162 GB, free: 5.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/1.106, allocations: 4.844 kB / 1.162 GB, free: 5.566 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/1.106, allocations: 131.8 kB / 1.162 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/1.106, allocations: 4 kB / 1.162 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006025/1.107, allocations: 214.6 kB / 1.162 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/1.107, allocations: 27.98 kB / 1.162 GB, free: 5.195 MB / 0.7292 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.000431/1.108, allocations: 284.2 kB / 1.163 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/1.108, allocations: 114.5 kB / 1.163 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/1.109, allocations: 0.6782 MB / 1.164 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/1.109, allocations: 8 kB / 1.164 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/1.109, allocations: 4.938 kB / 1.164 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/1.109, allocations: 3.984 kB / 1.164 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002713/1.112, allocations: 2.597 MB / 1.166 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/1.112, allocations: 11.98 kB / 1.166 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000479/1.112, allocations: 139.9 kB / 1.166 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.218e-06/1.112, allocations: 8 kB / 1.166 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/1.112, allocations: 27.94 kB / 1.166 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/1.112, allocations: 15.92 kB / 1.166 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/1.112, allocations: 9.562 kB / 1.166 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/1.113, allocations: 1.015 MB / 1.167 GB, free: 12 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/1.114, allocations: 228.4 kB / 1.167 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/1.114, allocations: 35.88 kB / 1.168 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004607/1.114, allocations: 67.94 kB / 1.168 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/1.114, allocations: 88.16 kB / 1.168 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/1.114, allocations: 31.98 kB / 1.168 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0009626/1.115, allocations: 0.6996 MB / 1.168 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.115, allocations: 4 kB / 1.168 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007627/1.116, allocations: 227.5 kB / 1.169 GB, free: 14.62 MB / 0.7448 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.0002415/1.116, allocations: 141.1 kB / 1.169 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001404/1.118, allocations: 0.7587 MB / 1.169 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.118, allocations: 0 / 1.169 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008371/1.119, allocations: 447.2 kB / 1.17 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/1.12, allocations: 149.1 kB / 1.17 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003508/1.124, allocations: 2.276 MB / 1.172 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007328/1.125, allocations: 1.085 MB / 1.173 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004813/1.125, allocations: 119.9 kB / 1.173 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/1.125, allocations: 80.27 kB / 1.174 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of SimCode: time 6.22e-07/1.125, allocations: 0 / 1.174 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of Templates: time 0.01806/1.143, allocations: 8.735 MB / 1.182 GB, free: 0.8164 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)