Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.49/1.49, allocations: 249.3 MB / 261.8 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001185/0.001185, allocations: 180.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009508/0.0009511, allocations: 90.47 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.074e-05/3.098e-05, allocations: 4 kB / 0.7881 GB, free: 96.94 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2154, allocations: 106.3 MB / 0.8919 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7184/0.9339, allocations: 135.7 MB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.9341, allocations: 77.38 kB / 1.025 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03773/0.9719, allocations: 15.54 MB / 1.04 GB, free: 1.742 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9719, allocations: 0 / 1.04 GB, free: 1.742 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.327e-05/0.972, allocations: 32 kB / 1.04 GB, free: 1.711 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.001956/0.974, allocations: 1.219 MB / 1.041 GB, free: 0.5234 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.974, allocations: 8.031 kB / 1.041 GB, free: 0.5156 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002162/0.9742, allocations: 198 kB / 1.041 GB, free: 408 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.9745, allocations: 146.2 kB / 1.041 GB, free: 260 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007278/0.9752, allocations: 0.5646 MB / 1.042 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.181e-05/0.9753, allocations: 113 kB / 1.042 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.9755, allocations: 134.5 kB / 1.042 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.9772, allocations: 1.045 MB / 1.043 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.9773, allocations: 4 kB / 1.043 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.754e-05/0.9774, allocations: 54.88 kB / 1.043 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/0.9774, allocations: 32 kB / 1.043 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.9789, allocations: 0.8937 MB / 1.044 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005137/0.984, allocations: 3.337 MB / 1.047 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.9851, allocations: 0.5723 MB / 1.048 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003572/0.9855, allocations: 255.5 kB / 1.048 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.426e-05/0.9855, allocations: 8.781 kB / 1.048 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006038/0.9861, allocations: 403.7 kB / 1.049 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=74): time 2.504e-06/0.9861, allocations: 4 kB / 1.049 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74): time 0.001007/0.9872, allocations: 0.5967 MB / 1.049 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.9873, allocations: 222.1 kB / 1.049 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.9883, allocations: 0.8617 MB / 1.05 GB, free: 9.633 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.454e-05/0.9884, allocations: 40.08 kB / 1.05 GB, free: 9.598 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.9887, allocations: 0.5016 MB / 1.051 GB, free: 9.297 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.9889, allocations: 242.5 kB / 1.051 GB, free: 9.09 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.9889, allocations: 13.56 kB / 1.051 GB, free: 9.09 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.989, allocations: 336.8 kB / 1.051 GB, free: 8.766 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/0.9894, allocations: 241.9 kB / 1.051 GB, free: 8.633 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004824/0.9899, allocations: 333.8 kB / 1.052 GB, free: 8.398 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/0.9903, allocations: 242.1 kB / 1.052 GB, free: 8.254 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.9903, allocations: 4 kB / 1.052 GB, free: 8.25 MB / 0.6667 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0011/0.9915, allocations: 0.7079 MB / 1.053 GB, free: 7.738 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.9915, allocations: 8 kB / 1.053 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.9915, allocations: 0 / 1.053 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.9915, allocations: 4 kB / 1.053 GB, free: 7.727 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005989/0.9921, allocations: 126.5 kB / 1.053 GB, free: 7.605 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.9922, allocations: 4 kB / 1.053 GB, free: 7.602 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006139/0.9928, allocations: 187.9 kB / 1.053 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.857e-05/0.9928, allocations: 22.12 kB / 1.053 GB, free: 7.414 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,actAirSet_RehBox.not1.y,actAirSet_RehBox.uWin,$PRE.actAirSet_RehBox.hys.y,actAirSet_RehBox.hys.y,actAirSet_RehBox1.not1.y,$PRE.actAirSet_RehBox1.hys.y,actAirSet_RehBox1.hys.y,$PRE.winSta.pulseStart,winSta.pulseStart,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): 95 * Array equations: 0 * Algorithm blocks: 0 * 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.0001662/0.993, allocations: 156.1 kB / 1.053 GB, free: 7.277 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.9932, allocations: 106.6 kB / 1.053 GB, free: 7.172 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.9943, allocations: 0.62 MB / 1.054 GB, free: 6.754 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.9943, allocations: 8 kB / 1.054 GB, free: 6.746 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.9943, allocations: 0 / 1.054 GB, free: 6.746 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.9943, allocations: 3.984 kB / 1.054 GB, free: 6.742 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/0.9973, allocations: 2.496 MB / 1.056 GB, free: 4.812 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.9973, allocations: 8 kB / 1.056 GB, free: 4.805 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005192/0.9978, allocations: 142.2 kB / 1.057 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-05/0.9979, allocations: 15.95 kB / 1.057 GB, free: 4.656 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/0.9979, allocations: 26.67 kB / 1.057 GB, free: 4.641 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.096e-05/0.9979, allocations: 12.31 kB / 1.057 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.998, allocations: 12 kB / 1.057 GB, free: 4.617 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.9993, allocations: 1.314 MB / 1.058 GB, free: 3.254 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002256/0.9995, allocations: 217.5 kB / 1.058 GB, free: 3.047 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.9996, allocations: 34.48 kB / 1.058 GB, free: 3.023 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005048/1, allocations: 70.33 kB / 1.058 GB, free: 2.965 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/1, allocations: 93.78 kB / 1.058 GB, free: 2.887 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.74e-05/1, allocations: 27.31 kB / 1.058 GB, free: 2.863 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007332/1.001, allocations: 0.6386 MB / 1.059 GB, free: 2.395 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.4e-07/1.001, allocations: 0 / 1.059 GB, free: 2.395 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000614/1.002, allocations: 198.6 kB / 1.059 GB, free: 2.223 MB / 0.6667 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,actAirSet_RehBox.uWin,actAirSet_RehBox.hys.y,actAirSet_RehBox1.hys.y,winSta.pulseStart,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 2 (actAirSet_RehBox1.hys.y,actAirSet_RehBox.hys.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.002321/1.004, allocations: 3.964 MB / 1.063 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001033/1.005, allocations: 0.5921 MB / 1.064 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.005, allocations: 0 / 1.064 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007289/1.006, allocations: 416.7 kB / 1.064 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/1.006, allocations: 106.6 kB / 1.064 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/1.009, allocations: 1.537 MB / 1.066 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005984/1.01, allocations: 1.081 MB / 1.067 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004026/1.01, allocations: 111.2 kB / 1.067 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005036/1.011, allocations: 437.5 kB / 1.067 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of SimCode: time 4.91e-07/1.011, allocations: 0 / 1.067 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/1.042, allocations: 16.65 MB / 1.083 GB, free: 10.38 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/1.042, allocations: 215.5 kB / 1.084 GB, free: 10.15 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.54/3.582, allocations: 3.938 kB / 1.084 GB, free: 10.15 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_maint.7.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_7_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_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)