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 1.779/1.779, allocations: 287.5 MB / 302.6 MB, free: 8.242 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.001082/0.001082, allocations: 167.1 kB / 371.2 MB, free: 10.75 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.632/1.632, allocations: 205.4 MB / 0.6298 GB, free: 10.52 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.0008033/0.000803, allocations: 95.16 kB / 0.7432 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.0004029, allocations: 11.41 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2038, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.003085/0.2069, allocations: 3.325 MB / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002939/0.2099, allocations: 2.202 MB / 0.9841 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004605/0.2104, allocations: 27.88 kB / 0.9842 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.2107, allocations: 142.5 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.2109, allocations: 79.2 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008603/0.2118, allocations: 434.9 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008909/0.2127, allocations: 1.381 MB / 0.9861 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009741/0.2137, allocations: 0.9732 MB / 0.9871 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002862/0.214, allocations: 322.1 kB / 0.9874 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.2143, allocations: 401.3 kB / 0.9878 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.7e-05/0.2143, allocations: 36 kB / 0.9878 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.2145, allocations: 51.92 kB / 0.9879 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.2146, allocations: 171.1 kB / 0.988 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.2147, allocations: 228.9 kB / 0.9882 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.2158, allocations: 1.71 MB / 0.9899 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2158, allocations: 4 kB / 0.9899 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2158, allocations: 0 / 0.9899 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.2158, allocations: 0 / 0.9899 GB, free: 16.55 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.001676/0.2175, allocations: 1.337 MB / 0.9912 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2176, allocations: 12.03 kB / 0.9912 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.2177, allocations: 159.1 kB / 0.9914 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006997/0.2184, allocations: 0.7432 MB / 0.9921 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.547e-05/0.2185, allocations: 119.2 kB / 0.9922 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.2187, allocations: 140.4 kB / 0.9923 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.2203, allocations: 1.135 MB / 0.9935 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.2204, allocations: 192 / 0.9935 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.91e-05/0.2205, allocations: 59.94 kB / 0.9935 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.2205, allocations: 35.98 kB / 0.9935 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.2221, allocations: 0.9756 MB / 0.9945 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003811/0.2259, allocations: 3.274 MB / 0.9977 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009942/0.2269, allocations: 0.5767 MB / 0.9983 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004063/0.2273, allocations: 266.8 kB / 0.9985 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.761e-05/0.2274, allocations: 8.656 kB / 0.9985 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006104/0.228, allocations: 405.8 kB / 0.9989 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=74): time 3.176e-06/0.228, allocations: 0 / 0.9989 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74): time 0.001388/0.2294, allocations: 0.8569 MB / 0.9997 GB, free: 6.246 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.2295, allocations: 162.8 kB / 0.9999 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008837/0.2304, allocations: 0.882 MB / 1.001 GB, free: 5.145 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/0.2304, allocations: 45.7 kB / 1.001 GB, free: 5.094 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003188/0.2308, allocations: 0.5965 MB / 1.001 GB, free: 4.488 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.2309, allocations: 236.6 kB / 1.002 GB, free: 4.254 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.231, allocations: 24 kB / 1.002 GB, free: 4.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.501e-05/0.231, allocations: 345.9 kB / 1.002 GB, free: 3.887 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000498/0.2315, allocations: 289.9 kB / 1.002 GB, free: 3.605 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005644/0.2321, allocations: 0.5114 MB / 1.003 GB, free: 3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009364/0.2331, allocations: 0.7607 MB / 1.003 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.2331, allocations: 4 kB / 1.003 GB, free: 2.148 MB / 0.6198 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001403/0.2345, allocations: 0.9707 MB / 1.004 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.2345, allocations: 41.7 kB / 1.004 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.2345, allocations: 4 kB / 1.004 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.2346, allocations: 12 kB / 1.004 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/0.2352, allocations: 175.7 kB / 1.005 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.72e-05/0.2352, allocations: 20 kB / 1.005 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006742/0.2359, allocations: 214.5 kB / 1.005 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/0.2359, allocations: 43.98 kB / 1.005 GB, free: 0.6562 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.0003434/0.2363, allocations: 297.5 kB / 1.005 GB, free: 364 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.361e-05/0.2364, allocations: 102.7 kB / 1.005 GB, free: 260 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.2376, allocations: 0.6379 MB / 1.006 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.2376, allocations: 8 kB / 1.006 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.2376, allocations: 3.938 kB / 1.006 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.2377, allocations: 12.47 kB / 1.006 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003382/0.241, allocations: 2.442 MB / 1.008 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.2411, allocations: 8 kB / 1.008 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005152/0.2416, allocations: 139.8 kB / 1.008 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/0.2416, allocations: 15.94 kB / 1.008 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.535e-05/0.2417, allocations: 23.98 kB / 1.009 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.204e-05/0.2417, allocations: 11.94 kB / 1.009 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.2417, allocations: 12.31 kB / 1.009 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.2431, allocations: 0.9753 MB / 1.009 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.2433, allocations: 195.7 kB / 1.01 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.2434, allocations: 35.86 kB / 1.01 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004361/0.2438, allocations: 63.95 kB / 1.01 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.244, allocations: 88.16 kB / 1.01 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.548e-05/0.244, allocations: 31.98 kB / 1.01 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006924/0.2447, allocations: 0.5665 MB / 1.01 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2447, allocations: 0 / 1.01 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007043/0.2455, allocations: 243 kB / 1.011 GB, free: 10.45 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.0002605/0.2457, allocations: 147 kB / 1.011 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001411/0.2471, allocations: 0.7866 MB / 1.012 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.2472, allocations: 0 / 1.012 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007949/0.248, allocations: 428.7 kB / 1.012 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.2495, allocations: 129 kB / 1.012 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003379/0.2529, allocations: 2.298 MB / 1.014 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000751/0.2537, allocations: 1.085 MB / 1.015 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004861/0.2542, allocations: 123.4 kB / 1.016 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.2544, allocations: 75.42 kB / 1.016 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.2544, allocations: 0 / 1.016 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of Templates: time 0.01513/0.2695, allocations: 7.63 MB / 1.023 GB, free: 13.68 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)