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.388/1.388, allocations: 251.5 MB / 267.4 MB, free: 11.08 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.001269/0.001269, allocations: 167.3 kB / 326.5 MB, free: 2.703 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.841/1.841, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0007702/0.0007701, allocations: 95.98 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.000372, allocations: 12.12 kB / 0.7939 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2295, 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.004014/0.2336, allocations: 4.17 MB / 0.9009 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002557/0.2361, allocations: 1.186 MB / 0.902 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.2375, allocations: 23.94 kB / 0.9021 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007729/0.2383, allocations: 114.8 kB / 0.9022 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009734/0.2393, allocations: 79.31 kB / 0.9022 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.2404, allocations: 453.1 kB / 0.9027 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001502/0.2419, allocations: 1.276 MB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/0.2433, allocations: 0.8864 MB / 0.9048 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004576/0.2438, allocations: 302.1 kB / 0.9051 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004043/0.2442, allocations: 393.1 kB / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.2444, allocations: 36 kB / 0.9055 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.2445, allocations: 36 kB / 0.9055 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.2446, allocations: 171 kB / 0.9057 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000396/0.245, allocations: 468.5 kB / 0.9061 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.2462, allocations: 1.802 MB / 0.9079 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2462, allocations: 0 / 0.9079 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2462, allocations: 0 / 0.9079 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.896e-05/0.2463, allocations: 0 / 0.9079 GB, free: 56.69 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.002299/0.2486, allocations: 1.253 MB / 0.9091 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.2486, allocations: 8.031 kB / 0.9091 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003095/0.249, allocations: 155.1 kB / 0.9093 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009691/0.2499, allocations: 0.6656 MB / 0.9099 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-05/0.25, allocations: 115 kB / 0.91 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.2502, allocations: 136.4 kB / 0.9101 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.2521, allocations: 1.095 MB / 0.9112 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.2522, allocations: 7.938 kB / 0.9112 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.912e-05/0.2522, allocations: 56 kB / 0.9113 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.2523, allocations: 36 kB / 0.9113 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.254, allocations: 0.9595 MB / 0.9123 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004259/0.2582, allocations: 3.095 MB / 0.9153 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.2593, allocations: 0.5763 MB / 0.9158 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004128/0.2597, allocations: 258.7 kB / 0.9161 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.472e-05/0.2598, allocations: 12.66 kB / 0.9161 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006224/0.2604, allocations: 401.9 kB / 0.9165 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=74): time 3.156e-06/0.2604, allocations: 0 / 0.9165 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74): time 0.001428/0.2619, allocations: 0.8336 MB / 0.9173 GB, free: 46.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.2619, allocations: 174.8 kB / 0.9175 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007951/0.2627, allocations: 0.8133 MB / 0.9183 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.854e-05/0.2628, allocations: 41.7 kB / 0.9183 GB, free: 45.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/0.2631, allocations: 0.5619 MB / 0.9188 GB, free: 45.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.2632, allocations: 236.5 kB / 0.9191 GB, free: 44.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.2634, allocations: 117.6 kB / 0.9192 GB, free: 44.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.881e-05/0.2634, allocations: 337.9 kB / 0.9195 GB, free: 44.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004654/0.2639, allocations: 269.9 kB / 0.9198 GB, free: 44.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005282/0.2644, allocations: 0.5005 MB / 0.9202 GB, free: 43.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009226/0.2654, allocations: 0.6997 MB / 0.9209 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.2654, allocations: 15.92 kB / 0.9209 GB, free: 42.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001241/0.2666, allocations: 0.8633 MB / 0.9218 GB, free: 41.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.2667, allocations: 15.14 kB / 0.9218 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.2667, allocations: 8 kB / 0.9218 GB, free: 41.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.2667, allocations: 12 kB / 0.9218 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005651/0.2673, allocations: 179.7 kB / 0.922 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.2673, allocations: 8 kB / 0.922 GB, free: 41.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005286/0.2679, allocations: 186.5 kB / 0.9222 GB, free: 41.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.2679, allocations: 39.98 kB / 0.9222 GB, free: 41.52 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.000391/0.2683, allocations: 277.6 kB / 0.9225 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.062e-05/0.2684, allocations: 90.78 kB / 0.9226 GB, free: 41.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.2694, allocations: 0.637 MB / 0.9232 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.2695, allocations: 3.984 kB / 0.9232 GB, free: 40.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2695, allocations: 4 kB / 0.9232 GB, free: 40.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.2696, allocations: 183.6 kB / 0.9234 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.253e-05/0.2697, allocations: 16 kB / 0.9234 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.27, allocations: 65.61 kB / 0.9235 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.2702, allocations: 64.45 kB / 0.9235 GB, free: 40.15 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001099/0.2713, allocations: 0.8767 MB / 0.9244 GB, free: 39.26 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009629/0.2722, allocations: 0.9908 MB / 0.9253 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004228/0.2727, allocations: 300.3 kB / 0.9256 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005178/0.2732, allocations: 0.5186 MB / 0.9261 GB, free: 37.44 MB / 0.6042 GB Notification: Performance of Backend: time 9.22e-07/0.2732, allocations: 4 kB / 0.9261 GB, free: 37.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001202/0.2744, allocations: 0.5513 MB / 0.9267 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of SimCode: time 0.00225/0.2767, allocations: 2.402 MB / 0.929 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of Templates: time 0.01342/0.2901, allocations: 7.954 MB / 0.9368 GB, free: 26.55 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)