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.707/1.707, allocations: 288.4 MB / 303.4 MB, free: 8.152 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.00113/0.00113, allocations: 176.5 kB / 372 MB, free: 10.28 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.618/1.618, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0007857/0.0007858, allocations: 86.42 kB / 0.7441 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003917, allocations: 15.59 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2083, allocations: 115.3 MB / 0.9796 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.003111/0.2115, allocations: 3.329 MB / 0.9829 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002987/0.2145, allocations: 2.186 MB / 0.985 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004691/0.215, allocations: 27.94 kB / 0.985 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.2153, allocations: 138.5 kB / 0.9852 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.2156, allocations: 87.23 kB / 0.9853 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008307/0.2164, allocations: 425 kB / 0.9857 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009179/0.2173, allocations: 1.362 MB / 0.987 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008354/0.2182, allocations: 0.7054 MB / 0.9877 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003434/0.2185, allocations: 338 kB / 0.988 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002944/0.2188, allocations: 397.3 kB / 0.9884 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.752e-05/0.2189, allocations: 36 kB / 0.9884 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.219, allocations: 47.98 kB / 0.9885 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.753e-05/0.2191, allocations: 167.1 kB / 0.9886 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.2193, allocations: 229 kB / 0.9888 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009624/0.2202, allocations: 1.71 MB / 0.9905 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2203, allocations: 3.938 kB / 0.9905 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2203, allocations: 4 kB / 0.9905 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.588e-05/0.2203, allocations: 0 / 0.9905 GB, free: 16.4 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.001754/0.2221, allocations: 1.352 MB / 0.9918 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.2221, allocations: 12.02 kB / 0.9919 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002353/0.2223, allocations: 162.1 kB / 0.992 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007854/0.2231, allocations: 0.719 MB / 0.9927 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-05/0.2232, allocations: 118.8 kB / 0.9928 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.2234, allocations: 140 kB / 0.993 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.2251, allocations: 1.135 MB / 0.9941 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.2252, allocations: 0 / 0.9941 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.238e-05/0.2253, allocations: 56 kB / 0.9941 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.887e-05/0.2253, allocations: 36 kB / 0.9942 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.2269, allocations: 0.9755 MB / 0.9951 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004225/0.2311, allocations: 3.266 MB / 0.9983 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.2321, allocations: 0.5776 MB / 0.9989 GB, free: 7.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004137/0.2326, allocations: 258.8 kB / 0.9991 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.729e-05/0.2326, allocations: 17.19 kB / 0.9991 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006386/0.2333, allocations: 413.8 kB / 0.9995 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=74): time 2.534e-06/0.2333, allocations: 4 kB / 0.9995 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74): time 0.001478/0.2348, allocations: 0.8452 MB / 1 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.2348, allocations: 162.8 kB / 1.001 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008068/0.2356, allocations: 0.8937 MB / 1.001 GB, free: 4.984 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/0.2357, allocations: 45.7 kB / 1.001 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/0.236, allocations: 0.5886 MB / 1.002 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.2361, allocations: 248.5 kB / 1.002 GB, free: 4.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.2362, allocations: 20 kB / 1.002 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.431e-05/0.2363, allocations: 345.9 kB / 1.003 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005001/0.2368, allocations: 289.9 kB / 1.003 GB, free: 3.445 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005747/0.2373, allocations: 0.5114 MB / 1.003 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.2379, allocations: 348.6 kB / 1.004 GB, free: 2.496 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.2379, allocations: 7.953 kB / 1.004 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001389/0.2393, allocations: 0.9705 MB / 1.005 GB, free: 1.508 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/0.2393, allocations: 41.7 kB / 1.005 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.2394, allocations: 4 kB / 1.005 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.2394, allocations: 15.94 kB / 1.005 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.24, allocations: 180 kB / 1.005 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.24, allocations: 19.92 kB / 1.005 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000719/0.2408, allocations: 215 kB / 1.005 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/0.2408, allocations: 39.98 kB / 1.005 GB, free: 0.9961 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.0003712/0.2412, allocations: 293.6 kB / 1.005 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.574e-05/0.2413, allocations: 106.6 kB / 1.006 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.2424, allocations: 0.6494 MB / 1.006 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.2425, allocations: 8 kB / 1.006 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2425, allocations: 0 / 1.006 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.2425, allocations: 3.984 kB / 1.006 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003102/0.2456, allocations: 2.442 MB / 1.009 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.2456, allocations: 8 kB / 1.009 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005126/0.2461, allocations: 136.2 kB / 1.009 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.2462, allocations: 8 kB / 1.009 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.2462, allocations: 24.52 kB / 1.009 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.149e-05/0.2462, allocations: 19.94 kB / 1.009 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/0.2462, allocations: 15.94 kB / 1.009 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.2476, allocations: 0.9714 MB / 1.01 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.2477, allocations: 199.6 kB / 1.01 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.444e-05/0.2478, allocations: 27.98 kB / 1.01 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000451/0.2483, allocations: 55.97 kB / 1.01 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.2484, allocations: 100.1 kB / 1.01 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.2485, allocations: 31.98 kB / 1.01 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006614/0.2492, allocations: 0.5665 MB / 1.011 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2492, allocations: 0 / 1.011 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006998/0.2499, allocations: 246.9 kB / 1.011 GB, free: 10.79 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.0002098/0.2501, allocations: 149.2 kB / 1.011 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001427/0.2515, allocations: 0.7824 MB / 1.012 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2516, allocations: 0 / 1.012 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008269/0.2524, allocations: 429.2 kB / 1.012 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007689/0.2532, allocations: 133 kB / 1.012 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003092/0.2563, allocations: 2.298 MB / 1.015 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006762/0.257, allocations: 1.085 MB / 1.016 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004898/0.2575, allocations: 127.5 kB / 1.016 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.2577, allocations: 71.42 kB / 1.016 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of SimCode: time 1.102e-06/0.2577, allocations: 0 / 1.016 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of Templates: time 0.01572/0.2734, allocations: 7.635 MB / 1.023 GB, free: 14.04 MB / 0.6511 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)