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.595/1.595, allocations: 285.4 MB / 298 MB, free: 6.039 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.001295/0.001295, allocations: 176.8 kB / 366.4 MB, free: 2.105 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.863/1.863, allocations: 205.1 MB / 0.6248 GB, free: 7.773 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.0009225/0.0009225, allocations: 84.62 kB / 0.738 GB, free: 40.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.705e-05/3.715e-05, allocations: 8 kB / 0.8583 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.767/0.7671, allocations: 115.3 MB / 0.9709 GB, free: 78.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1858/0.9529, allocations: 141.7 MB / 1.109 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.9533, allocations: 78.5 kB / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04252/0.9958, allocations: 17.63 MB / 1.127 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.334e-06/0.9959, allocations: 0 / 1.127 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.933e-05/0.9959, allocations: 31.98 kB / 1.127 GB, free: 8.539 MB / 0.7292 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.002004/0.998, allocations: 1.287 MB / 1.128 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.998, allocations: 12.03 kB / 1.128 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002264/0.9982, allocations: 162 kB / 1.128 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.9993, allocations: 0.6919 MB / 1.129 GB, free: 6.289 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.9994, allocations: 118.8 kB / 1.129 GB, free: 6.172 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.9996, allocations: 140 kB / 1.129 GB, free: 6.035 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/1.001, allocations: 1.084 MB / 1.13 GB, free: 4.93 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/1.002, allocations: 4 kB / 1.13 GB, free: 4.926 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.707e-05/1.002, allocations: 60 kB / 1.13 GB, free: 4.867 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/1.002, allocations: 32 kB / 1.13 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/1.003, allocations: 0.9095 MB / 1.131 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00525/1.008, allocations: 3.489 MB / 1.134 GB, free: 380 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/1.01, allocations: 0.5754 MB / 1.135 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003935/1.01, allocations: 243.2 kB / 1.135 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.912e-05/1.01, allocations: 16.77 kB / 1.135 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006607/1.011, allocations: 406 kB / 1.136 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=74): time 3.186e-06/1.011, allocations: 0 / 1.136 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=74): time 0.001092/1.012, allocations: 0.6188 MB / 1.136 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/1.012, allocations: 218.2 kB / 1.136 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/1.013, allocations: 0.9287 MB / 1.137 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.198e-05/1.013, allocations: 45.7 kB / 1.137 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000456/1.014, allocations: 0.5513 MB / 1.138 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000193/1.014, allocations: 238.2 kB / 1.138 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/1.014, allocations: 20 kB / 1.138 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.014, allocations: 333.9 kB / 1.139 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004627/1.015, allocations: 261.6 kB / 1.139 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005364/1.015, allocations: 376.2 kB / 1.139 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004591/1.016, allocations: 287.8 kB / 1.139 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.016, allocations: 0 / 1.139 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001276/1.017, allocations: 0.8129 MB / 1.14 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.639e-05/1.017, allocations: 33.7 kB / 1.14 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.017, allocations: 0 / 1.14 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.017, allocations: 7.984 kB / 1.14 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005651/1.018, allocations: 135.9 kB / 1.14 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/1.018, allocations: 7.984 kB / 1.14 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007043/1.018, allocations: 210.7 kB / 1.141 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.421e-05/1.018, allocations: 31.98 kB / 1.141 GB, free: 9.875 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.0001714/1.019, allocations: 152 kB / 1.141 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/1.019, allocations: 122.5 kB / 1.141 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/1.02, allocations: 0.6302 MB / 1.141 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/1.02, allocations: 8 kB / 1.141 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.02, allocations: 0 / 1.141 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/1.02, allocations: 3.984 kB / 1.141 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003335/1.023, allocations: 2.546 MB / 1.144 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/1.023, allocations: 8 kB / 1.144 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005292/1.024, allocations: 135.8 kB / 1.144 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.798e-05/1.024, allocations: 12.62 kB / 1.144 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.372e-05/1.024, allocations: 27.98 kB / 1.144 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.067e-05/1.024, allocations: 8 kB / 1.144 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/1.024, allocations: 11.94 kB / 1.144 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/1.025, allocations: 1.361 MB / 1.146 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/1.026, allocations: 215.5 kB / 1.146 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/1.026, allocations: 28 kB / 1.146 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004866/1.026, allocations: 63.95 kB / 1.146 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/1.026, allocations: 100.1 kB / 1.146 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/1.026, allocations: 28 kB / 1.146 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0008789/1.027, allocations: 0.6928 MB / 1.147 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.027, allocations: 0 / 1.147 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006757/1.028, allocations: 219.5 kB / 1.147 GB, free: 3.066 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.0002416/1.028, allocations: 140.6 kB / 1.147 GB, free: 2.918 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0012/1.03, allocations: 0.6998 MB / 1.148 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.03, allocations: 4 kB / 1.148 GB, free: 2.199 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007416/1.03, allocations: 423 kB / 1.148 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006516/1.031, allocations: 122.2 kB / 1.148 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/1.033, allocations: 1.449 MB / 1.15 GB, free: 96 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000714/1.034, allocations: 1.112 MB / 1.151 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004214/1.035, allocations: 127.9 kB / 1.151 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/1.035, allocations: 79.36 kB / 1.151 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of SimCode: time 6.51e-07/1.035, allocations: 0 / 1.151 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of Templates: time 0.01642/1.051, allocations: 8.671 MB / 1.159 GB, free: 6.258 MB / 0.7605 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)