Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.683/1.683, allocations: 289.7 MB / 302.2 MB, free: 2.219 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.001119/0.001119, allocations: 178.4 kB / 371.6 MB, free: 3.363 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.84/1.84, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009019/0.000902, allocations: 89.53 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.15e-05/4.164e-05, allocations: 4 kB / 0.8663 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2903, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8997/1.19, allocations: 142.7 MB / 1.119 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/1.19, allocations: 75.95 kB / 1.119 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03938/1.23, allocations: 17.61 MB / 1.136 GB, free: 33.29 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.583e-06/1.23, allocations: 0.75 kB / 1.136 GB, free: 33.29 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.197e-05/1.23, allocations: 32 kB / 1.137 GB, free: 33.26 MB / 0.7448 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.001918/1.232, allocations: 1.292 MB / 1.138 GB, free: 32.16 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/1.232, allocations: 8.031 kB / 1.138 GB, free: 32.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/1.232, allocations: 164.4 kB / 1.138 GB, free: 32 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/1.233, allocations: 0.6833 MB / 1.139 GB, free: 31.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.84e-05/1.233, allocations: 121 kB / 1.139 GB, free: 31.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/1.233, allocations: 146.7 kB / 1.139 GB, free: 31.33 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/1.235, allocations: 1.085 MB / 1.14 GB, free: 30.72 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/1.235, allocations: 0 / 1.14 GB, free: 30.72 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-05/1.235, allocations: 57.69 kB / 1.14 GB, free: 30.71 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/1.235, allocations: 36 kB / 1.14 GB, free: 30.68 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/1.237, allocations: 0.9075 MB / 1.141 GB, free: 30.12 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005463/1.242, allocations: 3.499 MB / 1.144 GB, free: 28.29 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/1.243, allocations: 0.5738 MB / 1.145 GB, free: 27.95 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/1.244, allocations: 243.5 kB / 1.145 GB, free: 27.82 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.757e-05/1.244, allocations: 18.08 kB / 1.145 GB, free: 27.8 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006206/1.244, allocations: 406.3 kB / 1.146 GB, free: 27.54 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=74): time 3.136e-06/1.244, allocations: 3.984 kB / 1.146 GB, free: 27.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=74): time 0.001017/1.245, allocations: 0.6152 MB / 1.146 GB, free: 27.11 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/1.245, allocations: 226.2 kB / 1.146 GB, free: 26.85 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/1.246, allocations: 0.9233 MB / 1.147 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.372e-05/1.247, allocations: 47.75 kB / 1.147 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003943/1.247, allocations: 0.5495 MB / 1.148 GB, free: 25.92 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/1.247, allocations: 240 kB / 1.148 GB, free: 25.73 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/1.247, allocations: 15.06 kB / 1.148 GB, free: 25.73 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.772e-05/1.247, allocations: 337.9 kB / 1.148 GB, free: 25.42 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000403/1.248, allocations: 262.8 kB / 1.149 GB, free: 25.27 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/1.248, allocations: 374.1 kB / 1.149 GB, free: 25.02 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/1.249, allocations: 284.3 kB / 1.149 GB, free: 24.85 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.249, allocations: 4 kB / 1.149 GB, free: 24.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00115/1.25, allocations: 0.8051 MB / 1.15 GB, free: 24.29 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/1.25, allocations: 39.25 kB / 1.15 GB, free: 24.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.25, allocations: 0.75 kB / 1.15 GB, free: 24.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/1.25, allocations: 4 kB / 1.15 GB, free: 24.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005567/1.25, allocations: 127.8 kB / 1.15 GB, free: 24.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/1.25, allocations: 4 kB / 1.15 GB, free: 24.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007445/1.251, allocations: 209.5 kB / 1.15 GB, free: 23.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-05/1.251, allocations: 29.14 kB / 1.15 GB, free: 23.95 MB / 0.7448 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 () * 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.0001659/1.251, allocations: 161.8 kB / 1.151 GB, free: 23.81 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/1.252, allocations: 119 kB / 1.151 GB, free: 23.69 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/1.253, allocations: 0.6228 MB / 1.151 GB, free: 23.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/1.253, allocations: 12 kB / 1.151 GB, free: 23.33 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.253, allocations: 0.6094 kB / 1.151 GB, free: 23.33 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/1.253, allocations: 3.797 kB / 1.151 GB, free: 23.33 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/1.256, allocations: 2.557 MB / 1.154 GB, free: 21.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/1.256, allocations: 8 kB / 1.154 GB, free: 21.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005083/1.256, allocations: 133.2 kB / 1.154 GB, free: 21.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.289e-05/1.256, allocations: 8 kB / 1.154 GB, free: 21.59 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.877e-05/1.257, allocations: 32.06 kB / 1.154 GB, free: 21.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.158e-05/1.257, allocations: 17.34 kB / 1.154 GB, free: 21.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/1.257, allocations: 13.48 kB / 1.154 GB, free: 21.54 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/1.258, allocations: 1.356 MB / 1.155 GB, free: 20.2 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/1.258, allocations: 217.6 kB / 1.156 GB, free: 20 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/1.258, allocations: 24.62 kB / 1.156 GB, free: 19.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005216/1.259, allocations: 72.5 kB / 1.156 GB, free: 19.95 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/1.259, allocations: 91.06 kB / 1.156 GB, free: 19.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-05/1.259, allocations: 32.64 kB / 1.156 GB, free: 19.87 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000849/1.26, allocations: 0.6876 MB / 1.156 GB, free: 19.41 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.3e-07/1.26, allocations: 1.031 kB / 1.156 GB, free: 19.41 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007046/1.261, allocations: 217.7 kB / 1.157 GB, free: 19.22 MB / 0.7448 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) * 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.0002188/1.261, allocations: 155.3 kB / 1.157 GB, free: 19.08 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001024/1.262, allocations: 0.6993 MB / 1.157 GB, free: 18.61 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.262, allocations: 0 / 1.157 GB, free: 18.61 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006469/1.262, allocations: 419.5 kB / 1.158 GB, free: 18.35 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006604/1.263, allocations: 131.8 kB / 1.158 GB, free: 18.29 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/1.265, allocations: 1.448 MB / 1.159 GB, free: 17 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006203/1.266, allocations: 1.11 MB / 1.161 GB, free: 16.04 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004374/1.267, allocations: 124.7 kB / 1.161 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/1.267, allocations: 74.77 kB / 1.161 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/1.267, allocations: 0.75 kB / 1.161 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of Templates: time 0.01777/1.285, allocations: 8.661 MB / 1.169 GB, free: 10.66 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)