Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009074/0.0009074, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009518/0.0009518, allocations: 165 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9515/0.9515, allocations: 177.2 MB / 204.6 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.84/1.84, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.7751 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.266e-05, allocations: 2.312 kB / 0.7751 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002097/0.002119, allocations: 1.528 MB / 0.7766 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007308/0.00285, allocations: 0.5212 MB / 0.7771 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.07e-05/0.002911, allocations: 1.125 kB / 0.7771 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.612e-05/0.003007, allocations: 3.938 kB / 0.7771 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.125e-05/0.003068, allocations: 20.05 kB / 0.7771 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.003311, allocations: 51.81 kB / 0.7772 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.003446, allocations: 102.3 kB / 0.7773 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.083e-05/0.003517, allocations: 12.16 kB / 0.7773 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.003679, allocations: 75.75 kB / 0.7774 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.787e-05/0.003747, allocations: 38.41 kB / 0.7774 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.003766, allocations: 8 kB / 0.7774 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 3.826e-05/0.003804, allocations: 12 kB / 0.7774 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.145e-05/0.003836, allocations: 15.92 kB / 0.7774 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.003872, allocations: 27.92 kB / 0.7775 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.003992, allocations: 75.78 kB / 0.7775 GB, free: 3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003993, allocations: 0 / 0.7775 GB, free: 3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.72e-07/0.003994, allocations: 1.156 kB / 0.7775 GB, free: 3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.003997, allocations: 0 / 0.7775 GB, free: 3 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003687/0.004366, allocations: 362.9 kB / 0.7779 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.004394, allocations: 9.344 kB / 0.7779 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.427e-05/0.004488, allocations: 20.92 kB / 0.7779 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.004615, allocations: 129.6 kB / 0.778 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.004625, allocations: 8.375 kB / 0.7781 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.00464, allocations: 8.359 kB / 0.7781 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.004792, allocations: 132.4 kB / 0.7782 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.004798, allocations: 192 / 0.7782 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.004808, allocations: 8.125 kB / 0.7782 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.004812, allocations: 0 / 0.7782 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.058e-05/0.004863, allocations: 57.67 kB / 0.7782 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002456/0.005108, allocations: 194.9 kB / 0.7784 GB, free: 2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.923e-05/0.005197, allocations: 76.33 kB / 0.7785 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.44e-05/0.005242, allocations: 58.67 kB / 0.7786 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.005253, allocations: 0 / 0.7786 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/0.005374, allocations: 121.6 kB / 0.7787 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.005375, allocations: 0.6562 kB / 0.7787 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001711/0.005546, allocations: 195.2 kB / 0.7789 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.005581, allocations: 81.11 kB / 0.7789 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.496e-05/0.005646, allocations: 135.6 kB / 0.7791 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.00566, allocations: 29.7 kB / 0.7791 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.005697, allocations: 97.38 kB / 0.7792 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.367e-05/0.00571, allocations: 15.91 kB / 0.7792 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.005751, allocations: 29.69 kB / 0.7792 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.438e-05/0.005815, allocations: 322.8 kB / 0.7795 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.953e-05/0.005864, allocations: 84.19 kB / 0.7796 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.473e-05/0.005909, allocations: 79.39 kB / 0.7797 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.951e-05/0.005989, allocations: 142.1 kB / 0.7798 GB, free: 408 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.00599, allocations: 0 / 0.7798 GB, free: 408 kB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001291/0.00612, allocations: 208.4 kB / 0.78 GB, free: 168 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.006153, allocations: 67.39 kB / 0.7801 GB, free: 88 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.006156, allocations: 0.5312 kB / 0.7801 GB, free: 88 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.447e-06/0.006166, allocations: 0.875 kB / 0.7801 GB, free: 88 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-05/0.006226, allocations: 15.92 kB / 0.7801 GB, free: 72 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.006231, allocations: 9.859 kB / 0.7801 GB, free: 64 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.784e-05/0.006288, allocations: 20.17 kB / 0.7801 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.006299, allocations: 8 kB / 0.7802 GB, free: 36 kB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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 8.71e-05/0.006386, allocations: 154.9 kB / 0.7803 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.006401, allocations: 13.53 kB / 0.7803 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.89e-05/0.00642, allocations: 12.77 kB / 0.7803 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.006421, allocations: 0 / 0.7803 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.006423, allocations: 4 kB / 0.7803 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.006425, allocations: 0 / 0.7803 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.651e-05/0.006492, allocations: 82.56 kB / 0.7804 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.006493, allocations: 1.062 kB / 0.7804 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.006517, allocations: 7.984 kB / 0.7804 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.006519, allocations: 4 kB / 0.7804 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.006525, allocations: 1.25 kB / 0.7804 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.006527, allocations: 3.938 kB / 0.7804 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006528, allocations: 0 / 0.7804 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.006646, allocations: 173.2 kB / 0.7806 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-06/0.006655, allocations: 7.953 kB / 0.7806 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.006673, allocations: 9.344 kB / 0.7806 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.553e-05/0.006718, allocations: 19.91 kB / 0.7806 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.00679, allocations: 31.97 kB / 0.7807 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.006798, allocations: 5.125 kB / 0.7807 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.146e-05/0.006819, allocations: 27.78 kB / 0.7807 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006819, allocations: 0 / 0.7807 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001088/0.006928, allocations: 25.06 kB / 0.7807 GB, free: 15.41 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 7.484e-05/0.007003, allocations: 88.91 kB / 0.7808 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001687/0.007172, allocations: 268.6 kB / 0.7811 GB, free: 15 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.007174, allocations: 5.438 kB / 0.7811 GB, free: 15 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.823e-05/0.007253, allocations: 125.9 kB / 0.7812 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.131e-05/0.007344, allocations: 17.08 kB / 0.7812 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004181/0.007762, allocations: 255.9 kB / 0.7814 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.842e-05/0.00779, allocations: 63.34 kB / 0.7815 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.867e-05/0.007819, allocations: 5.141 kB / 0.7815 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.866e-05/0.007908, allocations: 84.7 kB / 0.7816 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.007908, allocations: 0 / 0.7816 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of Templates: time 0.003462/0.01137, allocations: 2.1 MB / 0.7836 GB, free: 12.39 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.694927974138409]