Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.777/1.777, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.001647/0.001647, allocations: 176.8 kB / 366.7 MB, free: 1.656 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.958/1.958, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0007806/0.0007806, allocations: 90.02 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.59e-05/2.594e-05, allocations: 4 kB / 0.8598 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5952/0.5953, allocations: 116.3 MB / 0.9734 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1812/0.7765, allocations: 142 MB / 1.112 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.7768, allocations: 76.83 kB / 1.112 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04344/0.8203, allocations: 17.49 MB / 1.129 GB, free: 6.625 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8203, allocations: 0 / 1.129 GB, free: 6.625 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.877e-05/0.8204, allocations: 36 kB / 1.129 GB, free: 6.59 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.002074/0.8225, allocations: 1.287 MB / 1.131 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.8225, allocations: 16.02 kB / 1.131 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002679/0.8228, allocations: 162 kB / 1.131 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.8241, allocations: 0.688 MB / 1.131 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.094e-05/0.8242, allocations: 56 kB / 1.131 GB, free: 4.285 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.8243, allocations: 84 kB / 1.132 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001751/0.8261, allocations: 0.8336 MB / 1.132 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.8279, allocations: 0.8873 MB / 1.133 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.8279, allocations: 4 kB / 1.133 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-05/0.828, allocations: 0 / 1.133 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.828, allocations: 32 kB / 1.133 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005029/0.833, allocations: 3.116 MB / 1.136 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009871/0.834, allocations: 0.5329 MB / 1.137 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.8344, allocations: 227.2 kB / 1.137 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.736e-05/0.8345, allocations: 11.69 kB / 1.137 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005918/0.8351, allocations: 400.7 kB / 1.137 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=74): time 2.474e-06/0.8351, allocations: 0 / 1.137 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=74): time 0.0009527/0.836, allocations: 0.5321 MB / 1.138 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.8362, allocations: 218.1 kB / 1.138 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005938/0.8368, allocations: 0.5186 MB / 1.139 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.712e-05/0.8368, allocations: 29.7 kB / 1.139 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/0.8373, allocations: 0.5775 MB / 1.139 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.8375, allocations: 228.5 kB / 1.139 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.8375, allocations: 4 kB / 1.139 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.8377, allocations: 382.8 kB / 1.14 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004311/0.8382, allocations: 245.5 kB / 1.14 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/0.8387, allocations: 342.7 kB / 1.14 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005717/0.8393, allocations: 252.4 kB / 1.141 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.8393, allocations: 0 / 1.141 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001273/0.8405, allocations: 0.6908 MB / 1.141 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.831e-05/0.8406, allocations: 37.64 kB / 1.141 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.8406, allocations: 3.953 kB / 1.141 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.8407, allocations: 7.938 kB / 1.141 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006308/0.8413, allocations: 135.8 kB / 1.141 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.8413, allocations: 4 kB / 1.141 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006647/0.842, allocations: 131.6 kB / 1.142 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.91e-05/0.8421, allocations: 27.98 kB / 1.142 GB, free: 9.613 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.0001762/0.8422, allocations: 135.9 kB / 1.142 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008802/0.8431, allocations: 0.5372 MB / 1.142 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.477e-05/0.8432, allocations: 79.02 kB / 1.142 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009694/0.8442, allocations: 0.5455 MB / 1.143 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.8442, allocations: 9 kB / 1.143 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8443, allocations: 0 / 1.143 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.8443, allocations: 3.984 kB / 1.143 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003038/0.8473, allocations: 2.285 MB / 1.145 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.8473, allocations: 8 kB / 1.145 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005531/0.8479, allocations: 139.7 kB / 1.145 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/0.8479, allocations: 8.625 kB / 1.145 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.848, allocations: 13.44 kB / 1.145 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.584e-05/0.848, allocations: 19.98 kB / 1.145 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.679e-06/0.848, allocations: 11.94 kB / 1.145 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.8493, allocations: 1.233 MB / 1.147 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.8495, allocations: 168 kB / 1.147 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.8496, allocations: 19.98 kB / 1.147 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/0.8501, allocations: 55.95 kB / 1.147 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.8503, allocations: 92.11 kB / 1.147 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/0.8503, allocations: 28 kB / 1.147 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000421/0.8507, allocations: 371.2 kB / 1.147 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8507, allocations: 0 / 1.147 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000765/0.8515, allocations: 238.7 kB / 1.147 GB, free: 3.18 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.002286/0.8538, allocations: 3.867 MB / 1.151 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.8549, allocations: 0.6507 MB / 1.152 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.8549, allocations: 0 / 1.152 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006816/0.8556, allocations: 397.7 kB / 1.152 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005697/0.8562, allocations: 92.59 kB / 1.152 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.8592, allocations: 1.517 MB / 1.154 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007038/0.8599, allocations: 1.115 MB / 1.155 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003693/0.8603, allocations: 85.42 kB / 1.155 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005745/0.8609, allocations: 451.3 kB / 1.155 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of SimCode: time 4.11e-07/0.8609, allocations: 0 / 1.155 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03612/0.897, allocations: 13.83 MB / 1.169 GB, free: 13 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/0.8973, allocations: 183.8 kB / 1.169 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.465/3.362, allocations: 0 / 1.169 GB, free: 12.82 MB / 0.7761 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)