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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 104.1 kB / 16.36 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 192.6 kB / 17.3 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.799/1.799, allocations: 292.3 MB / 0.5496 GB, free: 17.41 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002615/0.002615, allocations: 71.91 kB / 0.673 GB, free: 5.773 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2337, allocations: 114.5 MB / 0.7848 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.3801/0.6138, allocations: 4.162 MB / 0.7889 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003253/0.6171, allocations: 2.301 MB / 0.7912 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006744/0.6178, allocations: 31.72 kB / 0.7912 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005266/0.6183, allocations: 208.9 kB / 0.7914 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.6187, allocations: 140.8 kB / 0.7915 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.6199, allocations: 0.6474 MB / 0.7921 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001267/0.6212, allocations: 1.57 MB / 0.7937 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.6223, allocations: 1.026 MB / 0.7947 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000476/0.6228, allocations: 0.5645 MB / 0.7952 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004311/0.6232, allocations: 0.6338 MB / 0.7959 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002201/0.6235, allocations: 182.3 kB / 0.796 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.6237, allocations: 199.4 kB / 0.7962 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.6239, allocations: 358.6 kB / 0.7966 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003922/0.6243, allocations: 0.6957 MB / 0.7972 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001773/0.6261, allocations: 2.238 MB / 0.7994 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6261, allocations: 1.969 kB / 0.7994 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.684e-06/0.6261, allocations: 3.438 kB / 0.7994 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.192e-05/0.6261, allocations: 0 / 0.7994 GB, free: 43.41 MB / 0.6544 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.002384/0.6285, allocations: 1.594 MB / 0.801 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.6286, allocations: 9.125 kB / 0.801 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002197/0.6288, allocations: 159.1 kB / 0.8011 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000939/0.6298, allocations: 0.7413 MB / 0.8019 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.032e-05/0.6298, allocations: 120 kB / 0.802 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.63, allocations: 142.2 kB / 0.8021 GB, free: 41.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002064/0.6321, allocations: 1.136 MB / 0.8032 GB, free: 41.18 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.6321, allocations: 192 / 0.8032 GB, free: 41.18 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.756e-05/0.6322, allocations: 64.81 kB / 0.8033 GB, free: 41.12 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-05/0.6323, allocations: 33.56 kB / 0.8033 GB, free: 41.12 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.6341, allocations: 0.9749 MB / 0.8043 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005246/0.6394, allocations: 3.202 MB / 0.8074 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.6406, allocations: 0.5645 MB / 0.808 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005191/0.6412, allocations: 261.3 kB / 0.8082 GB, free: 38.87 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.087e-05/0.6412, allocations: 14.34 kB / 0.8082 GB, free: 38.87 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007625/0.642, allocations: 399.4 kB / 0.8086 GB, free: 38.66 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=74): time 2.685e-06/0.642, allocations: 0.5938 kB / 0.8086 GB, free: 38.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74): time 0.00175/0.6438, allocations: 0.8416 MB / 0.8094 GB, free: 38.3 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.6438, allocations: 164.4 kB / 0.8096 GB, free: 38.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.6451, allocations: 0.8925 MB / 0.8104 GB, free: 37.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.777e-05/0.6451, allocations: 44.62 kB / 0.8105 GB, free: 37.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003944/0.6456, allocations: 0.5936 MB / 0.8111 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.6457, allocations: 247.6 kB / 0.8113 GB, free: 37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003066/0.646, allocations: 210.6 kB / 0.8115 GB, free: 36.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.031e-05/0.6461, allocations: 341.5 kB / 0.8118 GB, free: 36.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006099/0.6467, allocations: 291.4 kB / 0.8121 GB, free: 36.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000732/0.6475, allocations: 0.5079 MB / 0.8126 GB, free: 36.11 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.6486, allocations: 0.7513 MB / 0.8133 GB, free: 35.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.6486, allocations: 1.125 kB / 0.8133 GB, free: 35.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00166/0.6503, allocations: 0.9643 MB / 0.8143 GB, free: 35.15 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/0.6503, allocations: 42.11 kB / 0.8143 GB, free: 35.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.6503, allocations: 5.531 kB / 0.8143 GB, free: 35.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.903e-05/0.6504, allocations: 11.97 kB / 0.8143 GB, free: 35.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/0.651, allocations: 172.2 kB / 0.8145 GB, free: 35.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.651, allocations: 15.48 kB / 0.8145 GB, free: 35.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007501/0.6518, allocations: 188.1 kB / 0.8147 GB, free: 35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.619e-05/0.6519, allocations: 40.88 kB / 0.8147 GB, free: 35 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition1,$whenCondition2,actAirSet_RehBox1.conInt4.y,actAirSet_RehBox1.conInt3.y,actAirSet_RehBox1.conInt2.y,actAirSet_RehBox1.conInt1.y,actAirSet_RehBox1.conInt.y,actAirSet_RehBox.conInt4.y,actAirSet_RehBox.conInt3.y,actAirSet_RehBox.conInt2.y,actAirSet_RehBox.conInt1.y,actAirSet_RehBox.conInt.y,actAirSet_RehBox.gre.y,actAirSet_RehBox.greThr1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox1.gre.y,actAirSet_RehBox1.greThr1.y,actAirSet_RehBox1.swi3.u2,actAirSet_RehBox1.intEqu1.y,actAirSet_RehBox1.intEqu2.y,actAirSet_RehBox1.intEqu3.y,actAirSet_RehBox1.intEqu4.y,winSta.y,$PRE.winSta.y,actAirSet_RehBox1.greThr.greHys.y,$PRE.actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox.greThr.greHys.y,$PRE.actAirSet_RehBox.greThr.greHys.y,actAirSet_RehBox.not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004159/0.6523, allocations: 292.4 kB / 0.815 GB, free: 34.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.6524, allocations: 105.8 kB / 0.8151 GB, free: 34.71 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.6537, allocations: 0.6302 MB / 0.8157 GB, free: 34.42 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.6538, allocations: 9.125 kB / 0.8157 GB, free: 34.42 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.6538, allocations: 0 / 0.8157 GB, free: 34.42 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.6538, allocations: 9.766 kB / 0.8157 GB, free: 34.42 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003292/0.6571, allocations: 2.432 MB / 0.8181 GB, free: 32.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.6571, allocations: 7.531 kB / 0.8181 GB, free: 32.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005044/0.6576, allocations: 133.3 kB / 0.8183 GB, free: 32.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.497e-05/0.6576, allocations: 14.09 kB / 0.8183 GB, free: 32.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/0.6577, allocations: 25 kB / 0.8183 GB, free: 32.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/0.6577, allocations: 15.27 kB / 0.8183 GB, free: 32.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.6577, allocations: 8.297 kB / 0.8183 GB, free: 32.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.659, allocations: 0.9604 MB / 0.8193 GB, free: 32.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.6592, allocations: 202.6 kB / 0.8195 GB, free: 32.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.6593, allocations: 31.36 kB / 0.8195 GB, free: 32.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004462/0.6598, allocations: 43.56 kB / 0.8195 GB, free: 32.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.66, allocations: 92.23 kB / 0.8196 GB, free: 32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/0.66, allocations: 29.56 kB / 0.8196 GB, free: 32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007208/0.6607, allocations: 0.5797 MB / 0.8202 GB, free: 31.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6607, allocations: 0 / 0.8202 GB, free: 31.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008576/0.6616, allocations: 244.3 kB / 0.8204 GB, free: 31.66 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001863/0.6618, allocations: 142.7 kB / 0.8206 GB, free: 31.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001476/0.6633, allocations: 0.7911 MB / 0.8213 GB, free: 31.21 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.6633, allocations: 3.719 kB / 0.8213 GB, free: 31.21 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008369/0.6641, allocations: 427.5 kB / 0.8218 GB, free: 31.04 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008424/0.665, allocations: 138.8 kB / 0.8219 GB, free: 30.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.6679, allocations: 1.906 MB / 0.8238 GB, free: 29.77 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006839/0.6686, allocations: 1.088 MB / 0.8248 GB, free: 29.05 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004942/0.6691, allocations: 122.1 kB / 0.8249 GB, free: 29.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.6693, allocations: 75.77 kB / 0.825 GB, free: 29 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/0.6693, allocations: 3.938 kB / 0.825 GB, free: 29 MB / 0.6544 GB Notification: Performance of Templates: time 0.02168/0.691, allocations: 8.522 MB / 0.8333 GB, free: 28.36 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)