Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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_8.0.0_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_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.65/2.65, allocations: 287.5 MB / 303.2 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0013/0.0013, allocations: 178.3 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.4 MB / 0.6305 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009236/0.0009232, allocations: 99.84 kB / 0.7438 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004883, allocations: 10.78 kB / 0.8668 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.219, allocations: 115.3 MB / 0.9793 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9205/1.14, allocations: 141.7 MB / 1.118 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/1.14, allocations: 83.55 kB / 1.118 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06392/1.204, allocations: 17.7 MB / 1.135 GB, free: 27.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.865e-06/1.204, allocations: 0 / 1.135 GB, free: 27.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.831e-05/1.204, allocations: 30.81 kB / 1.135 GB, free: 27.49 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: 361 * Number of variables: 361 Notification: Performance of Generate backend data structure: time 0.003292/1.207, allocations: 1.368 MB / 1.136 GB, free: 26.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.207, allocations: 11.5 kB / 1.136 GB, free: 26.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004149/1.208, allocations: 163.7 kB / 1.137 GB, free: 26.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/1.209, allocations: 0.7124 MB / 1.137 GB, free: 25.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/1.209, allocations: 117.1 kB / 1.137 GB, free: 25.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002418/1.21, allocations: 140.8 kB / 1.138 GB, free: 25.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003065/1.213, allocations: 1.153 MB / 1.139 GB, free: 25.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.144e-05/1.213, allocations: 3.938 kB / 1.139 GB, free: 25.72 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/1.213, allocations: 56.66 kB / 1.139 GB, free: 25.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.063e-05/1.213, allocations: 34.81 kB / 1.139 GB, free: 25.72 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002929/1.216, allocations: 0.9885 MB / 1.14 GB, free: 25.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008515/1.225, allocations: 3.488 MB / 1.143 GB, free: 24.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/1.227, allocations: 0.6064 MB / 1.144 GB, free: 24.01 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008925/1.228, allocations: 269.5 kB / 1.144 GB, free: 23.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.294e-05/1.228, allocations: 8.344 kB / 1.144 GB, free: 23.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/1.229, allocations: 441.2 kB / 1.144 GB, free: 23.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 3.797e-06/1.229, allocations: 4 kB / 1.144 GB, free: 23.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.002869/1.232, allocations: 0.905 MB / 1.145 GB, free: 23.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/1.232, allocations: 217.3 kB / 1.145 GB, free: 23.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/1.234, allocations: 1.06 MB / 1.147 GB, free: 23.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002303/1.234, allocations: 47.42 kB / 1.147 GB, free: 23.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005999/1.235, allocations: 0.5528 MB / 1.147 GB, free: 22.78 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/1.235, allocations: 235.3 kB / 1.147 GB, free: 22.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.967e-05/1.235, allocations: 15.91 kB / 1.147 GB, free: 22.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.235, allocations: 337.3 kB / 1.148 GB, free: 22.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009997/1.236, allocations: 296.4 kB / 1.148 GB, free: 22.26 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/1.237, allocations: 401.3 kB / 1.148 GB, free: 22.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/1.239, allocations: 0.5832 MB / 1.149 GB, free: 22.03 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/1.239, allocations: 3.938 kB / 1.149 GB, free: 22.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002484/1.242, allocations: 0.87 MB / 1.15 GB, free: 21.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.131e-05/1.242, allocations: 38.67 kB / 1.15 GB, free: 21.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.242, allocations: 0 / 1.15 GB, free: 21.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/1.242, allocations: 4 kB / 1.15 GB, free: 21.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/1.243, allocations: 134 kB / 1.15 GB, free: 21.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/1.243, allocations: 3.656 kB / 1.15 GB, free: 21.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/1.244, allocations: 213.5 kB / 1.15 GB, free: 21.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/1.244, allocations: 30.02 kB / 1.15 GB, free: 21.66 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,actAirSet_RehBox.not1.y,$PRE.actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox1.not1.y,$PRE.actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox1.greThr.greHys.y,$PRE.winSta.y,winSta.y,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): 94 * Array equations: 0 * Algorithm blocks: 1 * 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.0007928/1.245, allocations: 284.1 kB / 1.15 GB, free: 21.51 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002323/1.246, allocations: 120.3 kB / 1.151 GB, free: 21.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/1.248, allocations: 0.6756 MB / 1.151 GB, free: 21.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/1.248, allocations: 11.39 kB / 1.151 GB, free: 21.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/1.248, allocations: 3.812 kB / 1.151 GB, free: 21.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/1.248, allocations: 3.984 kB / 1.151 GB, free: 21.28 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005362/1.253, allocations: 2.594 MB / 1.154 GB, free: 20.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/1.253, allocations: 12 kB / 1.154 GB, free: 20.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009671/1.254, allocations: 139.3 kB / 1.154 GB, free: 20.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.671e-05/1.254, allocations: 11.5 kB / 1.154 GB, free: 20.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.139e-05/1.254, allocations: 23.06 kB / 1.154 GB, free: 20.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-05/1.254, allocations: 19.52 kB / 1.154 GB, free: 20.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/1.254, allocations: 11.75 kB / 1.154 GB, free: 20.08 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/1.256, allocations: 1.01 MB / 1.155 GB, free: 19.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/1.257, allocations: 231 kB / 1.155 GB, free: 19.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/1.257, allocations: 32.5 kB / 1.155 GB, free: 19.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008531/1.258, allocations: 64.61 kB / 1.155 GB, free: 19.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/1.258, allocations: 86.39 kB / 1.155 GB, free: 19.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.029e-05/1.258, allocations: 33.08 kB / 1.155 GB, free: 19.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001325/1.259, allocations: 0.7006 MB / 1.156 GB, free: 19.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.11e-07/1.26, allocations: 4 kB / 1.156 GB, free: 19.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001097/1.261, allocations: 219.7 kB / 1.156 GB, free: 19.07 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,$whenCondition2,actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox1.greThr.greHys.y,winSta.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 2 (actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox.greThr.greHys.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.000302/1.261, allocations: 149.9 kB / 1.156 GB, free: 18.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002167/1.263, allocations: 0.7559 MB / 1.157 GB, free: 18.81 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/1.263, allocations: 0 / 1.157 GB, free: 18.81 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0014/1.265, allocations: 440.7 kB / 1.158 GB, free: 18.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002831/1.267, allocations: 149.8 kB / 1.158 GB, free: 18.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/1.272, allocations: 2.28 MB / 1.16 GB, free: 17.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008239/1.273, allocations: 1.087 MB / 1.161 GB, free: 16.35 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007594/1.274, allocations: 125 kB / 1.161 GB, free: 16.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003488/1.274, allocations: 75.42 kB / 1.161 GB, free: 16.21 MB / 0.698 GB Notification: Performance of SimCode: time 1.984e-06/1.274, allocations: 3.938 kB / 1.161 GB, free: 16.2 MB / 0.698 GB Notification: Performance of Templates: time 0.02937/1.303, allocations: 8.668 MB / 1.17 GB, free: 7.648 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)