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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.668/1.668, allocations: 285.4 MB / 298 MB, free: 5.961 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.0009529/0.0009527, allocations: 172.9 kB / 366.4 MB, free: 2.078 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.665/1.665, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0009487/0.0009488, allocations: 90.72 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.855e-05/3.867e-05, allocations: 4 kB / 0.8584 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8176/0.8176, allocations: 115.3 MB / 0.971 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2185/1.036, allocations: 141.7 MB / 1.109 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/1.036, allocations: 84.5 kB / 1.11 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0427/1.079, allocations: 17.63 MB / 1.127 GB, free: 8.512 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.824e-06/1.079, allocations: 0 / 1.127 GB, free: 8.512 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.724e-05/1.079, allocations: 31.98 kB / 1.127 GB, free: 8.48 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.002029/1.081, allocations: 1.294 MB / 1.128 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/1.081, allocations: 8.031 kB / 1.128 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002238/1.082, allocations: 211.1 kB / 1.128 GB, free: 6.91 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/1.082, allocations: 162 kB / 1.128 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/1.083, allocations: 0.6958 MB / 1.129 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/1.083, allocations: 114.8 kB / 1.129 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/1.083, allocations: 144 kB / 1.129 GB, free: 5.758 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/1.085, allocations: 1.084 MB / 1.13 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/1.085, allocations: 3.984 kB / 1.13 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/1.085, allocations: 56 kB / 1.13 GB, free: 4.594 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/1.085, allocations: 32 kB / 1.13 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/1.087, allocations: 0.9134 MB / 1.131 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005545/1.092, allocations: 3.491 MB / 1.135 GB, free: 92 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/1.094, allocations: 0.5705 MB / 1.135 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003974/1.094, allocations: 243.2 kB / 1.136 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.172e-05/1.094, allocations: 17.33 kB / 1.136 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006915/1.095, allocations: 413.4 kB / 1.136 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=74): time 3.015e-06/1.095, allocations: 0 / 1.136 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of matching and sorting (n=74): time 0.001156/1.096, allocations: 0.6187 MB / 1.137 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/1.096, allocations: 222.2 kB / 1.137 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/1.097, allocations: 0.921 MB / 1.138 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.229e-05/1.097, allocations: 47.48 kB / 1.138 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004506/1.098, allocations: 0.5513 MB / 1.138 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/1.098, allocations: 236.5 kB / 1.138 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/1.098, allocations: 16 kB / 1.139 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.098, allocations: 338 kB / 1.139 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004804/1.099, allocations: 269.5 kB / 1.139 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005726/1.099, allocations: 368.2 kB / 1.139 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000491/1.1, allocations: 283.8 kB / 1.14 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/1.1, allocations: 0 / 1.14 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001297/1.101, allocations: 0.8129 MB / 1.141 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.19e-05/1.101, allocations: 38.62 kB / 1.141 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.101, allocations: 0 / 1.141 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/1.101, allocations: 4 kB / 1.141 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005795/1.102, allocations: 132 kB / 1.141 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/1.102, allocations: 7.938 kB / 1.141 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007192/1.103, allocations: 210.7 kB / 1.141 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.496e-05/1.103, allocations: 25.48 kB / 1.141 GB, free: 9.609 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.0001753/1.103, allocations: 156 kB / 1.141 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/1.103, allocations: 125.4 kB / 1.141 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/1.104, allocations: 0.6276 MB / 1.142 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/1.104, allocations: 11.94 kB / 1.142 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.104, allocations: 4 kB / 1.142 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/1.104, allocations: 3.984 kB / 1.142 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/1.107, allocations: 2.542 MB / 1.144 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.107, allocations: 8 kB / 1.144 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005073/1.108, allocations: 135.8 kB / 1.144 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.354e-05/1.108, allocations: 16.5 kB / 1.144 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.154e-05/1.108, allocations: 23.98 kB / 1.144 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.978e-06/1.108, allocations: 16 kB / 1.144 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/1.108, allocations: 11.94 kB / 1.144 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/1.11, allocations: 1.353 MB / 1.146 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/1.11, allocations: 219.5 kB / 1.146 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/1.11, allocations: 27.98 kB / 1.146 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004908/1.111, allocations: 67.95 kB / 1.146 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/1.111, allocations: 96.17 kB / 1.146 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.655e-05/1.111, allocations: 31.94 kB / 1.146 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0009964/1.112, allocations: 0.6889 MB / 1.147 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.112, allocations: 0 / 1.147 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007896/1.113, allocations: 215.5 kB / 1.147 GB, free: 2.793 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.002885/1.116, allocations: 3.982 MB / 1.151 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001232/1.117, allocations: 0.6921 MB / 1.152 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.117, allocations: 4.125 kB / 1.152 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007074/1.118, allocations: 419.8 kB / 1.152 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006609/1.118, allocations: 142.8 kB / 1.152 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/1.121, allocations: 1.619 MB / 1.154 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006616/1.122, allocations: 1.109 MB / 1.155 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000415/1.122, allocations: 119.9 kB / 1.155 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005857/1.123, allocations: 475.3 kB / 1.155 GB, free: 9.844 MB / 0.7605 GB Notification: Performance of SimCode: time 2.334e-06/1.123, allocations: 4 kB / 1.155 GB, free: 9.84 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03775/1.161, allocations: 18.53 MB / 1.174 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/1.161, allocations: 207.2 kB / 1.174 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.492/3.653, allocations: 2.469 kB / 1.174 GB, free: 7.465 MB / 0.7761 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)