Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.695/1.695, allocations: 285.6 MB / 293.1 MB, free: 10.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.001032/0.001032, allocations: 180.7 kB / 361.4 MB, free: 6.805 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.772/1.772, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.001042/0.001042, allocations: 100.8 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.579e-05/1.582e-05, allocations: 4 kB / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7622/0.7622, allocations: 115.3 MB / 0.9644 GB, free: 79.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2074/0.9697, allocations: 141.1 MB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.9699, allocations: 79.94 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0454/1.015, allocations: 17.49 MB / 1.119 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.434e-06/1.015, allocations: 3.938 kB / 1.119 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001484/1.016, allocations: 28 kB / 1.119 GB, free: 13.32 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.003481/1.019, allocations: 1.292 MB / 1.121 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/1.019, allocations: 8.031 kB / 1.121 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000657/1.02, allocations: 163.1 kB / 1.121 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/1.021, allocations: 0.6932 MB / 1.121 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/1.022, allocations: 56 kB / 1.122 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002548/1.022, allocations: 84 kB / 1.122 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001968/1.024, allocations: 0.8375 MB / 1.122 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/1.026, allocations: 0.8795 MB / 1.123 GB, free: 9.191 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/1.026, allocations: 0 / 1.123 GB, free: 9.191 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-05/1.026, allocations: 0 / 1.123 GB, free: 9.191 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.099e-05/1.026, allocations: 40 kB / 1.123 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005779/1.032, allocations: 3.113 MB / 1.126 GB, free: 6 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/1.033, allocations: 0.5296 MB / 1.127 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/1.033, allocations: 223.2 kB / 1.127 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.742e-05/1.033, allocations: 21.3 kB / 1.127 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006361/1.034, allocations: 396.7 kB / 1.127 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=74): time 2.975e-06/1.034, allocations: 0 / 1.127 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of matching and sorting (n=74): time 0.0009824/1.035, allocations: 0.5348 MB / 1.128 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/1.035, allocations: 218.2 kB / 1.128 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006563/1.036, allocations: 0.5186 MB / 1.129 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.766e-05/1.036, allocations: 29.7 kB / 1.129 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/1.036, allocations: 0.577 MB / 1.129 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/1.036, allocations: 228.5 kB / 1.13 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/1.036, allocations: 0 / 1.13 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001741/1.037, allocations: 382.8 kB / 1.13 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/1.037, allocations: 249.5 kB / 1.13 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004823/1.038, allocations: 346.7 kB / 1.13 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005768/1.038, allocations: 248.5 kB / 1.131 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.038, allocations: 0 / 1.131 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001286/1.039, allocations: 0.6985 MB / 1.131 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.361e-05/1.04, allocations: 33.7 kB / 1.131 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/1.04, allocations: 7.422 kB / 1.131 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/1.04, allocations: 7.984 kB / 1.131 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000551/1.04, allocations: 131.8 kB / 1.132 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/1.04, allocations: 4.562 kB / 1.132 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006534/1.041, allocations: 131.6 kB / 1.132 GB, free: 376 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.771e-05/1.041, allocations: 31.92 kB / 1.132 GB, free: 344 kB / 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 () * 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.0001779/1.041, allocations: 139.1 kB / 1.132 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/1.041, allocations: 75.06 kB / 1.132 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/1.042, allocations: 0.5417 MB / 1.132 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/1.042, allocations: 11.95 kB / 1.132 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.042, allocations: 0 / 1.132 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/1.042, allocations: 3.984 kB / 1.132 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/1.046, allocations: 2.283 MB / 1.135 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/1.046, allocations: 11.98 kB / 1.135 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/1.046, allocations: 135.8 kB / 1.135 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/1.046, allocations: 8.625 kB / 1.135 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/1.046, allocations: 12 kB / 1.135 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.405e-05/1.046, allocations: 23.92 kB / 1.135 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/1.046, allocations: 11.94 kB / 1.135 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/1.048, allocations: 1.229 MB / 1.136 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/1.048, allocations: 172 kB / 1.136 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.59e-05/1.048, allocations: 15.98 kB / 1.136 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004663/1.048, allocations: 59.89 kB / 1.136 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/1.049, allocations: 84.22 kB / 1.136 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.044e-05/1.049, allocations: 35.95 kB / 1.136 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000416/1.049, allocations: 367.2 kB / 1.137 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.2e-07/1.049, allocations: 0 / 1.137 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008036/1.05, allocations: 238.7 kB / 1.137 GB, free: 10.45 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.0002356/1.05, allocations: 136.8 kB / 1.137 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001063/1.051, allocations: 0.6507 MB / 1.138 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.051, allocations: 4 kB / 1.138 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006758/1.052, allocations: 390.5 kB / 1.138 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005325/1.053, allocations: 95.92 kB / 1.138 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/1.055, allocations: 1.37 MB / 1.14 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007294/1.056, allocations: 1.108 MB / 1.141 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000363/1.056, allocations: 85.42 kB / 1.141 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/1.056, allocations: 59.42 kB / 1.141 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/1.056, allocations: 0 / 1.141 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of Templates: time 0.01345/1.07, allocations: 6.336 MB / 1.147 GB, free: 304 kB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)