Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/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_master_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.884/4.884, allocations: 0.5623 GB / 0.5775 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002578/0.002577, allocations: 356.1 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.292/4.292, allocations: 410.7 MB / 1.113 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00189/0.00189, allocations: 181 kB / 1.226 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006302/0.0006305, allocations: 8 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7431/0.7437, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2021/0.9459, allocations: 141.6 MB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.9462, allocations: 81.08 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.07008/1.016, allocations: 17.66 MB / 1.617 GB, free: 125 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.777e-06/1.016, allocations: 7.938 kB / 1.617 GB, free: 125 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000109/1.016, allocations: 34.7 kB / 1.617 GB, free: 125 MB / 0.8542 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.004461/1.021, allocations: 1.383 MB / 1.618 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/1.021, allocations: 11.62 kB / 1.618 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006004/1.022, allocations: 166.5 kB / 1.619 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002109/1.024, allocations: 0.6866 MB / 1.619 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/1.024, allocations: 114.8 kB / 1.619 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003813/1.024, allocations: 145 kB / 1.62 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004572/1.029, allocations: 1.153 MB / 1.621 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.536e-05/1.029, allocations: 0 / 1.621 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002356/1.029, allocations: 56 kB / 1.621 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.306e-05/1.029, allocations: 36.72 kB / 1.621 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004285/1.034, allocations: 0.9865 MB / 1.622 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01125/1.045, allocations: 3.49 MB / 1.625 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/1.048, allocations: 0.5977 MB / 1.626 GB, free: 116 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/1.049, allocations: 277.8 kB / 1.626 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/1.049, allocations: 16.62 kB / 1.626 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001549/1.05, allocations: 436.2 kB / 1.626 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=74): time 4.358e-06/1.051, allocations: 0 / 1.626 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=74): time 0.00402/1.055, allocations: 0.9102 MB / 1.627 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.606e-05/1.055, allocations: 214.2 kB / 1.627 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002607/1.057, allocations: 1.062 MB / 1.629 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002239/1.058, allocations: 45.7 kB / 1.629 GB, free: 113 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007583/1.058, allocations: 0.5513 MB / 1.629 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003536/1.059, allocations: 241.5 kB / 1.629 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/1.059, allocations: 20 kB / 1.629 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001026/1.059, allocations: 330.8 kB / 1.63 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/1.06, allocations: 299 kB / 1.63 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/1.062, allocations: 402.7 kB / 1.63 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/1.063, allocations: 327.8 kB / 1.631 GB, free: 110.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/1.063, allocations: 0 / 1.631 GB, free: 110.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003505/1.067, allocations: 0.8678 MB / 1.631 GB, free: 110 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.319e-05/1.067, allocations: 29.7 kB / 1.632 GB, free: 109.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/1.067, allocations: 5.125 kB / 1.632 GB, free: 109.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/1.067, allocations: 7.984 kB / 1.632 GB, free: 109.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/1.068, allocations: 132.4 kB / 1.632 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/1.068, allocations: 4.875 kB / 1.632 GB, free: 109.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/1.07, allocations: 201.2 kB / 1.632 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/1.07, allocations: 32.48 kB / 1.632 GB, free: 109.6 MB / 0.8542 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.0006968/1.07, allocations: 282.5 kB / 1.632 GB, free: 109.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/1.071, allocations: 114.5 kB / 1.632 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002001/1.073, allocations: 0.6883 MB / 1.633 GB, free: 108.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/1.073, allocations: 12 kB / 1.633 GB, free: 108.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.073, allocations: 0.875 kB / 1.633 GB, free: 108.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/1.073, allocations: 3.984 kB / 1.633 GB, free: 108.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005122/1.078, allocations: 2.599 MB / 1.635 GB, free: 105.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/1.078, allocations: 8 kB / 1.635 GB, free: 105.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009847/1.079, allocations: 133 kB / 1.636 GB, free: 105.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.735e-05/1.079, allocations: 13.06 kB / 1.636 GB, free: 105.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/1.079, allocations: 27.98 kB / 1.636 GB, free: 105.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.498e-05/1.079, allocations: 15.94 kB / 1.636 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.227e-06/1.079, allocations: 12.94 kB / 1.636 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/1.081, allocations: 1.02 MB / 1.637 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002899/1.082, allocations: 223.5 kB / 1.637 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/1.082, allocations: 27.98 kB / 1.637 GB, free: 104.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008779/1.083, allocations: 67.02 kB / 1.637 GB, free: 104.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002378/1.083, allocations: 90.88 kB / 1.637 GB, free: 104 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.911e-05/1.083, allocations: 35.95 kB / 1.637 GB, free: 104 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001224/1.084, allocations: 0.7034 MB / 1.638 GB, free: 103.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.9e-07/1.084, allocations: 0 / 1.638 GB, free: 103.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001018/1.085, allocations: 215.5 kB / 1.638 GB, free: 103 MB / 0.8542 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.0002752/1.086, allocations: 147 kB / 1.638 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002191/1.088, allocations: 0.7507 MB / 1.639 GB, free: 102.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/1.088, allocations: 6 kB / 1.639 GB, free: 102.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001432/1.089, allocations: 447.6 kB / 1.639 GB, free: 101.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/1.091, allocations: 136.3 kB / 1.639 GB, free: 101.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004276/1.095, allocations: 2.291 MB / 1.642 GB, free: 99.17 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006423/1.096, allocations: 1.112 MB / 1.643 GB, free: 98.03 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0007231/1.096, allocations: 118.2 kB / 1.643 GB, free: 97.91 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/1.097, allocations: 79.42 kB / 1.643 GB, free: 97.83 MB / 0.8542 GB Notification: Performance of SimCode: time 1.363e-06/1.097, allocations: 0 / 1.643 GB, free: 97.83 MB / 0.8542 GB Notification: Performance of Templates: time 0.0274/1.124, allocations: 8.675 MB / 1.651 GB, free: 89.37 MB / 0.8542 GB