Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.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 8.0.1-maint.8.0.x/package.mo): time 1.937/1.937, allocations: 288.3 MB / 303.2 MB, free: 8.117 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.001173/0.001173, allocations: 181 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.832/1.832, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.0009972/0.0009973, allocations: 101.4 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006299/0.0006303, allocations: 15.09 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3262, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8864/1.213, allocations: 141.8 MB / 1.118 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/1.213, allocations: 79.17 kB / 1.118 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03773/1.251, allocations: 17.65 MB / 1.135 GB, free: 27.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.374e-06/1.251, allocations: 0 / 1.135 GB, free: 27.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.419e-05/1.251, allocations: 30.55 kB / 1.135 GB, free: 27.54 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.001994/1.253, allocations: 1.386 MB / 1.137 GB, free: 26.58 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/1.253, allocations: 15.45 kB / 1.137 GB, free: 26.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/1.253, allocations: 163.7 kB / 1.137 GB, free: 26.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009065/1.254, allocations: 0.694 MB / 1.138 GB, free: 26.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.994e-05/1.254, allocations: 112.6 kB / 1.138 GB, free: 26.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/1.254, allocations: 146.4 kB / 1.138 GB, free: 26.06 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/1.256, allocations: 1.138 MB / 1.139 GB, free: 25.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/1.256, allocations: 0 / 1.139 GB, free: 25.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/1.256, allocations: 60.72 kB / 1.139 GB, free: 25.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.107e-05/1.256, allocations: 38.45 kB / 1.139 GB, free: 25.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/1.258, allocations: 0.9836 MB / 1.14 GB, free: 25.67 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005012/1.263, allocations: 3.484 MB / 1.143 GB, free: 24.17 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/1.264, allocations: 0.6069 MB / 1.144 GB, free: 24.08 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.721e-05/1.264, allocations: 12.28 kB / 1.144 GB, free: 24.08 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006753/1.265, allocations: 443.7 kB / 1.144 GB, free: 23.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 2.565e-06/1.265, allocations: 0 / 1.144 GB, free: 23.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.001553/1.266, allocations: 0.8988 MB / 1.145 GB, free: 23.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/1.266, allocations: 221.8 kB / 1.145 GB, free: 23.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000979/1.267, allocations: 0.9462 MB / 1.146 GB, free: 23.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.376e-05/1.267, allocations: 48.86 kB / 1.146 GB, free: 23.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/1.268, allocations: 0.5518 MB / 1.147 GB, free: 22.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/1.268, allocations: 237 kB / 1.147 GB, free: 22.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/1.268, allocations: 19.09 kB / 1.147 GB, free: 22.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.268, allocations: 337.7 kB / 1.148 GB, free: 22.42 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005123/1.269, allocations: 293.8 kB / 1.148 GB, free: 22.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005531/1.269, allocations: 394.4 kB / 1.148 GB, free: 22.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005306/1.27, allocations: 327.5 kB / 1.148 GB, free: 22.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.27, allocations: 0 / 1.148 GB, free: 22.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00141/1.271, allocations: 0.8649 MB / 1.149 GB, free: 22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.014e-05/1.271, allocations: 40.88 kB / 1.149 GB, free: 21.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/1.271, allocations: 3.844 kB / 1.149 GB, free: 21.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/1.271, allocations: 3.875 kB / 1.149 GB, free: 21.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005194/1.272, allocations: 127.4 kB / 1.149 GB, free: 21.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/1.272, allocations: 3.844 kB / 1.149 GB, free: 21.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006693/1.273, allocations: 202.1 kB / 1.15 GB, free: 21.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.846e-05/1.273, allocations: 33.83 kB / 1.15 GB, free: 21.84 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.0005053/1.273, allocations: 276.7 kB / 1.15 GB, free: 21.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/1.273, allocations: 119.8 kB / 1.15 GB, free: 21.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/1.274, allocations: 0.6836 MB / 1.151 GB, free: 21.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/1.274, allocations: 7.531 kB / 1.151 GB, free: 21.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/1.274, allocations: 3.688 kB / 1.151 GB, free: 21.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/1.274, allocations: 3.984 kB / 1.151 GB, free: 21.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/1.277, allocations: 2.601 MB / 1.153 GB, free: 20.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/1.277, allocations: 3.844 kB / 1.153 GB, free: 20.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004581/1.278, allocations: 138.5 kB / 1.153 GB, free: 20.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/1.278, allocations: 11.53 kB / 1.153 GB, free: 20.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/1.278, allocations: 27.08 kB / 1.153 GB, free: 20.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/1.278, allocations: 12.28 kB / 1.154 GB, free: 20.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.278, allocations: 11.62 kB / 1.154 GB, free: 20.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/1.279, allocations: 1.403 MB / 1.155 GB, free: 19.24 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/1.279, allocations: 225.6 kB / 1.155 GB, free: 19.06 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/1.28, allocations: 31.66 kB / 1.155 GB, free: 19.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000456/1.28, allocations: 63.73 kB / 1.155 GB, free: 19.04 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/1.28, allocations: 94.92 kB / 1.155 GB, free: 19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/1.28, allocations: 34.83 kB / 1.155 GB, free: 18.99 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008326/1.281, allocations: 0.7043 MB / 1.156 GB, free: 18.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/1.281, allocations: 0 / 1.156 GB, free: 18.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007402/1.282, allocations: 220.9 kB / 1.156 GB, free: 18.76 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.0002388/1.282, allocations: 151.9 kB / 1.156 GB, free: 18.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001273/1.283, allocations: 0.7526 MB / 1.157 GB, free: 18.49 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/1.283, allocations: 0 / 1.157 GB, free: 18.49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007553/1.284, allocations: 445.5 kB / 1.158 GB, free: 18.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006599/1.285, allocations: 129.8 kB / 1.158 GB, free: 18.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/1.288, allocations: 2.28 MB / 1.16 GB, free: 16.56 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/1.288, allocations: 1.109 MB / 1.161 GB, free: 15.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004126/1.289, allocations: 123.9 kB / 1.161 GB, free: 15.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/1.289, allocations: 75.42 kB / 1.161 GB, free: 15.23 MB / 0.698 GB Notification: Performance of SimCode: time 1.713e-06/1.289, allocations: 0 / 1.161 GB, free: 15.23 MB / 0.698 GB Notification: Performance of Templates: time 0.01807/1.307, allocations: 8.661 MB / 1.17 GB, free: 6.707 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)