Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0_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.0.0_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.0/package.mo): time 3.323/3.323, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.002427/0.002427, allocations: 177.1 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.387/2.387, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001555/0.001555, allocations: 92.89 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006669/0.000667, allocations: 12.08 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2422, allocations: 115.3 MB / 0.9782 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.006062/0.2483, allocations: 3.376 MB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005412/0.2538, allocations: 2.182 MB / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.2549, allocations: 23.94 kB / 0.9837 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.2552, allocations: 102.8 kB / 0.9838 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007581/0.256, allocations: 147.4 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.2578, allocations: 458.5 kB / 0.9844 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001681/0.2595, allocations: 0.8586 MB / 0.9852 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001724/0.2613, allocations: 0.6976 MB / 0.9859 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006365/0.262, allocations: 326.2 kB / 0.9862 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004085/0.2624, allocations: 405.3 kB / 0.9866 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.2625, allocations: 40 kB / 0.9866 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.2627, allocations: 47.98 kB / 0.9867 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.2629, allocations: 167.1 kB / 0.9868 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.2632, allocations: 240.8 kB / 0.987 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001918/0.2651, allocations: 1.71 MB / 0.9887 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2651, allocations: 0 / 0.9887 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.745e-06/0.2652, allocations: 0 / 0.9887 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.379e-05/0.2652, allocations: 0 / 0.9887 GB, free: 17.52 MB / 0.6198 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.003339/0.2686, allocations: 1.352 MB / 0.99 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.2686, allocations: 15.95 kB / 0.9901 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003984/0.2691, allocations: 158.1 kB / 0.9902 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.2705, allocations: 0.7268 MB / 0.9909 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.2706, allocations: 122.8 kB / 0.991 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002397/0.2709, allocations: 140 kB / 0.9912 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003203/0.2741, allocations: 1.119 MB / 0.9923 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.227e-05/0.2742, allocations: 0 / 0.9923 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/0.2744, allocations: 56 kB / 0.9923 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/0.2744, allocations: 36 kB / 0.9923 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003094/0.2775, allocations: 0.9755 MB / 0.9933 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007875/0.2855, allocations: 3.278 MB / 0.9965 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.2874, allocations: 0.5724 MB / 0.9971 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.804e-05/0.2876, allocations: 8.656 kB / 0.9971 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001186/0.2888, allocations: 402.4 kB / 0.9975 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=74): time 4.017e-06/0.2888, allocations: 0 / 0.9975 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74): time 0.002685/0.2915, allocations: 0.8534 MB / 0.9983 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.2916, allocations: 162.8 kB / 0.9984 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.2931, allocations: 0.8898 MB / 0.9993 GB, free: 6.379 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001513/0.2933, allocations: 37.7 kB / 0.9993 GB, free: 6.336 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005325/0.2938, allocations: 0.5964 MB / 0.9999 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.2941, allocations: 248.5 kB / 1 GB, free: 5.484 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-05/0.2942, allocations: 23.94 kB / 1 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.25e-05/0.2943, allocations: 341.9 kB / 1.001 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009604/0.2952, allocations: 293.9 kB / 1.001 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.2964, allocations: 0.5114 MB / 1.001 GB, free: 4.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009976/0.2974, allocations: 348.6 kB / 1.002 GB, free: 3.887 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.2974, allocations: 4 kB / 1.002 GB, free: 3.883 MB / 0.6198 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002719/0.3001, allocations: 0.9705 MB / 1.003 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.956e-05/0.3002, allocations: 43.58 kB / 1.003 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.3003, allocations: 4 kB / 1.003 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-05/0.3003, allocations: 12 kB / 1.003 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.3016, allocations: 188 kB / 1.003 GB, free: 2.656 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.386e-05/0.3016, allocations: 15.92 kB / 1.003 GB, free: 2.641 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.303, allocations: 214.5 kB / 1.003 GB, free: 2.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.3032, allocations: 43.98 kB / 1.003 GB, free: 2.387 MB / 0.6198 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.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.greThr1.y,actAirSet_RehBox1.gre.y,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.greThr1.y,actAirSet_RehBox.gre.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008071/0.304, allocations: 293.5 kB / 1.003 GB, free: 2.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.3042, allocations: 102.7 kB / 1.003 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/0.3062, allocations: 0.6455 MB / 1.004 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.3063, allocations: 12 kB / 1.004 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.3063, allocations: 0 / 1.004 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.3063, allocations: 3.984 kB / 1.004 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005808/0.3121, allocations: 2.438 MB / 1.006 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.3122, allocations: 7.938 kB / 1.006 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.3133, allocations: 139.8 kB / 1.007 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.358e-05/0.3134, allocations: 12 kB / 1.007 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.919e-05/0.3134, allocations: 28.53 kB / 1.007 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.867e-05/0.3135, allocations: 16 kB / 1.007 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.376e-05/0.3135, allocations: 11.94 kB / 1.007 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/0.3165, allocations: 1.327 MB / 1.008 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004163/0.317, allocations: 199.6 kB / 1.008 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.3172, allocations: 27.98 kB / 1.008 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008574/0.3181, allocations: 66.2 kB / 1.008 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002863/0.3184, allocations: 88.11 kB / 1.008 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.232e-05/0.3185, allocations: 32 kB / 1.008 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001302/0.3198, allocations: 0.5704 MB / 1.009 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/0.3198, allocations: 0 / 1.009 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001347/0.3212, allocations: 250.9 kB / 1.009 GB, free: 11.65 MB / 0.6355 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 (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.0003386/0.3216, allocations: 135 kB / 1.009 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002761/0.3243, allocations: 0.7907 MB / 1.01 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/0.3244, allocations: 0 / 1.01 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001692/0.3261, allocations: 428.6 kB / 1.01 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.3272, allocations: 119.3 kB / 1.011 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005886/0.3331, allocations: 2.283 MB / 1.013 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/0.3347, allocations: 1.12 MB / 1.014 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001494/0.3363, allocations: 115.5 kB / 1.014 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003814/0.3367, allocations: 71.42 kB / 1.014 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of SimCode: time 1.483e-06/0.3368, allocations: 0 / 1.014 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of Templates: time 0.03653/0.3733, allocations: 7.622 MB / 1.022 GB, free: 14.89 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)