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.25/2.25, allocations: 251 MB / 265.9 MB, free: 11.69 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.001628/0.001628, allocations: 167.5 kB / 325.5 MB, free: 2.91 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.466/2.466, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.001135/0.001134, allocations: 89.62 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004658/0.000466, allocations: 11.19 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2316, allocations: 106.3 MB / 0.8989 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2446/0.4763, allocations: 135.6 MB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003399/0.4767, allocations: 79.94 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06362/0.5404, allocations: 15.57 MB / 1.047 GB, free: 9.949 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.276e-06/0.5404, allocations: 0 / 1.047 GB, free: 9.949 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.579e-05/0.5406, allocations: 28 kB / 1.047 GB, free: 9.922 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.004072/0.5446, allocations: 1.294 MB / 1.048 GB, free: 8.574 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.5447, allocations: 16.02 kB / 1.048 GB, free: 8.559 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006132/0.5453, allocations: 198.8 kB / 1.048 GB, free: 8.355 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003845/0.5457, allocations: 150.2 kB / 1.048 GB, free: 8.207 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.5472, allocations: 0.5646 MB / 1.049 GB, free: 7.602 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/0.5475, allocations: 110.7 kB / 1.049 GB, free: 7.492 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003152/0.5478, allocations: 132 kB / 1.049 GB, free: 7.363 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00383/0.5516, allocations: 1.098 MB / 1.05 GB, free: 6.242 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.989e-05/0.5517, allocations: 4 kB / 1.05 GB, free: 6.238 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001884/0.5519, allocations: 59.94 kB / 1.05 GB, free: 6.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.205e-05/0.552, allocations: 32 kB / 1.05 GB, free: 6.148 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003737/0.5557, allocations: 0.9634 MB / 1.051 GB, free: 5.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01012/0.5659, allocations: 3.327 MB / 1.054 GB, free: 1.789 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/0.5683, allocations: 0.6124 MB / 1.055 GB, free: 1.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.5685, allocations: 8.656 kB / 1.055 GB, free: 1.152 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001429/0.5699, allocations: 423.6 kB / 1.055 GB, free: 0.707 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 4.819e-06/0.57, allocations: 0 / 1.055 GB, free: 0.707 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.6234/1.193, allocations: 0.8876 MB / 1.056 GB, free: 143.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/1.194, allocations: 217.5 kB / 1.056 GB, free: 143.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/1.195, allocations: 0.8712 MB / 1.057 GB, free: 143.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001995/1.196, allocations: 41.8 kB / 1.057 GB, free: 143.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005293/1.196, allocations: 0.5058 MB / 1.058 GB, free: 143.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002821/1.197, allocations: 239.7 kB / 1.058 GB, free: 143.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/1.197, allocations: 16.19 kB / 1.058 GB, free: 143.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.544e-05/1.197, allocations: 341.2 kB / 1.058 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009396/1.198, allocations: 269.2 kB / 1.059 GB, free: 142.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009757/1.199, allocations: 368.2 kB / 1.059 GB, free: 142.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009274/1.2, allocations: 274.3 kB / 1.059 GB, free: 142.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/1.2, allocations: 2.875 kB / 1.059 GB, free: 142.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002334/1.202, allocations: 0.7615 MB / 1.06 GB, free: 142.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/1.202, allocations: 12.91 kB / 1.06 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.202, allocations: 0 / 1.06 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/1.202, allocations: 3.094 kB / 1.06 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/1.203, allocations: 133 kB / 1.06 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/1.203, allocations: 3 kB / 1.06 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/1.204, allocations: 186.7 kB / 1.06 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.941e-05/1.205, allocations: 26.39 kB / 1.06 GB, free: 142.7 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.0006493/1.205, allocations: 257.4 kB / 1.061 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/1.205, allocations: 106.2 kB / 1.061 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/1.208, allocations: 0.6688 MB / 1.061 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/1.208, allocations: 8.75 kB / 1.061 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/1.208, allocations: 7.266 kB / 1.061 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/1.208, allocations: 6.906 kB / 1.061 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005942/1.214, allocations: 2.546 MB / 1.064 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/1.214, allocations: 5.906 kB / 1.064 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/1.215, allocations: 142 kB / 1.064 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-05/1.215, allocations: 12.22 kB / 1.064 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.473e-05/1.215, allocations: 23.81 kB / 1.064 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.807e-05/1.215, allocations: 17.14 kB / 1.064 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.168e-05/1.215, allocations: 12.97 kB / 1.064 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/1.217, allocations: 1.368 MB / 1.065 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003713/1.218, allocations: 216.1 kB / 1.066 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/1.218, allocations: 30.14 kB / 1.066 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009906/1.219, allocations: 77.14 kB / 1.066 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003206/1.219, allocations: 88.75 kB / 1.066 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.639e-05/1.22, allocations: 32.75 kB / 1.066 GB, free: 140.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001497/1.221, allocations: 0.6492 MB / 1.066 GB, free: 140.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.91e-07/1.221, allocations: 0 / 1.066 GB, free: 140.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001224/1.222, allocations: 200.7 kB / 1.067 GB, free: 140.5 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.003642/1.226, allocations: 4.009 MB / 1.071 GB, free: 137 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00242/1.229, allocations: 0.6521 MB / 1.071 GB, free: 136.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.534e-05/1.229, allocations: 2.234 kB / 1.071 GB, free: 136.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001765/1.23, allocations: 443.8 kB / 1.072 GB, free: 136.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/1.231, allocations: 105 kB / 1.072 GB, free: 136.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/1.249, allocations: 6.207 MB / 1.078 GB, free: 134.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008892/1.25, allocations: 1.083 MB / 1.079 GB, free: 133.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008106/1.251, allocations: 112.1 kB / 1.079 GB, free: 133.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009307/1.252, allocations: 444.1 kB / 1.079 GB, free: 133.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.813e-06/1.252, allocations: 0 / 1.079 GB, free: 133.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0578/1.31, allocations: 16.87 MB / 1.096 GB, free: 132.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002541/1.31, allocations: 226.2 kB / 1.096 GB, free: 131.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.177/4.488, allocations: 0 / 1.096 GB, free: 131.9 MB / 0.698 GB