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.618/1.618, allocations: 288.4 MB / 304.3 MB, free: 8.102 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.001021/0.001021, allocations: 180.5 kB / 373 MB, free: 10.16 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.639/1.639, allocations: 205.4 MB / 0.6317 GB, free: 9.891 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.0007981/0.0007981, allocations: 94.34 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003687, allocations: 10.91 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2037, allocations: 115.3 MB / 0.9808 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6745/0.8783, allocations: 141.8 MB / 1.119 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.8786, allocations: 79.53 kB / 1.119 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03715/0.9158, allocations: 17.69 MB / 1.137 GB, free: 27.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9158, allocations: 0 / 1.137 GB, free: 27.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.013e-05/0.9159, allocations: 26.75 kB / 1.137 GB, free: 27.55 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.001898/0.9178, allocations: 1.376 MB / 1.138 GB, free: 26.58 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.9178, allocations: 11.53 kB / 1.138 GB, free: 26.58 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.918, allocations: 164 kB / 1.138 GB, free: 26.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000864/0.9189, allocations: 0.7048 MB / 1.139 GB, free: 26.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-05/0.919, allocations: 121 kB / 1.139 GB, free: 26.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.9191, allocations: 142.2 kB / 1.139 GB, free: 26.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.9208, allocations: 1.147 MB / 1.14 GB, free: 25.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.9209, allocations: 3.938 kB / 1.14 GB, free: 25.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.554e-05/0.921, allocations: 56.59 kB / 1.14 GB, free: 25.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.921, allocations: 38.53 kB / 1.14 GB, free: 25.78 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/0.9226, allocations: 0.9879 MB / 1.141 GB, free: 25.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004434/0.927, allocations: 3.494 MB / 1.145 GB, free: 24.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.9281, allocations: 0.5977 MB / 1.145 GB, free: 24.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000421/0.9285, allocations: 280.9 kB / 1.146 GB, free: 24.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.843e-05/0.9286, allocations: 8.188 kB / 1.146 GB, free: 24.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000676/0.9293, allocations: 443.9 kB / 1.146 GB, free: 23.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 3.266e-06/0.9293, allocations: 0 / 1.146 GB, free: 23.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.001545/0.9308, allocations: 0.9023 MB / 1.147 GB, free: 23.67 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.9309, allocations: 217.7 kB / 1.147 GB, free: 23.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.932, allocations: 1.067 MB / 1.148 GB, free: 23.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.941e-05/0.932, allocations: 41.2 kB / 1.148 GB, free: 23.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.9323, allocations: 0.5529 MB / 1.149 GB, free: 22.83 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.9325, allocations: 242.4 kB / 1.149 GB, free: 22.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.9325, allocations: 18.16 kB / 1.149 GB, free: 22.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.9327, allocations: 339.5 kB / 1.149 GB, free: 22.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005235/0.9332, allocations: 291.5 kB / 1.15 GB, free: 22.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/0.9338, allocations: 401.2 kB / 1.15 GB, free: 22.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009357/0.9347, allocations: 0.5804 MB / 1.15 GB, free: 22.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.9347, allocations: 3.938 kB / 1.15 GB, free: 22.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001294/0.936, allocations: 0.8613 MB / 1.151 GB, free: 21.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.146e-05/0.9361, allocations: 45.03 kB / 1.151 GB, free: 21.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.9361, allocations: 0 / 1.151 GB, free: 21.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.9361, allocations: 3.812 kB / 1.151 GB, free: 21.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005014/0.9366, allocations: 138.8 kB / 1.152 GB, free: 21.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.9367, allocations: 3.844 kB / 1.152 GB, free: 21.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006514/0.9373, allocations: 205.3 kB / 1.152 GB, free: 21.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.536e-05/0.9374, allocations: 26.41 kB / 1.152 GB, free: 21.71 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.0004274/0.9378, allocations: 278.8 kB / 1.152 GB, free: 21.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.938, allocations: 120 kB / 1.152 GB, free: 21.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.9391, allocations: 0.6771 MB / 1.153 GB, free: 21.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.9391, allocations: 11.62 kB / 1.153 GB, free: 21.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.9391, allocations: 0 / 1.153 GB, free: 21.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.9392, allocations: 3.984 kB / 1.153 GB, free: 21.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002888/0.9421, allocations: 2.602 MB / 1.155 GB, free: 20.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.9421, allocations: 7.656 kB / 1.155 GB, free: 20.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004458/0.9425, allocations: 138.1 kB / 1.155 GB, free: 20.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.9425, allocations: 11.5 kB / 1.155 GB, free: 20.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/0.9426, allocations: 28.95 kB / 1.156 GB, free: 20.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/0.9426, allocations: 16 kB / 1.156 GB, free: 20.15 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.9426, allocations: 7.844 kB / 1.156 GB, free: 20.15 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.9438, allocations: 1.019 MB / 1.157 GB, free: 19.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.9439, allocations: 236.5 kB / 1.157 GB, free: 19.42 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.9441, allocations: 26.22 kB / 1.157 GB, free: 19.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000482/0.9445, allocations: 71.42 kB / 1.157 GB, free: 19.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.9447, allocations: 94.08 kB / 1.157 GB, free: 19.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-05/0.9447, allocations: 26.75 kB / 1.157 GB, free: 19.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007258/0.9455, allocations: 0.7052 MB / 1.158 GB, free: 19.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9455, allocations: 3.969 kB / 1.158 GB, free: 19.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000633/0.9461, allocations: 218.2 kB / 1.158 GB, free: 19.12 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.000211/0.9463, allocations: 146.1 kB / 1.158 GB, free: 19.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001134/0.9475, allocations: 0.7562 MB / 1.159 GB, free: 18.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.9475, allocations: 0 / 1.159 GB, free: 18.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007101/0.9482, allocations: 442.7 kB / 1.159 GB, free: 18.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.9499, allocations: 152.4 kB / 1.159 GB, free: 18.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.9524, allocations: 2.277 MB / 1.162 GB, free: 16.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/0.9529, allocations: 1.081 MB / 1.163 GB, free: 15.17 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003912/0.9533, allocations: 123.9 kB / 1.163 GB, free: 15.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.9535, allocations: 78.67 kB / 1.163 GB, free: 14.97 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/0.9535, allocations: 0 / 1.163 GB, free: 14.97 MB / 0.698 GB Notification: Performance of Templates: time 0.01619/0.9697, allocations: 8.744 MB / 1.171 GB, free: 6.367 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)