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.0007639/0.0007639, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00107/0.001834, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007368/0.0007368, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000984/0.001721, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9511/0.9511, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09218/1.043, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.907/1.907, allocations: 390 MB / 0.6193 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4587/2.366, allocations: 127.1 MB / 0.7435 GB, free: 4.539 MB / 0.7136 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.563e-06/1.563e-06, allocations: 0 / 0.7448 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.546e-05, allocations: 4.422 kB / 0.7448 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003119/0.003144, allocations: 1.592 MB / 0.7463 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008856/0.00403, allocations: 0.5076 MB / 0.7468 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.004094, allocations: 3.938 kB / 0.7468 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.007e-05/0.004164, allocations: 7.922 kB / 0.7468 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.925e-05/0.004233, allocations: 12.86 kB / 0.7468 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.004452, allocations: 53.77 kB / 0.7469 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.00467, allocations: 107 kB / 0.747 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.477e-05/0.004765, allocations: 16.14 kB / 0.747 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.005017, allocations: 78.53 kB / 0.7471 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.00512, allocations: 35.94 kB / 0.7471 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.005155, allocations: 11.94 kB / 0.7471 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.535e-05/0.00523, allocations: 15.94 kB / 0.7471 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.005278, allocations: 11.98 kB / 0.7472 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.00533, allocations: 23.94 kB / 0.7472 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.005506, allocations: 63.81 kB / 0.7472 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.38e-05/0.00552, allocations: 0 / 0.7472 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.72e-07/0.005521, allocations: 0 / 0.7472 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.005534, allocations: 3.562 kB / 0.7472 GB, free: 0.7773 MB / 0.7136 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.0006458/0.00618, allocations: 359.7 kB / 0.7476 GB, free: 400 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.006216, allocations: 8.031 kB / 0.7476 GB, free: 392 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.006417, allocations: 106 kB / 0.7477 GB, free: 268 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.006594, allocations: 125.7 kB / 0.7478 GB, free: 116 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.00661, allocations: 8.375 kB / 0.7478 GB, free: 108 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.006634, allocations: 12.3 kB / 0.7478 GB, free: 96 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.006877, allocations: 131.5 kB / 0.748 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.006885, allocations: 192 / 0.748 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.0069, allocations: 8.062 kB / 0.748 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.006907, allocations: 4 kB / 0.748 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.388e-05/0.006991, allocations: 53.69 kB / 0.748 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.007374, allocations: 187 kB / 0.7482 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.007509, allocations: 80.17 kB / 0.7483 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.677e-05/0.007576, allocations: 58.67 kB / 0.7483 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.007589, allocations: 0 / 0.7483 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.007779, allocations: 125 kB / 0.7485 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.00778, allocations: 0 / 0.7485 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0002748/0.008055, allocations: 194.7 kB / 0.7486 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.008091, allocations: 55.41 kB / 0.7487 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.008191, allocations: 133.3 kB / 0.7488 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.008213, allocations: 29.7 kB / 0.7488 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/0.00827, allocations: 104 kB / 0.7489 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.008293, allocations: 19.27 kB / 0.749 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.1e-05/0.008354, allocations: 29.7 kB / 0.749 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.008451, allocations: 318.8 kB / 0.7493 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.871e-05/0.00854, allocations: 83.38 kB / 0.7494 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.235e-05/0.008612, allocations: 79.39 kB / 0.7494 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.00874, allocations: 144.7 kB / 0.7496 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.008742, allocations: 0 / 0.7496 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002075/0.00895, allocations: 208.4 kB / 0.7498 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.672e-05/0.009006, allocations: 63.41 kB / 0.7498 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.009012, allocations: 6.75 kB / 0.7499 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.009027, allocations: 0 / 0.7499 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.009138, allocations: 19.97 kB / 0.7499 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-06/0.009141, allocations: 0 / 0.7499 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.872e-05/0.009239, allocations: 23.97 kB / 0.7499 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.009253, allocations: 7.938 kB / 0.7499 GB, free: 13.74 MB / 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 0.0001132/0.009366, allocations: 151.9 kB / 0.75 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.009393, allocations: 15.92 kB / 0.7501 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.00942, allocations: 12.78 kB / 0.7501 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.009422, allocations: 4 kB / 0.7501 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.009425, allocations: 1.156 kB / 0.7501 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.009429, allocations: 3.984 kB / 0.7501 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.258e-05/0.009522, allocations: 81.81 kB / 0.7502 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.009523, allocations: 4.938 kB / 0.7502 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.218e-05/0.009585, allocations: 11.98 kB / 0.7502 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.464e-05/0.0096, allocations: 8.547 kB / 0.7502 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.009604, allocations: 3.938 kB / 0.7502 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.009617, allocations: 0.7188 kB / 0.7502 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.009619, allocations: 0 / 0.7502 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.00962, allocations: 5.75 kB / 0.7502 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.009828, allocations: 184.4 kB / 0.7504 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.009851, allocations: 4 kB / 0.7504 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.381e-05/0.009945, allocations: 21.05 kB / 0.7504 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.01005, allocations: 39.94 kB / 0.7504 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.01006, allocations: 8 kB / 0.7504 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.348e-05/0.0101, allocations: 21.97 kB / 0.7505 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.0101, allocations: 0 / 0.7505 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000191/0.01029, allocations: 20 kB / 0.7505 GB, free: 13.09 MB / 0.7292 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 0.0001166/0.01041, allocations: 85.67 kB / 0.7506 GB, free: 13 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000264/0.01067, allocations: 277.7 kB / 0.7508 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.01068, allocations: 4 kB / 0.7508 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.01082, allocations: 135.3 kB / 0.751 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.011, allocations: 89.36 kB / 0.751 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.01202, allocations: 250.8 kB / 0.7513 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.079e-05/0.01206, allocations: 61.06 kB / 0.7513 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.602e-05/0.0121, allocations: 5 kB / 0.7513 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.01223, allocations: 79.36 kB / 0.7514 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/0.01223, allocations: 4 kB / 0.7514 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of Templates: time 0.005218/0.01745, allocations: 2.127 MB / 0.7535 GB, free: 9.953 MB / 0.7292 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.7472668727859855]