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.535/1.535, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001017/0.001017, allocations: 176.8 kB / 366.7 MB, free: 1.688 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.797/1.797, allocations: 205.3 MB / 0.626 GB, free: 7.176 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.0008725/0.0008721, allocations: 86.78 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.616e-05/1.618e-05, allocations: 4 kB / 0.8597 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6941/0.6941, allocations: 116.3 MB / 0.9733 GB, free: 76.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2094/0.9035, allocations: 142 MB / 1.112 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.9039, allocations: 75.89 kB / 1.112 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04613/0.95, allocations: 17.49 MB / 1.129 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.874e-06/0.9501, allocations: 0 / 1.129 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001177/0.9502, allocations: 32 kB / 1.129 GB, free: 6.734 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.002962/0.9532, allocations: 1.284 MB / 1.13 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.9533, allocations: 12.03 kB / 1.13 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000524/0.9538, allocations: 166 kB / 1.131 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.9553, allocations: 0.6895 MB / 1.131 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.585e-05/0.9554, allocations: 56 kB / 1.131 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.9556, allocations: 84 kB / 1.131 GB, free: 4.352 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001982/0.9576, allocations: 0.8375 MB / 1.132 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/0.9597, allocations: 0.8834 MB / 1.133 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.9597, allocations: 4 kB / 1.133 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.769e-05/0.9598, allocations: 4 kB / 1.133 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/0.9599, allocations: 32 kB / 1.133 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005904/0.9658, allocations: 3.115 MB / 1.136 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.967, allocations: 0.5329 MB / 1.137 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003915/0.9674, allocations: 229.2 kB / 1.137 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.074e-05/0.9674, allocations: 13.31 kB / 1.137 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006611/0.9681, allocations: 388.7 kB / 1.137 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=74): time 5.34e-06/0.9681, allocations: 4 kB / 1.137 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of matching and sorting (n=74): time 0.001074/0.9692, allocations: 0.5334 MB / 1.138 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/0.9694, allocations: 222.2 kB / 1.138 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007722/0.9702, allocations: 0.5147 MB / 1.139 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.234e-05/0.9703, allocations: 33.7 kB / 1.139 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005014/0.9708, allocations: 0.5731 MB / 1.139 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.971, allocations: 228.5 kB / 1.139 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.971, allocations: 8 kB / 1.139 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.9712, allocations: 382.8 kB / 1.14 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/0.9717, allocations: 249.5 kB / 1.14 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005109/0.9722, allocations: 338.7 kB / 1.14 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000589/0.9728, allocations: 256.4 kB / 1.141 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.9728, allocations: 0 / 1.141 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001304/0.9742, allocations: 0.6906 MB / 1.141 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.697e-05/0.9742, allocations: 38.33 kB / 1.141 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.9742, allocations: 3.953 kB / 1.141 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.9743, allocations: 4 kB / 1.141 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005691/0.9749, allocations: 127.8 kB / 1.141 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.9749, allocations: 9.844 kB / 1.141 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007116/0.9756, allocations: 131.5 kB / 1.142 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.378e-05/0.9757, allocations: 28 kB / 1.142 GB, free: 9.762 MB / 0.7448 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 () * 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.0002129/0.9759, allocations: 139.9 kB / 1.142 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.9761, allocations: 79 kB / 1.142 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.9771, allocations: 0.5378 MB / 1.142 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.9772, allocations: 11.95 kB / 1.142 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.9772, allocations: 3.984 kB / 1.142 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.9772, allocations: 4 kB / 1.142 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003664/0.9809, allocations: 2.278 MB / 1.145 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.872e-05/0.9809, allocations: 10.38 kB / 1.145 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005513/0.9815, allocations: 143.8 kB / 1.145 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.935e-05/0.9815, allocations: 12 kB / 1.145 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/0.9816, allocations: 11.98 kB / 1.145 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.476e-05/0.9816, allocations: 15.94 kB / 1.145 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.9816, allocations: 8 kB / 1.145 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.9831, allocations: 1.237 MB / 1.146 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.9833, allocations: 168 kB / 1.146 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.9834, allocations: 19.98 kB / 1.146 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004876/0.9839, allocations: 53.08 kB / 1.146 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.9841, allocations: 92.17 kB / 1.146 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.349e-05/0.9842, allocations: 37.31 kB / 1.146 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004686/0.9847, allocations: 363.2 kB / 1.147 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3e-07/0.9847, allocations: 4 kB / 1.147 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008731/0.9856, allocations: 242.7 kB / 1.147 GB, free: 3.859 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) * 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.0002811/0.9858, allocations: 127 kB / 1.147 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.9871, allocations: 0.6507 MB / 1.148 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.9871, allocations: 3.562 kB / 1.148 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007295/0.9879, allocations: 394.8 kB / 1.148 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/0.9885, allocations: 84.73 kB / 1.148 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/0.9915, allocations: 1.373 MB / 1.149 GB, free: 1.098 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009207/0.9924, allocations: 1.115 MB / 1.151 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004037/0.9929, allocations: 89.42 kB / 1.151 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.9931, allocations: 51.44 kB / 1.151 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of SimCode: time 1.042e-06/0.9931, allocations: 0 / 1.151 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of Templates: time 0.01543/1.009, allocations: 6.339 MB / 1.157 GB, free: 9.652 MB / 0.7605 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)