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.437/1.437, allocations: 249.5 MB / 257 MB, free: 6.934 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.0009911/0.0009914, allocations: 183.4 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0008685/0.0008684, allocations: 90.41 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.936e-05/1.938e-05, allocations: 4 kB / 0.7815 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2002, allocations: 106.3 MB / 0.8854 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6851/0.8853, allocations: 136 MB / 1.018 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.8856, allocations: 72.2 kB / 1.018 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.036/0.9216, allocations: 15.43 MB / 1.033 GB, free: 4.441 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.913e-06/0.9216, allocations: 3.938 kB / 1.033 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.935e-05/0.9217, allocations: 32 kB / 1.033 GB, free: 4.406 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.002519/0.9243, allocations: 1.217 MB / 1.035 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.9243, allocations: 12.03 kB / 1.035 GB, free: 3.207 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00039/0.9247, allocations: 146.2 kB / 1.035 GB, free: 3.062 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008791/0.9256, allocations: 0.5641 MB / 1.035 GB, free: 2.578 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-05/0.9257, allocations: 51.5 kB / 1.035 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/0.9259, allocations: 84 kB / 1.035 GB, free: 2.449 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001692/0.9276, allocations: 0.814 MB / 1.036 GB, free: 1.969 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.9292, allocations: 0.854 MB / 1.037 GB, free: 1.355 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.9293, allocations: 0 / 1.037 GB, free: 1.355 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.994e-05/0.9293, allocations: 0 / 1.037 GB, free: 1.355 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/0.9294, allocations: 35.98 kB / 1.037 GB, free: 1.32 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005877/0.9353, allocations: 2.969 MB / 1.04 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.9364, allocations: 0.5386 MB / 1.04 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003323/0.9367, allocations: 222.6 kB / 1.041 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.237e-05/0.9368, allocations: 17.39 kB / 1.041 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006021/0.9374, allocations: 381.7 kB / 1.041 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=74): time 2.365e-06/0.9374, allocations: 0 / 1.041 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74): time 0.0009125/0.9383, allocations: 0.5219 MB / 1.042 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.057e-05/0.9384, allocations: 214.2 kB / 1.042 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/0.9389, allocations: 478.7 kB / 1.042 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.939, allocations: 25.7 kB / 1.042 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000375/0.9394, allocations: 0.5354 MB / 1.043 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.9395, allocations: 236.9 kB / 1.043 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.9396, allocations: 0 / 1.043 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.9397, allocations: 380.1 kB / 1.043 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.9401, allocations: 224.9 kB / 1.044 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003992/0.9405, allocations: 318.9 kB / 1.044 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/0.9408, allocations: 223.5 kB / 1.044 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.9408, allocations: 0 / 1.044 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008437/0.9417, allocations: 0.609 MB / 1.045 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.9417, allocations: 4 kB / 1.045 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.9417, allocations: 4.031 kB / 1.045 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.9417, allocations: 7.938 kB / 1.045 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005535/0.9423, allocations: 139.6 kB / 1.045 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.9423, allocations: 4 kB / 1.045 GB, free: 11.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004973/0.9428, allocations: 107.5 kB / 1.045 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-05/0.9429, allocations: 26.11 kB / 1.045 GB, free: 11.14 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.0001505/0.943, allocations: 141.7 kB / 1.045 GB, free: 11 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008004/0.9438, allocations: 0.5243 MB / 1.046 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.9439, allocations: 63.25 kB / 1.046 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008933/0.9448, allocations: 0.5267 MB / 1.046 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.9449, allocations: 15.94 kB / 1.046 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.9449, allocations: 4 kB / 1.046 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/0.9449, allocations: 3.984 kB / 1.046 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/0.9476, allocations: 2.236 MB / 1.048 GB, free: 8.426 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.9476, allocations: 8.156 kB / 1.048 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005103/0.9481, allocations: 135.2 kB / 1.049 GB, free: 8.293 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.636e-05/0.9481, allocations: 12 kB / 1.049 GB, free: 8.281 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.276e-05/0.9482, allocations: 16.3 kB / 1.049 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/0.9482, allocations: 19.89 kB / 1.049 GB, free: 8.246 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/0.9482, allocations: 11.94 kB / 1.049 GB, free: 8.234 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.9493, allocations: 1.229 MB / 1.05 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.9495, allocations: 170.4 kB / 1.05 GB, free: 6.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.395e-05/0.9496, allocations: 15.95 kB / 1.05 GB, free: 6.734 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004568/0.95, allocations: 55.95 kB / 1.05 GB, free: 6.68 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.9502, allocations: 86.09 kB / 1.05 GB, free: 6.609 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.675e-05/0.9502, allocations: 35.42 kB / 1.05 GB, free: 6.578 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003286/0.9506, allocations: 324.8 kB / 1.05 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9506, allocations: 0 / 1.05 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006807/0.9513, allocations: 210.8 kB / 1.051 GB, free: 6.141 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.002137/0.9534, allocations: 3.861 MB / 1.054 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0009206/0.9543, allocations: 0.5512 MB / 1.055 GB, free: 1.906 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.9544, allocations: 4 kB / 1.055 GB, free: 1.902 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006183/0.955, allocations: 384.2 kB / 1.055 GB, free: 1.664 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005148/0.9555, allocations: 69.75 kB / 1.055 GB, free: 1.617 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.9581, allocations: 1.424 MB / 1.057 GB, free: 216 kB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/0.9587, allocations: 1.084 MB / 1.058 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003235/0.959, allocations: 77.03 kB / 1.058 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004426/0.9595, allocations: 413.1 kB / 1.058 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of SimCode: time 7.02e-07/0.9595, allocations: 4 kB / 1.058 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0329/0.9924, allocations: 12.23 MB / 1.07 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.9926, allocations: 203.2 kB / 1.07 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/3.028, allocations: 0 / 1.07 GB, free: 2.559 MB / 0.6823 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)