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.441/1.441, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 184.3 kB / 326.5 MB, free: 2.254 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.91/1.91, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008911/0.0008912, allocations: 110.4 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005238/0.0005238, allocations: 8 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2521, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2088/0.461, allocations: 135.8 MB / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/0.4614, allocations: 83.94 kB / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05771/0.5191, allocations: 15.57 MB / 1.048 GB, free: 8.191 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.113e-06/0.5192, allocations: 0 / 1.048 GB, free: 8.191 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001027/0.5193, allocations: 31.94 kB / 1.048 GB, free: 8.16 MB / 0.698 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.00372/0.523, allocations: 1.296 MB / 1.049 GB, free: 6.809 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.5231, allocations: 15.97 kB / 1.049 GB, free: 6.793 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004264/0.5235, allocations: 198.7 kB / 1.05 GB, free: 6.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003476/0.5239, allocations: 146.2 kB / 1.05 GB, free: 6.445 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009619/0.5249, allocations: 0.5685 MB / 1.05 GB, free: 5.836 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.525, allocations: 110.7 kB / 1.05 GB, free: 5.727 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.5252, allocations: 132 kB / 1.051 GB, free: 5.598 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/0.5274, allocations: 1.094 MB / 1.052 GB, free: 4.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.5275, allocations: 0 / 1.052 GB, free: 4.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.5276, allocations: 56 kB / 1.052 GB, free: 4.426 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/0.5276, allocations: 35.94 kB / 1.052 GB, free: 4.391 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/0.5297, allocations: 0.9634 MB / 1.053 GB, free: 3.422 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005932/0.5356, allocations: 3.327 MB / 1.056 GB, free: 32 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4785/1.014, allocations: 0.6018 MB / 1.056 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.149e-05/1.014, allocations: 12.56 kB / 1.056 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/1.015, allocations: 431.1 kB / 1.057 GB, free: 142.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 3.787e-06/1.015, allocations: 1.562 kB / 1.057 GB, free: 142.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.002962/1.018, allocations: 0.8856 MB / 1.058 GB, free: 142.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/1.019, allocations: 222.9 kB / 1.058 GB, free: 142.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/1.02, allocations: 0.866 MB / 1.059 GB, free: 141.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.939e-05/1.021, allocations: 44.3 kB / 1.059 GB, free: 141.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005229/1.021, allocations: 0.5038 MB / 1.059 GB, free: 141.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/1.021, allocations: 243.8 kB / 1.06 GB, free: 141.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-05/1.021, allocations: 17.53 kB / 1.06 GB, free: 141.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.906e-05/1.021, allocations: 333.1 kB / 1.06 GB, free: 141.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008163/1.022, allocations: 269 kB / 1.06 GB, free: 141.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008779/1.023, allocations: 369.3 kB / 1.061 GB, free: 141.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007754/1.024, allocations: 277.7 kB / 1.061 GB, free: 141.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/1.024, allocations: 1.375 kB / 1.061 GB, free: 141.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002154/1.026, allocations: 0.7676 MB / 1.062 GB, free: 141.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/1.026, allocations: 5.312 kB / 1.062 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.026, allocations: 0 / 1.062 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/1.026, allocations: 6.828 kB / 1.062 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008513/1.027, allocations: 134.2 kB / 1.062 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/1.027, allocations: 3.188 kB / 1.062 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/1.028, allocations: 186.8 kB / 1.062 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.826e-05/1.028, allocations: 22 kB / 1.062 GB, free: 141.1 MB / 0.698 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 () * Number of clocked 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.0006808/1.029, allocations: 265.8 kB / 1.062 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/1.029, allocations: 105.7 kB / 1.062 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/1.031, allocations: 0.6713 MB / 1.063 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/1.031, allocations: 12.95 kB / 1.063 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/1.031, allocations: 0.625 kB / 1.063 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/1.031, allocations: 3.047 kB / 1.063 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005332/1.037, allocations: 2.55 MB / 1.065 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.44e-05/1.037, allocations: 7.094 kB / 1.065 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009849/1.038, allocations: 136.3 kB / 1.066 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.661e-05/1.038, allocations: 11.31 kB / 1.066 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.972e-05/1.038, allocations: 24.34 kB / 1.066 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.924e-05/1.038, allocations: 14.44 kB / 1.066 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.742e-05/1.038, allocations: 12.86 kB / 1.066 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003029/1.041, allocations: 1.369 MB / 1.067 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004177/1.041, allocations: 222.3 kB / 1.067 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/1.042, allocations: 28.36 kB / 1.067 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000931/1.042, allocations: 70.94 kB / 1.067 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003508/1.043, allocations: 95.45 kB / 1.067 GB, free: 139 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-05/1.043, allocations: 34.05 kB / 1.067 GB, free: 139 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001678/1.045, allocations: 0.6497 MB / 1.068 GB, free: 138.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.045, allocations: 0 / 1.068 GB, free: 138.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001406/1.046, allocations: 205.8 kB / 1.068 GB, free: 138.9 MB / 0.698 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) * Number of clocked states: 0 () * 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.003583/1.05, allocations: 4 MB / 1.072 GB, free: 135.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002461/1.052, allocations: 0.6498 MB / 1.073 GB, free: 135.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/1.052, allocations: 4.812 kB / 1.073 GB, free: 135.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001784/1.054, allocations: 439.1 kB / 1.073 GB, free: 135.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/1.055, allocations: 112.3 kB / 1.073 GB, free: 135.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/1.074, allocations: 6.206 MB / 1.079 GB, free: 132.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/1.075, allocations: 1.083 MB / 1.08 GB, free: 132.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008265/1.076, allocations: 111.5 kB / 1.08 GB, free: 132 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008641/1.076, allocations: 439.3 kB / 1.081 GB, free: 132 MB / 0.698 GB Notification: Performance of SimCode: time 1.062e-06/1.076, allocations: 1.094 kB / 1.081 GB, free: 132 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04992/1.126, allocations: 16.88 MB / 1.097 GB, free: 130 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/1.127, allocations: 246 kB / 1.098 GB, free: 129.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.581/3.708, allocations: 0 / 1.098 GB, free: 129.7 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)