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 2.076/2.076, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.002123/0.002123, allocations: 180.8 kB / 361.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.564/2.564, 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.001892/0.001892, allocations: 94.2 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.782e-05, allocations: 0 / 0.8519 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368/1.369, allocations: 115.3 MB / 0.9645 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3579/1.727, allocations: 141.1 MB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004148/1.727, allocations: 73.61 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.07097/1.798, allocations: 17.49 MB / 1.119 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.627e-06/1.798, allocations: 0 / 1.119 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002321/1.798, allocations: 31.98 kB / 1.119 GB, free: 13.24 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.004857/1.803, allocations: 1.299 MB / 1.121 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 8.065e-05/1.803, allocations: 8.031 kB / 1.121 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009633/1.804, allocations: 167.1 kB / 1.121 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/1.807, allocations: 0.6842 MB / 1.122 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/1.807, allocations: 56 kB / 1.122 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004412/1.807, allocations: 87.94 kB / 1.122 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003787/1.811, allocations: 0.8376 MB / 1.123 GB, free: 10 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004059/1.815, allocations: 0.8834 MB / 1.123 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.078e-05/1.815, allocations: 7.438 kB / 1.123 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/1.816, allocations: 0 / 1.123 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-05/1.816, allocations: 32 kB / 1.123 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01179/1.828, allocations: 3.115 MB / 1.126 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/1.83, allocations: 0.5323 MB / 1.127 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007066/1.83, allocations: 231.2 kB / 1.127 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/1.831, allocations: 9.328 kB / 1.127 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/1.832, allocations: 392.7 kB / 1.128 GB, free: 4.715 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=74): time 1.281e-05/1.832, allocations: 4 kB / 1.128 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of matching and sorting (n=74): time 0.001998/1.834, allocations: 0.5334 MB / 1.128 GB, free: 4.168 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002294/1.834, allocations: 214.2 kB / 1.128 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/1.836, allocations: 0.5147 MB / 1.129 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001678/1.836, allocations: 37.69 kB / 1.129 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009793/1.837, allocations: 0.5731 MB / 1.129 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003716/1.837, allocations: 228.5 kB / 1.13 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/1.837, allocations: 4 kB / 1.13 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003274/1.838, allocations: 386.8 kB / 1.13 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008476/1.839, allocations: 241.6 kB / 1.13 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008705/1.839, allocations: 354.6 kB / 1.131 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/1.841, allocations: 248.5 kB / 1.131 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/1.841, allocations: 0 / 1.131 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002284/1.843, allocations: 0.6868 MB / 1.131 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.726e-05/1.843, allocations: 41.64 kB / 1.132 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/1.843, allocations: 3.953 kB / 1.132 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.795e-05/1.843, allocations: 5.406 kB / 1.132 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009001/1.844, allocations: 127.8 kB / 1.132 GB, free: 428 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/1.844, allocations: 8.062 kB / 1.132 GB, free: 420 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/1.845, allocations: 132.2 kB / 1.132 GB, free: 288 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/1.845, allocations: 28 kB / 1.132 GB, free: 260 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.0003072/1.846, allocations: 139.8 kB / 1.132 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001692/1.847, allocations: 0.5401 MB / 1.132 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/1.848, allocations: 75.02 kB / 1.133 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/1.849, allocations: 0.5417 MB / 1.133 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/1.849, allocations: 8 kB / 1.133 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/1.849, allocations: 0 / 1.133 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/1.849, allocations: 11.98 kB / 1.133 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006147/1.856, allocations: 2.279 MB / 1.135 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.723e-05/1.856, allocations: 8 kB / 1.135 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009307/1.857, allocations: 139.8 kB / 1.135 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-05/1.857, allocations: 13.22 kB / 1.135 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-05/1.857, allocations: 15.98 kB / 1.135 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.636e-05/1.857, allocations: 15.94 kB / 1.135 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.668e-05/1.857, allocations: 11.94 kB / 1.135 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002556/1.859, allocations: 1.229 MB / 1.137 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003423/1.86, allocations: 176 kB / 1.137 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/1.86, allocations: 15.98 kB / 1.137 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008672/1.861, allocations: 51.95 kB / 1.137 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002783/1.861, allocations: 99.56 kB / 1.137 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.861, allocations: 27.98 kB / 1.137 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007722/1.862, allocations: 371.2 kB / 1.137 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.71e-07/1.862, allocations: 0 / 1.137 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001568/1.864, allocations: 234.7 kB / 1.138 GB, free: 9.816 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.003875/1.867, allocations: 3.875 MB / 1.141 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001959/1.869, allocations: 0.6585 MB / 1.142 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.869, allocations: 0 / 1.142 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001215/1.871, allocations: 387.2 kB / 1.142 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/1.872, allocations: 94.27 kB / 1.143 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00554/1.877, allocations: 1.512 MB / 1.144 GB, free: 2.918 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/1.879, allocations: 1.115 MB / 1.145 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006083/1.879, allocations: 85.36 kB / 1.145 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000849/1.88, allocations: 452.4 kB / 1.146 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of SimCode: time 1.793e-06/1.88, allocations: 0 / 1.146 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07098/1.951, allocations: 13.83 MB / 1.159 GB, free: 3.699 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004757/1.952, allocations: 205.2 kB / 1.159 GB, free: 3.438 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.303/5.255, allocations: 3.375 kB / 1.159 GB, free: 3.438 MB / 0.7605 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)