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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.339/1.339, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001235/0.001235, allocations: 183.9 kB / 327.3 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.4 MB / 0.5783 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000859/0.0008591, allocations: 101.6 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003148, allocations: 8.938 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.204, allocations: 106.3 MB / 0.9009 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.003591/0.2076, allocations: 3.738 MB / 0.9045 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.2097, allocations: 1.167 MB / 0.9057 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008443/0.2106, allocations: 23.94 kB / 0.9057 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004157/0.2111, allocations: 114.7 kB / 0.9058 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004049/0.2115, allocations: 75.31 kB / 0.9059 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008104/0.2123, allocations: 324.9 kB / 0.9062 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009181/0.2132, allocations: 1.217 MB / 0.9074 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008148/0.2141, allocations: 0.6531 MB / 0.908 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003467/0.2144, allocations: 294.3 kB / 0.9083 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.2147, allocations: 373.5 kB / 0.9086 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.51e-05/0.2148, allocations: 32 kB / 0.9087 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.036e-05/0.2148, allocations: 32 kB / 0.9087 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.751e-05/0.2149, allocations: 163.1 kB / 0.9089 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.2151, allocations: 213 kB / 0.9091 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009024/0.216, allocations: 1.554 MB / 0.9106 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.216, allocations: 0 / 0.9106 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.974e-06/0.216, allocations: 0 / 0.9106 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.071e-05/0.216, allocations: 0 / 0.9106 GB, free: 53.86 MB / 0.6042 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.001868/0.2179, allocations: 1.269 MB / 0.9118 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.218, allocations: 8.031 kB / 0.9118 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.2182, allocations: 150.2 kB / 0.912 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007314/0.2189, allocations: 0.6489 MB / 0.9126 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-05/0.219, allocations: 114.7 kB / 0.9127 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.2191, allocations: 132 kB / 0.9128 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.2209, allocations: 1.094 MB / 0.9139 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.2209, allocations: 0 / 0.9139 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.071e-05/0.221, allocations: 56 kB / 0.914 GB, free: 50.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.221, allocations: 32 kB / 0.914 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.2227, allocations: 0.9516 MB / 0.9149 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00406/0.2268, allocations: 3.088 MB / 0.9179 GB, free: 46.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.2278, allocations: 0.5679 MB / 0.9185 GB, free: 45.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004081/0.2282, allocations: 266.7 kB / 0.9187 GB, free: 45.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.645e-05/0.2283, allocations: 8.656 kB / 0.9187 GB, free: 45.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000634/0.2289, allocations: 409.7 kB / 0.9191 GB, free: 44.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=74): time 3.316e-06/0.229, allocations: 0 / 0.9191 GB, free: 44.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74): time 0.001482/0.2304, allocations: 0.834 MB / 0.92 GB, free: 44.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.2305, allocations: 170.8 kB / 0.9201 GB, free: 43.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007768/0.2313, allocations: 0.8055 MB / 0.9209 GB, free: 43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.2314, allocations: 41.7 kB / 0.9209 GB, free: 42.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/0.2317, allocations: 0.5619 MB / 0.9215 GB, free: 42.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.2318, allocations: 244.4 kB / 0.9217 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.2319, allocations: 20 kB / 0.9217 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.75e-05/0.2319, allocations: 341.9 kB / 0.9221 GB, free: 41.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004536/0.2324, allocations: 265.9 kB / 0.9223 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006044/0.233, allocations: 0.4889 MB / 0.9228 GB, free: 40.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005122/0.2335, allocations: 306.8 kB / 0.9231 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.2335, allocations: 0 / 0.9231 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001335/0.2349, allocations: 0.8638 MB / 0.9239 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.235, allocations: 12 kB / 0.9239 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.235, allocations: 11.94 kB / 0.924 GB, free: 39.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/0.235, allocations: 8 kB / 0.924 GB, free: 39.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000615/0.2356, allocations: 179.7 kB / 0.9241 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.101e-05/0.2357, allocations: 19.89 kB / 0.9242 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005925/0.2363, allocations: 174.6 kB / 0.9243 GB, free: 39.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/0.2363, allocations: 32 kB / 0.9244 GB, free: 39.34 MB / 0.6042 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.not1.y,$PRE.actAirSet_RehBox.hys.y,actAirSet_RehBox.hys.y,actAirSet_RehBox1.uWin,actAirSet_RehBox1.not1.y,$PRE.actAirSet_RehBox1.hys.y,actAirSet_RehBox1.hys.y,$PRE.winSta.pulseStart,winSta.pulseStart,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): 119 * Array equations: 0 * Algorithm blocks: 0 * 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.0003997/0.2367, allocations: 289.5 kB / 0.9246 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.309e-05/0.2368, allocations: 94.78 kB / 0.9247 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.2379, allocations: 0.6252 MB / 0.9253 GB, free: 38.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.2379, allocations: 12 kB / 0.9253 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.2379, allocations: 0 / 0.9253 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.238, allocations: 7.938 kB / 0.9254 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/0.2405, allocations: 2.382 MB / 0.9277 GB, free: 35.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.2405, allocations: 11.95 kB / 0.9277 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004841/0.241, allocations: 135.8 kB / 0.9278 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.241, allocations: 8.047 kB / 0.9278 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.322e-05/0.2411, allocations: 35.97 kB / 0.9279 GB, free: 35.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.598e-06/0.2411, allocations: 11.94 kB / 0.9279 GB, free: 35.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.2411, allocations: 8.375 kB / 0.9279 GB, free: 35.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.2422, allocations: 0.9596 MB / 0.9288 GB, free: 34.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.2423, allocations: 187.8 kB / 0.929 GB, free: 34.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.437e-05/0.2424, allocations: 31.98 kB / 0.929 GB, free: 34.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/0.2428, allocations: 62.38 kB / 0.9291 GB, free: 34.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.243, allocations: 92.14 kB / 0.9292 GB, free: 34.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.063e-05/0.243, allocations: 35.98 kB / 0.9292 GB, free: 34.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004995/0.2435, allocations: 0.5107 MB / 0.9297 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2435, allocations: 0 / 0.9297 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006126/0.2442, allocations: 231 kB / 0.9299 GB, free: 33.34 MB / 0.6042 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 (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.0001604/0.2443, allocations: 142.9 kB / 0.9301 GB, free: 33.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00109/0.2454, allocations: 0.682 MB / 0.9307 GB, free: 32.51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.2454, allocations: 0 / 0.9307 GB, free: 32.51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006218/0.2461, allocations: 376.5 kB / 0.9311 GB, free: 32.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006755/0.2467, allocations: 119.2 kB / 0.9312 GB, free: 32.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.2493, allocations: 2.229 MB / 0.9334 GB, free: 29.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.2497, allocations: 1.065 MB / 0.9344 GB, free: 28.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.2499, allocations: 75.42 kB / 0.9345 GB, free: 28.51 MB / 0.6042 GB Notification: Performance of SimCode: time 1.263e-06/0.2499, allocations: 0 / 0.9345 GB, free: 28.51 MB / 0.6042 GB Notification: Performance of Templates: time 0.01458/0.2645, allocations: 11.34 MB / 0.9456 GB, free: 17.21 MB / 0.6042 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)