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.408/1.408, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.001017/0.001017, allocations: 172.3 kB / 326.5 MB, free: 2.711 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.862/1.862, allocations: 205 MB / 0.5766 GB, free: 20.97 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.0007191/0.0007191, allocations: 86.17 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.00038, allocations: 12.34 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2352, allocations: 105.4 MB / 0.8968 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.00381/0.2391, allocations: 4.159 MB / 0.9009 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002093/0.2412, allocations: 1.194 MB / 0.902 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005109/0.2417, allocations: 19.94 kB / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003684/0.2421, allocations: 122.7 kB / 0.9022 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.2424, allocations: 71.31 kB / 0.9022 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006736/0.2431, allocations: 447.6 kB / 0.9027 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008015/0.2439, allocations: 1.283 MB / 0.9039 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.2449, allocations: 0.8786 MB / 0.9048 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003101/0.2452, allocations: 310.1 kB / 0.9051 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.2455, allocations: 397.1 kB / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.415e-05/0.2456, allocations: 32 kB / 0.9055 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.799e-05/0.2456, allocations: 32 kB / 0.9055 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.2457, allocations: 171 kB / 0.9057 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.246, allocations: 464.5 kB / 0.9061 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008631/0.2469, allocations: 1.55 MB / 0.9076 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2469, allocations: 0 / 0.9076 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.655e-06/0.2469, allocations: 8 kB / 0.9076 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.7e-05/0.2469, allocations: 0 / 0.9076 GB, free: 56.95 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.001677/0.2486, allocations: 1.245 MB / 0.9088 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.2486, allocations: 12.03 kB / 0.9089 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.2488, allocations: 147.2 kB / 0.909 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007261/0.2495, allocations: 0.6578 MB / 0.9096 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.839e-05/0.2496, allocations: 119 kB / 0.9098 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.2498, allocations: 132.4 kB / 0.9099 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.2513, allocations: 1.107 MB / 0.911 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.2514, allocations: 3.938 kB / 0.911 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-05/0.2515, allocations: 56 kB / 0.911 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.2515, allocations: 36 kB / 0.9111 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.253, allocations: 0.9556 MB / 0.912 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003855/0.2569, allocations: 3.095 MB / 0.915 GB, free: 49.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.2579, allocations: 0.5754 MB / 0.9156 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004079/0.2583, allocations: 262.8 kB / 0.9158 GB, free: 48.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.912e-05/0.2584, allocations: 13.27 kB / 0.9158 GB, free: 48.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000628/0.259, allocations: 405.9 kB / 0.9162 GB, free: 47.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=74): time 3.677e-06/0.259, allocations: 3.938 kB / 0.9162 GB, free: 47.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74): time 0.001537/0.2606, allocations: 0.8375 MB / 0.917 GB, free: 47.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.2606, allocations: 166.8 kB / 0.9172 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007683/0.2614, allocations: 0.8172 MB / 0.918 GB, free: 46.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.2615, allocations: 41.7 kB / 0.918 GB, free: 46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.2618, allocations: 0.5691 MB / 0.9186 GB, free: 45.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.2619, allocations: 240.5 kB / 0.9188 GB, free: 45.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.262, allocations: 109.7 kB / 0.9189 GB, free: 45.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.709e-05/0.2621, allocations: 341.9 kB / 0.9193 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004571/0.2625, allocations: 269.9 kB / 0.9195 GB, free: 44.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005392/0.2631, allocations: 0.4927 MB / 0.92 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009283/0.264, allocations: 0.7153 MB / 0.9207 GB, free: 43.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.2641, allocations: 0 / 0.9207 GB, free: 43.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001219/0.2653, allocations: 0.8716 MB / 0.9215 GB, free: 42.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.2653, allocations: 10.5 kB / 0.9216 GB, free: 42.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.2654, allocations: 4 kB / 0.9216 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.2654, allocations: 12 kB / 0.9216 GB, free: 42.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005788/0.266, allocations: 179.8 kB / 0.9217 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.266, allocations: 19.92 kB / 0.9218 GB, free: 42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/0.2665, allocations: 186.5 kB / 0.9219 GB, free: 41.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.547e-05/0.2666, allocations: 32 kB / 0.922 GB, free: 41.78 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.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.0003597/0.267, allocations: 277.6 kB / 0.9222 GB, free: 41.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-05/0.2671, allocations: 90.78 kB / 0.9223 GB, free: 41.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.2681, allocations: 0.6409 MB / 0.9229 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.2681, allocations: 8 kB / 0.923 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.2681, allocations: 3.938 kB / 0.923 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.2682, allocations: 7.984 kB / 0.923 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/0.2706, allocations: 2.386 MB / 0.9253 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.2707, allocations: 8 kB / 0.9253 GB, free: 38.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004458/0.2711, allocations: 135.8 kB / 0.9254 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.2711, allocations: 12 kB / 0.9254 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.2712, allocations: 27.98 kB / 0.9255 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.2712, allocations: 12 kB / 0.9255 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.2712, allocations: 11.94 kB / 0.9255 GB, free: 38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.2722, allocations: 0.9634 MB / 0.9264 GB, free: 36.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.2724, allocations: 183.8 kB / 0.9266 GB, free: 36.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.985e-05/0.2725, allocations: 31.98 kB / 0.9266 GB, free: 36.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/0.2729, allocations: 59.97 kB / 0.9267 GB, free: 36.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.2731, allocations: 96.08 kB / 0.9268 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/0.2731, allocations: 35.92 kB / 0.9268 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00049/0.2736, allocations: 0.5186 MB / 0.9273 GB, free: 35.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2736, allocations: 0 / 0.9273 GB, free: 35.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006117/0.2742, allocations: 234.9 kB / 0.9276 GB, free: 35.76 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 (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.0001597/0.2744, allocations: 140.6 kB / 0.9277 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.2755, allocations: 0.6824 MB / 0.9284 GB, free: 34.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.2755, allocations: 4 kB / 0.9284 GB, free: 34.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006209/0.2761, allocations: 380 kB / 0.9287 GB, free: 34.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.2775, allocations: 119.3 kB / 0.9288 GB, free: 34.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.28, allocations: 2.325 MB / 0.9311 GB, free: 31.99 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.2804, allocations: 1.058 MB / 0.9321 GB, free: 30.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.2807, allocations: 79.42 kB / 0.9322 GB, free: 30.83 MB / 0.6042 GB Notification: Performance of SimCode: time 9.21e-07/0.2807, allocations: 0 / 0.9322 GB, free: 30.83 MB / 0.6042 GB Notification: Performance of Templates: time 0.01271/0.2934, allocations: 11.29 MB / 0.9432 GB, free: 19.58 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)