Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.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.7.0.x_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.01157/0.01157, allocations: 103.6 kB / 15.74 MB, free: 6.039 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.002304/0.002304, allocations: 196.8 kB / 16.68 MB, free: 5.953 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.699/1.699, allocations: 205.1 MB / 222.5 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.531/1.531, allocations: 251.7 MB / 0.5094 GB, free: 3.109 MB / 414.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.001488/0.001488, allocations: 67.91 kB / 0.7258 GB, free: 9.074 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3124, allocations: 104.7 MB / 0.8281 GB, free: 260 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.006628/0.3191, allocations: 4.529 MB / 0.8325 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003819/0.3229, allocations: 1.264 MB / 0.8337 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/0.3245, allocations: 23.94 kB / 0.8338 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007637/0.3253, allocations: 173.9 kB / 0.8339 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0007076/0.326, allocations: 122.5 kB / 0.834 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.3277, allocations: 0.5111 MB / 0.8345 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001966/0.3297, allocations: 1.397 MB / 0.8359 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/0.3313, allocations: 0.9331 MB / 0.8368 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008115/0.3321, allocations: 0.5136 MB / 0.8373 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005706/0.3327, allocations: 0.5752 MB / 0.8379 GB, free: 6.133 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002064/0.3329, allocations: 172 kB / 0.838 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.3331, allocations: 168 kB / 0.8382 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002955/0.3334, allocations: 350.8 kB / 0.8385 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006446/0.3341, allocations: 0.6372 MB / 0.8392 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002244/0.3363, allocations: 2.028 MB / 0.8411 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.696e-05/0.3364, allocations: 0 / 0.8411 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.799e-06/0.3364, allocations: 4 kB / 0.8411 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.964e-05/0.3364, allocations: 0 / 0.8411 GB, free: 2.777 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.004257/0.3407, allocations: 1.483 MB / 0.8426 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 8.466e-05/0.3408, allocations: 12.03 kB / 0.8426 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003786/0.3412, allocations: 147.2 kB / 0.8427 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.3431, allocations: 0.6733 MB / 0.8434 GB, free: 372 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.3433, allocations: 115.1 kB / 0.8435 GB, free: 256 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002499/0.3436, allocations: 132.4 kB / 0.8436 GB, free: 124 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003798/0.3474, allocations: 1.099 MB / 0.8447 GB, free: 15 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.819e-05/0.3475, allocations: 3.938 kB / 0.8447 GB, free: 15 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.3477, allocations: 56 kB / 0.8448 GB, free: 14.94 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.817e-05/0.3477, allocations: 39.94 kB / 0.8448 GB, free: 14.9 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003321/0.3511, allocations: 0.94 MB / 0.8457 GB, free: 13.96 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008696/0.3598, allocations: 3.025 MB / 0.8487 GB, free: 10.87 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002083/0.362, allocations: 0.5646 MB / 0.8492 GB, free: 10.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008472/0.3629, allocations: 258.7 kB / 0.8495 GB, free: 10.04 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-05/0.3629, allocations: 13.27 kB / 0.8495 GB, free: 10.03 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00115/0.3641, allocations: 405.7 kB / 0.8499 GB, free: 9.602 MB / 0.67 GB Notification: Performance of pre-optimization done (n=74): time 6.762e-06/0.3641, allocations: 0 / 0.8499 GB, free: 9.602 MB / 0.67 GB Notification: Performance of matching and sorting (n=74): time 0.002986/0.3671, allocations: 0.8064 MB / 0.8507 GB, free: 8.789 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000208/0.3674, allocations: 162.8 kB / 0.8508 GB, free: 8.594 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/0.3692, allocations: 0.8288 MB / 0.8516 GB, free: 7.758 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.3693, allocations: 41.7 kB / 0.8517 GB, free: 7.711 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000927/0.3703, allocations: 0.5535 MB / 0.8522 GB, free: 7.148 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004444/0.3707, allocations: 248.5 kB / 0.8524 GB, free: 6.902 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004451/0.3712, allocations: 198.5 kB / 0.8526 GB, free: 6.699 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0003446/0.3715, allocations: 341.9 kB / 0.853 GB, free: 6.359 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008345/0.3724, allocations: 257.9 kB / 0.8532 GB, free: 6.109 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.3735, allocations: 0.4888 MB / 0.8537 GB, free: 5.531 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/0.3754, allocations: 0.6919 MB / 0.8544 GB, free: 4.762 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/0.3755, allocations: 4 kB / 0.8544 GB, free: 4.758 MB / 0.67 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003031/0.3785, allocations: 0.8596 MB / 0.8552 GB, free: 3.891 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.3787, allocations: 8 kB / 0.8552 GB, free: 3.883 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/0.3787, allocations: 4 kB / 0.8552 GB, free: 3.879 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.868e-05/0.3788, allocations: 12 kB / 0.8552 GB, free: 3.867 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.38, allocations: 171.7 kB / 0.8554 GB, free: 3.699 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-05/0.3801, allocations: 24.23 kB / 0.8554 GB, free: 3.676 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.3814, allocations: 154.6 kB / 0.8556 GB, free: 3.523 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.3816, allocations: 36 kB / 0.8556 GB, free: 3.488 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition1,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.pulseStart,$PRE.winSta.pulseStart,actAirSet_RehBox1.hys.y,$PRE.actAirSet_RehBox1.hys.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox1.uWin,actAirSet_RehBox.hys.y,$PRE.actAirSet_RehBox.hys.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): 119 * Array equations: 0 * Algorithm blocks: 0 * 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.0009057/0.3825, allocations: 277.6 kB / 0.8559 GB, free: 3.211 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/0.3828, allocations: 98.78 kB / 0.856 GB, free: 3.113 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/0.3852, allocations: 0.6174 MB / 0.8566 GB, free: 2.48 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.3852, allocations: 8 kB / 0.8566 GB, free: 2.473 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/0.3853, allocations: 7.938 kB / 0.8566 GB, free: 2.465 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.3853, allocations: 3.984 kB / 0.8566 GB, free: 2.461 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006189/0.3915, allocations: 2.382 MB / 0.8589 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.3916, allocations: 4 kB / 0.8589 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009955/0.3926, allocations: 131.8 kB / 0.859 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-05/0.3926, allocations: 12 kB / 0.859 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.591e-05/0.3927, allocations: 23.98 kB / 0.8591 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.944e-05/0.3928, allocations: 15.94 kB / 0.8591 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.305e-05/0.3928, allocations: 15.88 kB / 0.8591 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002714/0.3955, allocations: 0.9479 MB / 0.86 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/0.3959, allocations: 195.7 kB / 0.8602 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.3961, allocations: 20.5 kB / 0.8602 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008887/0.397, allocations: 47.95 kB / 0.8603 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/0.3973, allocations: 100.1 kB / 0.8604 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-05/0.3974, allocations: 32 kB / 0.8604 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001188/0.3986, allocations: 0.5264 MB / 0.8609 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of sort global known variables: time 5.81e-07/0.3986, allocations: 0 / 0.8609 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001489/0.4001, allocations: 231 kB / 0.8611 GB, free: 13.51 MB / 0.6856 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,actAirSet_RehBox.hys.y,actAirSet_RehBox1.uWin,actAirSet_RehBox1.hys.y,winSta.pulseStart,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 2 (actAirSet_RehBox1.hys.y,actAirSet_RehBox.hys.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.0003476/0.4005, allocations: 139 kB / 0.8613 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002708/0.4032, allocations: 0.6849 MB / 0.8619 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.4033, allocations: 1.562 kB / 0.8619 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/0.405, allocations: 391 kB / 0.8623 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.4065, allocations: 109 kB / 0.8624 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005729/0.4123, allocations: 1.807 MB / 0.8642 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/0.4135, allocations: 1.057 MB / 0.8652 GB, free: 9.18 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009556/0.4145, allocations: 115 kB / 0.8653 GB, free: 9.062 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/0.4149, allocations: 75.42 kB / 0.8654 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of SimCode: time 1.573e-06/0.4149, allocations: 0 / 0.8654 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of Templates: time 0.02856/0.4435, allocations: 7.317 MB / 0.8725 GB, free: 1.766 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)