Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") translateModel(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.008/2.008, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 191.4 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 0.7948 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009133/0.0009131, allocations: 114.4 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 52.11 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2206, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.004417/0.225, allocations: 4.029 MB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.003111/0.2282, allocations: 2.197 MB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009526/0.2292, allocations: 31.88 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005989/0.2298, allocations: 138.6 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0005547/0.2304, allocations: 71.38 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.2315, allocations: 0.5459 MB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001128/0.2326, allocations: 1.404 MB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.2338, allocations: 0.969 MB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000437/0.2342, allocations: 454 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003763/0.2346, allocations: 0.54 MB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.2348, allocations: 88 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.235, allocations: 107.9 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.2351, allocations: 251 kB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003584/0.2355, allocations: 0.5863 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.2366, allocations: 2.05 MB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2366, allocations: 0 / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2367, allocations: 0 / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.152e-05/0.2367, allocations: 0 / 1.231 GB, free: 103.6 MB / 0.823 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.002047/0.2388, allocations: 1.505 MB / 1.233 GB, free: 102.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2388, allocations: 15.98 kB / 1.233 GB, free: 102 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.239, allocations: 155.2 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007633/0.2397, allocations: 0.718 MB / 1.234 GB, free: 101.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/0.2398, allocations: 119.2 kB / 1.234 GB, free: 101 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.2399, allocations: 152.3 kB / 1.234 GB, free: 100.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.2414, allocations: 1.119 MB / 1.235 GB, free: 99.73 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.2414, allocations: 0 / 1.235 GB, free: 99.73 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/0.2415, allocations: 60 kB / 1.235 GB, free: 99.67 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.2415, allocations: 36 kB / 1.235 GB, free: 99.64 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.2429, allocations: 0.9403 MB / 1.236 GB, free: 98.69 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003342/0.2462, allocations: 3.131 MB / 1.239 GB, free: 95.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008175/0.247, allocations: 0.5231 MB / 1.24 GB, free: 94.97 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004067/0.2475, allocations: 317.9 kB / 1.24 GB, free: 94.66 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.464e-05/0.2475, allocations: 17.19 kB / 1.24 GB, free: 94.64 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005463/0.2481, allocations: 381.8 kB / 1.24 GB, free: 94.25 MB / 0.823 GB Notification: Performance of pre-optimization done (n=74): time 2.414e-06/0.2481, allocations: 0 / 1.24 GB, free: 94.25 MB / 0.823 GB Notification: Performance of matching and sorting (n=74): time 0.001215/0.2493, allocations: 0.7828 MB / 1.241 GB, free: 93.45 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.2494, allocations: 166.8 kB / 1.241 GB, free: 93.25 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006408/0.25, allocations: 0.8133 MB / 1.242 GB, free: 92.43 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.2501, allocations: 45.7 kB / 1.242 GB, free: 92.38 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.2503, allocations: 0.5612 MB / 1.243 GB, free: 91.81 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.2504, allocations: 248.5 kB / 1.243 GB, free: 91.57 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.2506, allocations: 206.4 kB / 1.243 GB, free: 91.36 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.941e-05/0.2507, allocations: 353.9 kB / 1.243 GB, free: 91 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/0.2511, allocations: 273.9 kB / 1.244 GB, free: 90.74 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005087/0.2516, allocations: 0.489 MB / 1.244 GB, free: 90.16 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008422/0.2525, allocations: 0.7178 MB / 1.245 GB, free: 89.35 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.2525, allocations: 4 kB / 1.245 GB, free: 89.35 MB / 0.823 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001201/0.2537, allocations: 0.9241 MB / 1.246 GB, free: 88.41 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.2538, allocations: 37.7 kB / 1.246 GB, free: 88.37 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.2538, allocations: 4 kB / 1.246 GB, free: 88.37 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.2538, allocations: 12 kB / 1.246 GB, free: 88.36 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/0.2543, allocations: 179.7 kB / 1.246 GB, free: 88.18 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.2543, allocations: 12 kB / 1.246 GB, free: 88.17 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/0.2549, allocations: 182.5 kB / 1.246 GB, free: 87.99 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.321e-05/0.255, allocations: 40.48 kB / 1.246 GB, free: 87.95 MB / 0.823 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.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.y,$PRE.winSta.y,actAirSet_RehBox1.greThr.greHys.y,$PRE.actAirSet_RehBox1.greThr.greHys.y,actAirSet_RehBox1.not1.y,actAirSet_RehBox.greThr.greHys.y,$PRE.actAirSet_RehBox.greThr.greHys.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): 118 * Array equations: 0 * Algorithm blocks: 1 * 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.0002687/0.2552, allocations: 285.5 kB / 1.246 GB, free: 87.66 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-05/0.2553, allocations: 90.88 kB / 1.246 GB, free: 87.57 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008958/0.2562, allocations: 0.598 MB / 1.247 GB, free: 86.96 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.2562, allocations: 8 kB / 1.247 GB, free: 86.95 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.2563, allocations: 0 / 1.247 GB, free: 86.95 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.2563, allocations: 3.984 kB / 1.247 GB, free: 86.95 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.2584, allocations: 2.3 MB / 1.249 GB, free: 84.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.2584, allocations: 16.12 kB / 1.249 GB, free: 84.48 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.2588, allocations: 131.8 kB / 1.249 GB, free: 84.36 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.2589, allocations: 12 kB / 1.249 GB, free: 84.34 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.615e-05/0.2589, allocations: 23.98 kB / 1.249 GB, free: 84.32 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-06/0.2589, allocations: 11.94 kB / 1.249 GB, free: 84.31 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.2589, allocations: 15.92 kB / 1.25 GB, free: 84.29 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.2604, allocations: 1.886 MB / 1.251 GB, free: 82.25 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.2605, allocations: 191.8 kB / 1.252 GB, free: 82.04 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.682e-05/0.2606, allocations: 31.98 kB / 1.252 GB, free: 82.01 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/0.261, allocations: 43.97 kB / 1.252 GB, free: 81.97 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.2611, allocations: 104 kB / 1.252 GB, free: 81.87 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.2611, allocations: 24 kB / 1.252 GB, free: 81.84 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004416/0.2616, allocations: 0.5225 MB / 1.252 GB, free: 81.32 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2616, allocations: 0 / 1.252 GB, free: 81.32 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006761/0.2623, allocations: 247 kB / 1.252 GB, free: 81.08 MB / 0.823 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 (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.0001733/0.2624, allocations: 140 kB / 1.253 GB, free: 80.94 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0009794/0.2634, allocations: 0.7402 MB / 1.253 GB, free: 80.18 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2634, allocations: 4 kB / 1.253 GB, free: 80.18 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005465/0.264, allocations: 368.3 kB / 1.254 GB, free: 79.82 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006783/0.2647, allocations: 125 kB / 1.254 GB, free: 79.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.2669, allocations: 2.708 MB / 1.256 GB, free: 76.86 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.2673, allocations: 1.077 MB / 1.258 GB, free: 75.76 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003598/0.2677, allocations: 111 kB / 1.258 GB, free: 75.64 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.2678, allocations: 71.42 kB / 1.258 GB, free: 75.57 MB / 0.823 GB Notification: Performance of SimCode: time 3.6e-07/0.2679, allocations: 0 / 1.258 GB, free: 75.57 MB / 0.823 GB Notification: Performance of Templates: time 0.01131/0.2792, allocations: 7.829 MB / 1.265 GB, free: 67.85 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)