Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7.0.0_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_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.195/2.195, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001338/0.001338, allocations: 185.2 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.412/2.412, allocations: 205.4 MB / 0.5772 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009364/0.000936, allocations: 95.66 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004854/0.0004857, allocations: 13.09 kB / 0.7958 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2091, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2568/0.466, allocations: 135.6 MB / 1.032 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005062/0.4665, allocations: 87.94 kB / 1.032 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06735/0.5339, allocations: 15.6 MB / 1.047 GB, free: 9.988 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.239e-06/0.534, allocations: 3.984 kB / 1.047 GB, free: 9.984 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.469e-05/0.5341, allocations: 28 kB / 1.047 GB, free: 9.957 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.003818/0.5379, allocations: 1.289 MB / 1.049 GB, free: 8.609 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.538, allocations: 12.03 kB / 1.049 GB, free: 8.598 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004781/0.5385, allocations: 147.2 kB / 1.049 GB, free: 8.453 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/0.541, allocations: 0.5619 MB / 1.049 GB, free: 7.848 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002499/0.5413, allocations: 115.1 kB / 1.049 GB, free: 7.734 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000379/0.5417, allocations: 132.4 kB / 1.05 GB, free: 7.605 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003621/0.5453, allocations: 1.103 MB / 1.051 GB, free: 6.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.29e-05/0.5454, allocations: 8.172 kB / 1.051 GB, free: 6.473 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/0.5456, allocations: 59.94 kB / 1.051 GB, free: 6.414 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.953e-05/0.5457, allocations: 36 kB / 1.051 GB, free: 6.379 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003494/0.5492, allocations: 0.9556 MB / 1.052 GB, free: 5.418 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009376/0.5586, allocations: 3.336 MB / 1.055 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/0.5608, allocations: 0.5999 MB / 1.055 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009351/0.5617, allocations: 270.8 kB / 1.056 GB, free: 1.141 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.749e-05/0.5618, allocations: 17.2 kB / 1.056 GB, free: 1.125 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001262/0.5631, allocations: 431.6 kB / 1.056 GB, free: 0.668 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 3.767e-06/0.5631, allocations: 0 / 1.056 GB, free: 0.668 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.6019/1.165, allocations: 0.8864 MB / 1.057 GB, free: 143.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/1.165, allocations: 218 kB / 1.057 GB, free: 143.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00213/1.167, allocations: 0.977 MB / 1.058 GB, free: 143.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001932/1.168, allocations: 43.33 kB / 1.058 GB, free: 143.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004989/1.168, allocations: 0.5096 MB / 1.059 GB, free: 143.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002769/1.168, allocations: 242.8 kB / 1.059 GB, free: 143.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/1.169, allocations: 13.72 kB / 1.059 GB, free: 143.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.887e-05/1.169, allocations: 338.1 kB / 1.059 GB, free: 143 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/1.17, allocations: 270.9 kB / 1.06 GB, free: 143 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/1.171, allocations: 374.9 kB / 1.06 GB, free: 142.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/1.172, allocations: 272.2 kB / 1.06 GB, free: 142.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.172, allocations: 0 / 1.06 GB, free: 142.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002351/1.174, allocations: 0.7664 MB / 1.061 GB, free: 142.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/1.174, allocations: 4.5 kB / 1.061 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/1.174, allocations: 6.312 kB / 1.061 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/1.174, allocations: 7.062 kB / 1.061 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/1.175, allocations: 129.9 kB / 1.061 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/1.176, allocations: 9.562 kB / 1.061 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/1.177, allocations: 184 kB / 1.061 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.611e-05/1.177, allocations: 24.81 kB / 1.061 GB, free: 142.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,actAirSet_RehBox.not1.y,actAirSet_RehBox.uWin,$PRE.actAirSet_RehBox.hys.y,actAirSet_RehBox.hys.y,actAirSet_RehBox1.not1.y,$PRE.actAirSet_RehBox1.hys.y,actAirSet_RehBox1.hys.y,$PRE.winSta.pulseStart,winSta.pulseStart,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): 95 * 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.0006435/1.177, allocations: 259.4 kB / 1.062 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002847/1.178, allocations: 105.3 kB / 1.062 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/1.18, allocations: 0.6786 MB / 1.062 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/1.18, allocations: 8.5 kB / 1.062 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/1.18, allocations: 0 / 1.062 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/1.18, allocations: 10.12 kB / 1.062 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005516/1.185, allocations: 2.54 MB / 1.065 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/1.185, allocations: 6.938 kB / 1.065 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/1.186, allocations: 135.2 kB / 1.065 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.652e-05/1.187, allocations: 11.97 kB / 1.065 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.1e-05/1.187, allocations: 24.61 kB / 1.065 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.781e-05/1.187, allocations: 14.02 kB / 1.065 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/1.187, allocations: 16.89 kB / 1.065 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0023/1.189, allocations: 1.003 MB / 1.066 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003422/1.189, allocations: 218.9 kB / 1.066 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/1.19, allocations: 23.44 kB / 1.066 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009908/1.191, allocations: 75.5 kB / 1.066 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000293/1.191, allocations: 96.25 kB / 1.066 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.192e-05/1.191, allocations: 28.19 kB / 1.066 GB, free: 141.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001491/1.192, allocations: 0.6508 MB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.11e-07/1.193, allocations: 4 kB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001185/1.194, allocations: 201.5 kB / 1.067 GB, free: 141 MB / 0.698 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,actAirSet_RehBox.uWin,actAirSet_RehBox.hys.y,actAirSet_RehBox1.hys.y,winSta.pulseStart,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 2 (actAirSet_RehBox1.hys.y,actAirSet_RehBox.hys.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.0002757/1.194, allocations: 143.4 kB / 1.067 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002364/1.196, allocations: 0.6517 MB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/1.196, allocations: 1.312 kB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001762/1.198, allocations: 442.7 kB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/1.2, allocations: 122.3 kB / 1.069 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005328/1.205, allocations: 2.163 MB / 1.071 GB, free: 139.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/1.206, allocations: 1.062 MB / 1.072 GB, free: 138.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008133/1.207, allocations: 111.4 kB / 1.072 GB, free: 138.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004034/1.207, allocations: 71.61 kB / 1.072 GB, free: 138.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.132e-06/1.207, allocations: 0 / 1.072 GB, free: 138.9 MB / 0.698 GB Notification: Performance of Templates: time 0.03565/1.243, allocations: 7.513 MB / 1.079 GB, free: 138.4 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)