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: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.302/1.302, allocations: 252 MB / 267.9 MB, free: 10.92 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.0009304/0.0009305, allocations: 180 kB / 327.6 MB, free: 2.168 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.553/1.553, allocations: 205.4 MB / 0.5785 GB, free: 20.51 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.0008588/0.0008589, allocations: 87.62 kB / 0.6831 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.000395, allocations: 13 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1865, allocations: 106.3 MB / 0.9013 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1577/0.3443, allocations: 135.8 MB / 1.034 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.3445, allocations: 83.92 kB / 1.034 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03574/0.3803, allocations: 15.59 MB / 1.049 GB, free: 8.332 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.245e-06/0.3804, allocations: 4 kB / 1.049 GB, free: 8.328 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.66e-05/0.3804, allocations: 32 kB / 1.049 GB, free: 8.297 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.002508/0.383, allocations: 1.273 MB / 1.051 GB, free: 6.965 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.383, allocations: 8.031 kB / 1.051 GB, free: 6.957 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003261/0.3833, allocations: 159.1 kB / 1.051 GB, free: 6.801 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008454/0.3842, allocations: 0.581 MB / 1.051 GB, free: 6.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.3843, allocations: 111.1 kB / 1.051 GB, free: 6.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.3845, allocations: 136.4 kB / 1.051 GB, free: 5.938 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.3867, allocations: 1.103 MB / 1.053 GB, free: 4.812 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.3867, allocations: 192 / 1.053 GB, free: 4.812 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.45e-05/0.3868, allocations: 59.94 kB / 1.053 GB, free: 4.754 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.3868, allocations: 35.98 kB / 1.053 GB, free: 4.719 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.3887, allocations: 0.9634 MB / 1.054 GB, free: 3.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005478/0.3942, allocations: 3.328 MB / 1.057 GB, free: 368 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3499/0.7441, allocations: 0.607 MB / 1.057 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006748/0.7448, allocations: 273.8 kB / 1.058 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.451e-05/0.7449, allocations: 9.891 kB / 1.058 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008599/0.7458, allocations: 434.9 kB / 1.058 GB, free: 142.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 4.118e-06/0.7458, allocations: 1.312 kB / 1.058 GB, free: 142.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.001693/0.7475, allocations: 0.8902 MB / 1.059 GB, free: 142.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.7476, allocations: 215.5 kB / 1.059 GB, free: 142.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.7488, allocations: 0.9755 MB / 1.06 GB, free: 142.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.587e-05/0.7489, allocations: 44.05 kB / 1.06 GB, free: 142.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/0.7492, allocations: 0.5087 MB / 1.061 GB, free: 141.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.7494, allocations: 243.5 kB / 1.061 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.7494, allocations: 19.28 kB / 1.061 GB, free: 141.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.126e-05/0.7495, allocations: 338.3 kB / 1.061 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/0.75, allocations: 266.9 kB / 1.061 GB, free: 141.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005322/0.7505, allocations: 373 kB / 1.062 GB, free: 141.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008721/0.7514, allocations: 0.5235 MB / 1.062 GB, free: 141.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7514, allocations: 0 / 1.062 GB, free: 141.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001246/0.7527, allocations: 0.7661 MB / 1.063 GB, free: 141.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.7527, allocations: 5.5 kB / 1.063 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.7527, allocations: 0 / 1.063 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.7528, allocations: 4.25 kB / 1.063 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005019/0.7533, allocations: 136.6 kB / 1.063 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.7533, allocations: 3.25 kB / 1.063 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005776/0.7539, allocations: 185.3 kB / 1.063 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.7539, allocations: 28.53 kB / 1.063 GB, free: 141.3 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.0003747/0.7543, allocations: 259.7 kB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.7545, allocations: 101.5 kB / 1.064 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.7556, allocations: 0.6695 MB / 1.064 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.7556, allocations: 12.42 kB / 1.064 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.7556, allocations: 0 / 1.064 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.7556, allocations: 13.53 kB / 1.064 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003476/0.7591, allocations: 2.544 MB / 1.067 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/0.7591, allocations: 6.875 kB / 1.067 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000532/0.7597, allocations: 136.7 kB / 1.067 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.041e-05/0.7597, allocations: 10.47 kB / 1.067 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.947e-05/0.7598, allocations: 25.12 kB / 1.067 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.711e-05/0.7598, allocations: 14.56 kB / 1.067 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/0.7598, allocations: 17.84 kB / 1.067 GB, free: 140.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.7614, allocations: 1.01 MB / 1.068 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/0.7616, allocations: 212.6 kB / 1.068 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.7618, allocations: 26.98 kB / 1.068 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005532/0.7623, allocations: 76.53 kB / 1.068 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002135/0.7626, allocations: 94.61 kB / 1.069 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-05/0.7626, allocations: 33.31 kB / 1.069 GB, free: 139.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0011/0.7637, allocations: 0.6472 MB / 1.069 GB, free: 139.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7637, allocations: 0.8125 kB / 1.069 GB, free: 139.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007667/0.7645, allocations: 205 kB / 1.069 GB, free: 139.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.0002039/0.7647, allocations: 140.4 kB / 1.07 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00142/0.7662, allocations: 0.6516 MB / 1.07 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.7662, allocations: 0.9688 kB / 1.07 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009457/0.7671, allocations: 443.4 kB / 1.071 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.7688, allocations: 124 kB / 1.071 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/0.7722, allocations: 2.16 MB / 1.073 GB, free: 138.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007604/0.7729, allocations: 1.061 MB / 1.074 GB, free: 137.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004925/0.7734, allocations: 112.2 kB / 1.074 GB, free: 137.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/0.7737, allocations: 78.7 kB / 1.074 GB, free: 137.3 MB / 0.698 GB Notification: Performance of SimCode: time 4.11e-07/0.7737, allocations: 0 / 1.074 GB, free: 137.3 MB / 0.698 GB Notification: Performance of Templates: time 0.01683/0.7905, allocations: 7.529 MB / 1.081 GB, free: 136.9 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)