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.001146/0.001146, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00145/0.00145, allocations: 192.3 kB / 16.13 MB, free: 6.699 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.506/1.506, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.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.757/1.757, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001341/0.001341, allocations: 64.22 kB / 0.6709 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2926, allocations: 114.5 MB / 0.7827 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.005803/0.2985, allocations: 4.134 MB / 0.7868 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004343/0.3029, allocations: 2.24 MB / 0.789 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009674/0.3039, allocations: 27.88 kB / 0.789 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005196/0.3044, allocations: 146.5 kB / 0.7891 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003756/0.3049, allocations: 83.23 kB / 0.7892 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.306, allocations: 0.5651 MB / 0.7897 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001356/0.3074, allocations: 1.428 MB / 0.7911 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001474/0.3089, allocations: 0.9966 MB / 0.7921 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005792/0.3095, allocations: 473.7 kB / 0.7926 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000522/0.31, allocations: 0.571 MB / 0.7931 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.3102, allocations: 88 kB / 0.7932 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.3104, allocations: 104 kB / 0.7933 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002384/0.3106, allocations: 262.9 kB / 0.7936 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005777/0.3112, allocations: 0.6212 MB / 0.7942 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.3129, allocations: 2.075 MB / 0.7962 GB, free: 52 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.313, allocations: 0 / 0.7962 GB, free: 52 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.313, allocations: 0 / 0.7962 GB, free: 52 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.807e-05/0.313, allocations: 0 / 0.7962 GB, free: 52 kB / 0.6075 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.002427/0.3154, allocations: 1.594 MB / 0.7977 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3155, allocations: 8.031 kB / 0.7978 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/0.3157, allocations: 159.1 kB / 0.7979 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009799/0.3167, allocations: 0.7394 MB / 0.7986 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.3168, allocations: 123.2 kB / 0.7987 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.317, allocations: 140.4 kB / 0.7989 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/0.319, allocations: 1.139 MB / 0.8 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.319, allocations: 192 / 0.8 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.3191, allocations: 59.94 kB / 0.8001 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.002e-05/0.3192, allocations: 32 kB / 0.8001 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.321, allocations: 0.9755 MB / 0.801 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00474/0.3257, allocations: 3.246 MB / 0.8042 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.3269, allocations: 0.5759 MB / 0.8048 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004835/0.3274, allocations: 258.7 kB / 0.805 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.802e-05/0.3275, allocations: 12.64 kB / 0.805 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008129/0.3283, allocations: 401.9 kB / 0.8054 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=74): time 2.164e-06/0.3283, allocations: 0 / 0.8054 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74): time 0.001704/0.33, allocations: 0.8335 MB / 0.8062 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.3301, allocations: 170.8 kB / 0.8064 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.3312, allocations: 0.8938 MB / 0.8073 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.007e-05/0.3313, allocations: 45.7 kB / 0.8073 GB, free: 4.363 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004433/0.3317, allocations: 0.5925 MB / 0.8079 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.3319, allocations: 244.5 kB / 0.8081 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000294/0.3322, allocations: 210.4 kB / 0.8083 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3323, allocations: 337.9 kB / 0.8086 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006105/0.333, allocations: 293.9 kB / 0.8089 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000761/0.3337, allocations: 0.5036 MB / 0.8094 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.3349, allocations: 0.7529 MB / 0.8101 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.3349, allocations: 0 / 0.8101 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001696/0.3366, allocations: 0.9661 MB / 0.8111 GB, free: 280 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/0.3367, allocations: 38.52 kB / 0.8111 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.3367, allocations: 4 kB / 0.8111 GB, free: 232 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.564e-05/0.3367, allocations: 16 kB / 0.8111 GB, free: 216 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006376/0.3374, allocations: 175.7 kB / 0.8113 GB, free: 40 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.3374, allocations: 11.94 kB / 0.8113 GB, free: 28 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007179/0.3381, allocations: 182.5 kB / 0.8115 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.267e-05/0.3382, allocations: 43.98 kB / 0.8115 GB, free: 15.8 MB / 0.6387 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.0004607/0.3387, allocations: 298 kB / 0.8118 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.3388, allocations: 102.7 kB / 0.8119 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.3401, allocations: 0.6339 MB / 0.8125 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.3401, allocations: 8 kB / 0.8125 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.3401, allocations: 4 kB / 0.8126 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.3401, allocations: 3.984 kB / 0.8126 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003224/0.3433, allocations: 2.43 MB / 0.8149 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.3434, allocations: 8 kB / 0.8149 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005046/0.3439, allocations: 132.7 kB / 0.8151 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/0.3439, allocations: 15.94 kB / 0.8151 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.998e-05/0.344, allocations: 27.98 kB / 0.8151 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/0.344, allocations: 15.94 kB / 0.8151 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/0.344, allocations: 11.94 kB / 0.8151 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.3453, allocations: 0.9597 MB / 0.8161 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.3455, allocations: 199.6 kB / 0.8163 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.3456, allocations: 31.92 kB / 0.8163 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004277/0.346, allocations: 47.91 kB / 0.8163 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.3462, allocations: 92.14 kB / 0.8164 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/0.3462, allocations: 28 kB / 0.8164 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006555/0.3469, allocations: 0.5743 MB / 0.817 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3469, allocations: 0 / 0.817 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007163/0.3476, allocations: 247 kB / 0.8172 GB, free: 9.645 MB / 0.6387 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.0002063/0.3478, allocations: 149.9 kB / 0.8174 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.3492, allocations: 0.7787 MB / 0.8181 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3492, allocations: 0 / 0.8181 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000778/0.35, allocations: 428.8 kB / 0.8186 GB, free: 8.277 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007817/0.3508, allocations: 126.2 kB / 0.8187 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/0.3537, allocations: 2.414 MB / 0.821 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005818/0.3543, allocations: 1.085 MB / 0.8221 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004681/0.3548, allocations: 123.5 kB / 0.8222 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.355, allocations: 75.42 kB / 0.8223 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of SimCode: time 4.81e-07/0.355, allocations: 4 kB / 0.8223 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of Templates: time 0.01564/0.3706, allocations: 7.961 MB / 0.8301 GB, free: 12.45 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)