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.328/2.328, allocations: 248.7 MB / 256.2 MB, free: 7.008 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.00212/0.00212, allocations: 184.2 kB / 315.4 MB, free: 4.02 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.413/2.413, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 89.92 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.545e-05/2.556e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.211, allocations: 106.3 MB / 0.8842 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8734/1.084, allocations: 135.8 MB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/1.085, allocations: 74.44 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06038/1.145, allocations: 15.44 MB / 1.032 GB, free: 6.062 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.823e-06/1.145, allocations: 0 / 1.032 GB, free: 6.062 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.208e-05/1.145, allocations: 35.98 kB / 1.032 GB, free: 6.027 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.003288/1.149, allocations: 1.211 MB / 1.033 GB, free: 4.848 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.58e-05/1.149, allocations: 8.031 kB / 1.033 GB, free: 4.84 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004636/1.149, allocations: 154.1 kB / 1.033 GB, free: 4.688 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/1.15, allocations: 0.5622 MB / 1.034 GB, free: 4.203 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/1.151, allocations: 51 kB / 1.034 GB, free: 4.156 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/1.151, allocations: 80 kB / 1.034 GB, free: 4.078 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002492/1.153, allocations: 0.816 MB / 1.035 GB, free: 3.598 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002747/1.156, allocations: 0.8589 MB / 1.036 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.028e-05/1.156, allocations: 0 / 1.036 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/1.156, allocations: 4 kB / 1.036 GB, free: 2.977 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.051e-05/1.156, allocations: 32 kB / 1.036 GB, free: 2.945 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008493/1.165, allocations: 2.975 MB / 1.039 GB, free: 0.6953 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/1.167, allocations: 0.539 MB / 1.039 GB, free: 368 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005908/1.167, allocations: 230.7 kB / 1.039 GB, free: 236 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.86e-05/1.167, allocations: 8.781 kB / 1.039 GB, free: 228 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008863/1.168, allocations: 372.7 kB / 1.04 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=74): time 4.268e-06/1.168, allocations: 4 kB / 1.04 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74): time 0.001514/1.17, allocations: 0.5194 MB / 1.04 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/1.17, allocations: 218.2 kB / 1.04 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008681/1.171, allocations: 470.4 kB / 1.041 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000143/1.171, allocations: 33.69 kB / 1.041 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.00057/1.171, allocations: 0.5362 MB / 1.041 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002974/1.172, allocations: 233.3 kB / 1.042 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/1.172, allocations: 0 / 1.042 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001967/1.172, allocations: 384 kB / 1.042 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006373/1.173, allocations: 223.8 kB / 1.042 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007387/1.173, allocations: 318.3 kB / 1.042 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006106/1.174, allocations: 223.6 kB / 1.043 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.174, allocations: 0 / 1.043 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001661/1.176, allocations: 0.6146 MB / 1.043 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/1.176, allocations: 4 kB / 1.043 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.176, allocations: 0 / 1.043 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/1.176, allocations: 4 kB / 1.043 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/1.177, allocations: 134.6 kB / 1.043 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/1.177, allocations: 8 kB / 1.043 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/1.178, allocations: 115.5 kB / 1.044 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.793e-05/1.178, allocations: 20.38 kB / 1.044 GB, free: 12.76 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.0002557/1.179, allocations: 135.1 kB / 1.044 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001419/1.18, allocations: 0.5222 MB / 1.044 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/1.18, allocations: 63.25 kB / 1.044 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/1.182, allocations: 0.5345 MB / 1.045 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/1.182, allocations: 8 kB / 1.045 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/1.182, allocations: 4 kB / 1.045 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/1.182, allocations: 3.984 kB / 1.045 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004993/1.187, allocations: 2.235 MB / 1.047 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/1.187, allocations: 8 kB / 1.047 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/1.188, allocations: 141.1 kB / 1.047 GB, free: 9.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.629e-05/1.188, allocations: 12 kB / 1.047 GB, free: 9.898 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.767e-05/1.188, allocations: 19.33 kB / 1.047 GB, free: 9.883 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.447e-05/1.188, allocations: 24.27 kB / 1.047 GB, free: 9.859 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.329e-05/1.188, allocations: 12 kB / 1.047 GB, free: 9.848 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/1.19, allocations: 1.222 MB / 1.048 GB, free: 8.543 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/1.19, allocations: 166.8 kB / 1.049 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/1.191, allocations: 11.98 kB / 1.049 GB, free: 8.355 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008736/1.192, allocations: 63.77 kB / 1.049 GB, free: 8.297 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002418/1.192, allocations: 91.03 kB / 1.049 GB, free: 8.219 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-05/1.192, allocations: 30.94 kB / 1.049 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005472/1.192, allocations: 324 kB / 1.049 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.9e-07/1.192, allocations: 0 / 1.049 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009933/1.193, allocations: 214.8 kB / 1.049 GB, free: 7.754 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.003348/1.197, allocations: 3.854 MB / 1.053 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001565/1.198, allocations: 0.5527 MB / 1.054 GB, free: 3.527 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.198, allocations: 3.812 kB / 1.054 GB, free: 3.527 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/1.2, allocations: 393.4 kB / 1.054 GB, free: 3.277 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000822/1.201, allocations: 68.88 kB / 1.054 GB, free: 3.23 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004388/1.205, allocations: 1.429 MB / 1.055 GB, free: 1.82 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009421/1.206, allocations: 1.08 MB / 1.056 GB, free: 0.7109 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006494/1.207, allocations: 73.05 kB / 1.057 GB, free: 0.6367 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00075/1.207, allocations: 409.4 kB / 1.057 GB, free: 0.5508 MB / 0.6667 GB Notification: Performance of SimCode: time 9.92e-07/1.207, allocations: 0 / 1.057 GB, free: 0.5508 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06408/1.272, allocations: 12.22 MB / 1.069 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003645/1.272, allocations: 194.3 kB / 1.069 GB, free: 4.234 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.89/4.162, allocations: 0 / 1.069 GB, free: 4.234 MB / 0.6823 GB