Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.364/2.364, allocations: 248.5 MB / 261.1 MB, free: 5.945 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.00149/0.00149, allocations: 181.6 kB / 320.4 MB, free: 15.34 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.961/1.961, allocations: 205.2 MB / 0.5711 GB, free: 11.82 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.001092/0.001092, allocations: 96.67 kB / 0.6754 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.64e-05/4.657e-05, allocations: 4 kB / 0.787 GB, free: 97.76 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2041, allocations: 106.2 MB / 0.8907 GB, free: 7.418 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8583/1.062, allocations: 135.6 MB / 1.023 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/1.063, allocations: 76.95 kB / 1.023 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06133/1.124, allocations: 15.56 MB / 1.038 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.857e-06/1.124, allocations: 0 / 1.038 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.069e-05/1.124, allocations: 35.94 kB / 1.038 GB, free: 2.109 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.003311/1.128, allocations: 1.211 MB / 1.04 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/1.128, allocations: 8.031 kB / 1.04 GB, free: 0.9219 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000459/1.128, allocations: 196.6 kB / 1.04 GB, free: 0.8047 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000387/1.129, allocations: 154.1 kB / 1.04 GB, free: 0.6523 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/1.13, allocations: 0.5572 MB / 1.04 GB, free: 176 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/1.13, allocations: 120.4 kB / 1.041 GB, free: 104 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000255/1.13, allocations: 134.4 kB / 1.041 GB, free: 12 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003076/1.133, allocations: 1.056 MB / 1.042 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.199e-05/1.133, allocations: 0 / 1.042 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/1.134, allocations: 54.38 kB / 1.042 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.162e-05/1.134, allocations: 32 kB / 1.042 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002686/1.136, allocations: 0.8836 MB / 1.043 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009748/1.146, allocations: 3.333 MB / 1.046 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/1.148, allocations: 0.5806 MB / 1.047 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000683/1.149, allocations: 243.3 kB / 1.047 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.661e-05/1.149, allocations: 12.72 kB / 1.047 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009541/1.15, allocations: 403.2 kB / 1.047 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=74): time 3.898e-06/1.15, allocations: 0 / 1.047 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74): time 0.001803/1.152, allocations: 0.6053 MB / 1.048 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/1.152, allocations: 217.3 kB / 1.048 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/1.154, allocations: 0.8586 MB / 1.049 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001822/1.154, allocations: 46.7 kB / 1.049 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005798/1.155, allocations: 0.5036 MB / 1.049 GB, free: 9.711 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003887/1.155, allocations: 242 kB / 1.05 GB, free: 9.504 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.559e-05/1.155, allocations: 16.5 kB / 1.05 GB, free: 9.5 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001931/1.155, allocations: 335.8 kB / 1.05 GB, free: 9.18 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000749/1.156, allocations: 235.9 kB / 1.05 GB, free: 9.051 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008272/1.157, allocations: 339.4 kB / 1.05 GB, free: 8.812 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006869/1.158, allocations: 232.7 kB / 1.051 GB, free: 8.672 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.158, allocations: 7.922 kB / 1.051 GB, free: 8.664 MB / 0.6667 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001961/1.16, allocations: 0.7083 MB / 1.051 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/1.16, allocations: 8 kB / 1.051 GB, free: 8.145 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.16, allocations: 0 / 1.051 GB, free: 8.145 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/1.16, allocations: 4 kB / 1.051 GB, free: 8.141 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/1.161, allocations: 131.2 kB / 1.051 GB, free: 8.016 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.049e-05/1.161, allocations: 15.88 kB / 1.052 GB, free: 8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/1.162, allocations: 180.7 kB / 1.052 GB, free: 7.836 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-05/1.162, allocations: 22.12 kB / 1.052 GB, free: 7.82 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.0003043/1.163, allocations: 160 kB / 1.052 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/1.163, allocations: 106.6 kB / 1.052 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/1.165, allocations: 0.609 MB / 1.053 GB, free: 7.172 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/1.165, allocations: 12 kB / 1.053 GB, free: 7.16 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/1.165, allocations: 0 / 1.053 GB, free: 7.16 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/1.165, allocations: 11.88 kB / 1.053 GB, free: 7.148 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005322/1.17, allocations: 2.492 MB / 1.055 GB, free: 5.223 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/1.17, allocations: 8 kB / 1.055 GB, free: 5.215 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/1.171, allocations: 143.9 kB / 1.055 GB, free: 5.078 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.597e-05/1.171, allocations: 16 kB / 1.055 GB, free: 5.062 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.863e-05/1.171, allocations: 22.56 kB / 1.055 GB, free: 5.051 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.82e-05/1.172, allocations: 15.92 kB / 1.055 GB, free: 5.035 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/1.172, allocations: 11.94 kB / 1.055 GB, free: 5.023 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/1.174, allocations: 1.316 MB / 1.057 GB, free: 3.656 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003384/1.174, allocations: 215.7 kB / 1.057 GB, free: 3.449 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/1.174, allocations: 22.38 kB / 1.057 GB, free: 3.438 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/1.175, allocations: 78.31 kB / 1.057 GB, free: 3.371 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002513/1.176, allocations: 91.97 kB / 1.057 GB, free: 3.297 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.031e-05/1.176, allocations: 31.44 kB / 1.057 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001339/1.177, allocations: 0.642 MB / 1.058 GB, free: 2.797 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.21e-07/1.177, allocations: 0 / 1.058 GB, free: 2.797 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001088/1.178, allocations: 201 kB / 1.058 GB, free: 2.621 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.003797/1.182, allocations: 3.95 MB / 1.062 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001933/1.184, allocations: 0.5989 MB / 1.062 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-05/1.184, allocations: 4 kB / 1.062 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001455/1.186, allocations: 404.9 kB / 1.063 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/1.187, allocations: 109.8 kB / 1.063 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00477/1.192, allocations: 1.538 MB / 1.064 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009294/1.193, allocations: 1.089 MB / 1.065 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007072/1.193, allocations: 111.2 kB / 1.065 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008315/1.194, allocations: 438.6 kB / 1.066 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of SimCode: time 1.342e-06/1.194, allocations: 0 / 1.066 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06068/1.255, allocations: 16.63 MB / 1.082 GB, free: 10.78 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003532/1.255, allocations: 204.8 kB / 1.082 GB, free: 10.55 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.053/4.308, allocations: 7.375 kB / 1.082 GB, free: 10.55 MB / 0.698 GB