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.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.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.4-maint.8.1.x/package.mo): time 1.723/1.723, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.001052/0.001052, allocations: 189 kB / 377.1 MB, free: 1.547 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.79/1.79, allocations: 205.4 MB / 0.6367 GB, free: 8.637 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.0008478/0.0008474, allocations: 85.14 kB / 0.751 GB, free: 63.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003441, allocations: 8 kB / 0.8749 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2852, allocations: 116.3 MB / 0.9884 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6743/0.9595, allocations: 142.8 MB / 1.128 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.9598, allocations: 74.72 kB / 1.128 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04655/1.006, allocations: 17.66 MB / 1.145 GB, free: 21.33 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.254e-06/1.006, allocations: 4 kB / 1.145 GB, free: 21.33 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001194/1.007, allocations: 35.98 kB / 1.145 GB, free: 21.29 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.003161/1.01, allocations: 1.382 MB / 1.147 GB, free: 20.01 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/1.01, allocations: 13.05 kB / 1.147 GB, free: 20 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004968/1.01, allocations: 164.1 kB / 1.147 GB, free: 19.84 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/1.012, allocations: 0.6864 MB / 1.147 GB, free: 19.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/1.012, allocations: 118.8 kB / 1.148 GB, free: 19.09 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/1.012, allocations: 147.4 kB / 1.148 GB, free: 18.95 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/1.014, allocations: 1.133 MB / 1.149 GB, free: 17.96 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/1.014, allocations: 1.312 kB / 1.149 GB, free: 17.96 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/1.014, allocations: 60 kB / 1.149 GB, free: 17.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/1.014, allocations: 36 kB / 1.149 GB, free: 17.87 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/1.016, allocations: 0.9854 MB / 1.15 GB, free: 16.98 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005211/1.022, allocations: 3.487 MB / 1.153 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/1.023, allocations: 0.6118 MB / 1.154 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.932e-05/1.023, allocations: 16.64 kB / 1.154 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007507/1.024, allocations: 436.4 kB / 1.154 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=74): time 2.535e-06/1.024, allocations: 0 / 1.154 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=74): time 0.001572/1.025, allocations: 0.9037 MB / 1.155 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/1.025, allocations: 218.2 kB / 1.155 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/1.026, allocations: 0.9432 MB / 1.156 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.717e-05/1.026, allocations: 45.69 kB / 1.156 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003472/1.027, allocations: 0.5515 MB / 1.157 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/1.027, allocations: 241.5 kB / 1.157 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-05/1.027, allocations: 16 kB / 1.157 GB, free: 9.773 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.785e-05/1.027, allocations: 337.9 kB / 1.157 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005363/1.028, allocations: 293.9 kB / 1.158 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/1.028, allocations: 402.5 kB / 1.158 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005396/1.029, allocations: 320.7 kB / 1.158 GB, free: 8.414 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/1.029, allocations: 0 / 1.158 GB, free: 8.414 MB / 0.7292 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001362/1.03, allocations: 0.865 MB / 1.159 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.679e-05/1.03, allocations: 44.03 kB / 1.159 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.03, allocations: 1.031 kB / 1.159 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/1.03, allocations: 4 kB / 1.159 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005226/1.031, allocations: 131.8 kB / 1.159 GB, free: 7.355 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/1.031, allocations: 4 kB / 1.159 GB, free: 7.352 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007098/1.032, allocations: 214.6 kB / 1.16 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.933e-05/1.032, allocations: 20 kB / 1.16 GB, free: 7.121 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.0003972/1.032, allocations: 276.3 kB / 1.16 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/1.032, allocations: 126.4 kB / 1.16 GB, free: 6.715 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/1.033, allocations: 0.682 MB / 1.161 GB, free: 6.02 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/1.033, allocations: 8 kB / 1.161 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/1.033, allocations: 0 / 1.161 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/1.033, allocations: 8.828 kB / 1.161 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/1.036, allocations: 2.598 MB / 1.163 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/1.036, allocations: 12.19 kB / 1.163 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004734/1.037, allocations: 135.8 kB / 1.163 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/1.037, allocations: 8 kB / 1.163 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.022e-05/1.037, allocations: 29.48 kB / 1.163 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/1.037, allocations: 8 kB / 1.163 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.037, allocations: 11.94 kB / 1.163 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/1.038, allocations: 1.403 MB / 1.165 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/1.038, allocations: 224.5 kB / 1.165 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/1.038, allocations: 28 kB / 1.165 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004927/1.039, allocations: 67.94 kB / 1.165 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/1.039, allocations: 96.12 kB / 1.165 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/1.039, allocations: 31.98 kB / 1.165 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007729/1.04, allocations: 0.6996 MB / 1.166 GB, free: 232 kB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.04, allocations: 0 / 1.166 GB, free: 232 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006828/1.041, allocations: 219.5 kB / 1.166 GB, free: 12 kB / 0.7292 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.0003067/1.041, allocations: 154.2 kB / 1.166 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001403/1.042, allocations: 0.7548 MB / 1.167 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.042, allocations: 0 / 1.167 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009289/1.043, allocations: 447.7 kB / 1.167 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006498/1.044, allocations: 123.7 kB / 1.168 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/1.048, allocations: 2.28 MB / 1.17 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007226/1.048, allocations: 1.112 MB / 1.171 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000431/1.049, allocations: 124.8 kB / 1.171 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/1.049, allocations: 79.42 kB / 1.171 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/1.049, allocations: 4 kB / 1.171 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of Templates: time 0.01774/1.067, allocations: 8.647 MB / 1.179 GB, free: 2.262 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)