Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.324/2.324, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00203/0.00203, allocations: 179.5 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.52/2.52, allocations: 205.4 MB / 0.5766 GB, free: 21.18 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 99 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005107/0.0005107, allocations: 11.56 kB / 0.7952 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2211, allocations: 106.3 MB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow): time 0.005415/0.2265, allocations: 3.77 MB / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003142/0.2297, allocations: 1.175 MB / 0.9037 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008842/0.2307, allocations: 19.94 kB / 0.9038 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.2309, allocations: 94.92 kB / 0.9039 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005789/0.2315, allocations: 111.6 kB / 0.904 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.2326, allocations: 342 kB / 0.9043 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001317/0.2339, allocations: 0.7573 MB / 0.905 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.2351, allocations: 0.6492 MB / 0.9057 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004429/0.2355, allocations: 298.3 kB / 0.9059 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003725/0.2359, allocations: 365.5 kB / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.526e-05/0.236, allocations: 32 kB / 0.9063 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.486e-05/0.2361, allocations: 32 kB / 0.9064 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.2363, allocations: 163.2 kB / 0.9065 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.2365, allocations: 213 kB / 0.9067 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.2381, allocations: 1.55 MB / 0.9082 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2381, allocations: 0 / 0.9082 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.033e-06/0.2381, allocations: 4 kB / 0.9082 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.003e-05/0.2382, allocations: 0 / 0.9082 GB, free: 56.3 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.00296/0.2411, allocations: 1.274 MB / 0.9095 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.2412, allocations: 12.02 kB / 0.9095 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002967/0.2415, allocations: 150.2 kB / 0.9096 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.2428, allocations: 0.6295 MB / 0.9102 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.2429, allocations: 118.7 kB / 0.9104 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/0.2431, allocations: 132 kB / 0.9105 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/0.246, allocations: 1.086 MB / 0.9115 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.011e-05/0.2461, allocations: 0 / 0.9115 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/0.2463, allocations: 59.94 kB / 0.9116 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/0.2463, allocations: 32 kB / 0.9116 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002738/0.249, allocations: 0.9516 MB / 0.9126 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007041/0.2561, allocations: 3.084 MB / 0.9156 GB, free: 48.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.258, allocations: 0.5718 MB / 0.9161 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-05/0.2581, allocations: 21.2 kB / 0.9162 GB, free: 48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.2591, allocations: 393.9 kB / 0.9165 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=74): time 3.436e-06/0.2592, allocations: 0 / 0.9165 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74): time 0.00259/0.2618, allocations: 0.8336 MB / 0.9173 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.789e-05/0.2619, allocations: 174.7 kB / 0.9175 GB, free: 46.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.2631, allocations: 0.8016 MB / 0.9183 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.363e-05/0.2633, allocations: 41.7 kB / 0.9183 GB, free: 45.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004456/0.2637, allocations: 0.5575 MB / 0.9189 GB, free: 45.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/0.2639, allocations: 244.4 kB / 0.9191 GB, free: 44.87 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-05/0.264, allocations: 20 kB / 0.9191 GB, free: 44.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.92e-05/0.2641, allocations: 341.9 kB / 0.9195 GB, free: 44.51 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000858/0.265, allocations: 265.9 kB / 0.9197 GB, free: 44.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009896/0.266, allocations: 0.4927 MB / 0.9202 GB, free: 43.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008738/0.2669, allocations: 294.9 kB / 0.9205 GB, free: 43.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.2669, allocations: 4 kB / 0.9205 GB, free: 43.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002282/0.2692, allocations: 0.8677 MB / 0.9213 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.2693, allocations: 11.94 kB / 0.9213 GB, free: 42.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.2693, allocations: 4 kB / 0.9213 GB, free: 42.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.991e-05/0.2693, allocations: 12 kB / 0.9214 GB, free: 42.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.2705, allocations: 183.7 kB / 0.9215 GB, free: 42.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-05/0.2706, allocations: 15.94 kB / 0.9215 GB, free: 42.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.2716, allocations: 183 kB / 0.9217 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.028e-05/0.2717, allocations: 39.98 kB / 0.9218 GB, free: 42.06 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.000593/0.2723, allocations: 277.6 kB / 0.922 GB, free: 41.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.2725, allocations: 90.78 kB / 0.9221 GB, free: 41.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/0.2744, allocations: 0.6292 MB / 0.9227 GB, free: 41.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.2744, allocations: 12 kB / 0.9227 GB, free: 41.03 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.2744, allocations: 11.95 kB / 0.9227 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.2744, allocations: 3.984 kB / 0.9227 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004581/0.279, allocations: 2.385 MB / 0.9251 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.2791, allocations: 4 kB / 0.9251 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009527/0.2801, allocations: 148.6 kB / 0.9252 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.817e-05/0.2801, allocations: 12 kB / 0.9252 GB, free: 38.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.304e-05/0.2802, allocations: 20 kB / 0.9253 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-05/0.2802, allocations: 15.94 kB / 0.9253 GB, free: 38.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/0.2802, allocations: 11.94 kB / 0.9253 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/0.2823, allocations: 1.318 MB / 0.9266 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.2825, allocations: 183.8 kB / 0.9267 GB, free: 36.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.2827, allocations: 27.94 kB / 0.9268 GB, free: 36.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007773/0.2835, allocations: 59.95 kB / 0.9268 GB, free: 36.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/0.2837, allocations: 96.2 kB / 0.9269 GB, free: 36.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.391e-05/0.2838, allocations: 28 kB / 0.9269 GB, free: 36.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008413/0.2846, allocations: 0.5224 MB / 0.9275 GB, free: 35.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.01e-07/0.2847, allocations: 0 / 0.9275 GB, free: 35.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009422/0.2856, allocations: 227 kB / 0.9277 GB, free: 35.52 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.0002329/0.2859, allocations: 135.9 kB / 0.9278 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001955/0.2878, allocations: 0.685 MB / 0.9285 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.2879, allocations: 0 / 0.9285 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.2891, allocations: 393.3 kB / 0.9288 GB, free: 34.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008029/0.29, allocations: 103.2 kB / 0.9289 GB, free: 34.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.2941, allocations: 2.181 MB / 0.9311 GB, free: 31.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006149/0.2947, allocations: 1.081 MB / 0.9321 GB, free: 30.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007887/0.2955, allocations: 119 kB / 0.9322 GB, free: 30.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/0.2959, allocations: 75.36 kB / 0.9323 GB, free: 30.6 MB / 0.6042 GB Notification: Performance of SimCode: time 9.72e-07/0.2959, allocations: 0 / 0.9323 GB, free: 30.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.02132/0.3172, allocations: 6.349 MB / 0.9385 GB, free: 24.32 MB / 0.6042 GB