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.363/1.363, allocations: 252 MB / 268 MB, free: 10.85 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.0009785/0.0009781, allocations: 175.4 kB / 327.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.4 MB / 0.5786 GB, free: 20.15 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.0007355/0.0007354, allocations: 98.23 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002884/0.0002884, allocations: 9.156 kB / 0.7977 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2042, allocations: 106.4 MB / 0.9015 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.003459/0.2077, allocations: 3.999 MB / 0.9054 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.2092, allocations: 1.182 MB / 0.9066 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003433/0.2096, allocations: 20 kB / 0.9066 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.2098, allocations: 122.7 kB / 0.9067 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.2101, allocations: 75.31 kB / 0.9068 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005762/0.2107, allocations: 443.7 kB / 0.9072 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007492/0.2114, allocations: 1.28 MB / 0.9085 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009306/0.2124, allocations: 0.8667 MB / 0.9093 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.2126, allocations: 318 kB / 0.9096 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.2129, allocations: 393.2 kB / 0.91 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.065e-05/0.213, allocations: 32 kB / 0.91 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.18e-05/0.213, allocations: 32 kB / 0.91 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.724e-05/0.2131, allocations: 171 kB / 0.9102 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000267/0.2134, allocations: 486.2 kB / 0.9107 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009027/0.2143, allocations: 1.547 MB / 0.9122 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2143, allocations: 0 / 0.9122 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2144, allocations: 0 / 0.9122 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.2144, allocations: 0 / 0.9122 GB, free: 52.25 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.001674/0.2161, allocations: 1.261 MB / 0.9134 GB, free: 50.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2161, allocations: 8.031 kB / 0.9134 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.2163, allocations: 151.2 kB / 0.9136 GB, free: 50.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007606/0.217, allocations: 0.6694 MB / 0.9142 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-05/0.2171, allocations: 111.1 kB / 0.9143 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.2173, allocations: 132.4 kB / 0.9144 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.2188, allocations: 1.103 MB / 0.9155 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.2189, allocations: 3.938 kB / 0.9155 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.143e-05/0.219, allocations: 59.98 kB / 0.9156 GB, free: 48.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.219, allocations: 39.94 kB / 0.9156 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.2205, allocations: 0.9595 MB / 0.9166 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003645/0.2241, allocations: 3.087 MB / 0.9196 GB, free: 44.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000995/0.2251, allocations: 0.576 MB / 0.9201 GB, free: 43.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004011/0.2255, allocations: 262.8 kB / 0.9204 GB, free: 43.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.688e-05/0.2256, allocations: 20.62 kB / 0.9204 GB, free: 43.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005964/0.2262, allocations: 401.8 kB / 0.9208 GB, free: 43.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=74): time 2.325e-06/0.2262, allocations: 0 / 0.9208 GB, free: 43.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74): time 0.001355/0.2276, allocations: 0.8414 MB / 0.9216 GB, free: 42.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.2276, allocations: 166.8 kB / 0.9218 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006933/0.2283, allocations: 0.821 MB / 0.9226 GB, free: 41.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.2284, allocations: 37.7 kB / 0.9226 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.2286, allocations: 0.5574 MB / 0.9232 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.2288, allocations: 244.5 kB / 0.9234 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.2288, allocations: 20 kB / 0.9234 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.226e-05/0.2289, allocations: 345.9 kB / 0.9237 GB, free: 40.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004408/0.2294, allocations: 269.9 kB / 0.924 GB, free: 39.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005223/0.2299, allocations: 0.4927 MB / 0.9245 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008884/0.2308, allocations: 0.7114 MB / 0.9252 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2308, allocations: 0 / 0.9252 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001193/0.232, allocations: 0.8795 MB / 0.926 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.232, allocations: 8 kB / 0.926 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.232, allocations: 4 kB / 0.926 GB, free: 37.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.2321, allocations: 12 kB / 0.926 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005909/0.2327, allocations: 171.7 kB / 0.9262 GB, free: 37.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.2327, allocations: 19.86 kB / 0.9262 GB, free: 37.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000547/0.2332, allocations: 180.5 kB / 0.9264 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/0.2333, allocations: 36 kB / 0.9264 GB, free: 37.17 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003107/0.2336, allocations: 281.6 kB / 0.9267 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.001e-05/0.2337, allocations: 90.78 kB / 0.9268 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.2347, allocations: 0.6331 MB / 0.9274 GB, free: 36.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.2347, allocations: 8 kB / 0.9274 GB, free: 36.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.2348, allocations: 3.938 kB / 0.9274 GB, free: 36.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.2348, allocations: 11.98 kB / 0.9274 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.2373, allocations: 2.389 MB / 0.9298 GB, free: 33.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.2373, allocations: 8 kB / 0.9298 GB, free: 33.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004551/0.2378, allocations: 132.5 kB / 0.9299 GB, free: 33.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.2378, allocations: 15.94 kB / 0.9299 GB, free: 33.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.043e-05/0.2378, allocations: 31.98 kB / 0.9299 GB, free: 33.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.717e-06/0.2379, allocations: 15.94 kB / 0.93 GB, free: 33.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.2379, allocations: 8 kB / 0.93 GB, free: 33.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009988/0.2389, allocations: 0.9634 MB / 0.9309 GB, free: 32.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.239, allocations: 191.7 kB / 0.9311 GB, free: 32.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.371e-05/0.2391, allocations: 31.98 kB / 0.9311 GB, free: 32.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/0.2395, allocations: 56.47 kB / 0.9312 GB, free: 32.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.2397, allocations: 96.08 kB / 0.9313 GB, free: 31.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/0.2397, allocations: 35.98 kB / 0.9313 GB, free: 31.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004724/0.2402, allocations: 0.5186 MB / 0.9318 GB, free: 31.37 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2402, allocations: 0 / 0.9318 GB, free: 31.37 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005833/0.2408, allocations: 231 kB / 0.932 GB, free: 31.14 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.0001626/0.241, allocations: 139 kB / 0.9322 GB, free: 31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.242, allocations: 0.6888 MB / 0.9328 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.242, allocations: 4 kB / 0.9328 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005987/0.2426, allocations: 377.1 kB / 0.9332 GB, free: 29.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.2439, allocations: 113.2 kB / 0.9333 GB, free: 29.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/0.2469, allocations: 2.347 MB / 0.9356 GB, free: 27.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00051/0.2474, allocations: 1.058 MB / 0.9366 GB, free: 26.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.2477, allocations: 79.42 kB / 0.9367 GB, free: 26.2 MB / 0.6042 GB Notification: Performance of SimCode: time 9.12e-07/0.2477, allocations: 3.938 kB / 0.9367 GB, free: 26.19 MB / 0.6042 GB Notification: Performance of Templates: time 0.01334/0.261, allocations: 11.3 MB / 0.9477 GB, free: 14.94 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)