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.0006979/0.0006979, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008893/0.001587, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007077/0.0007077, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009085/0.001616, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 1.027/1.027, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08722/1.114, allocations: 53.64 MB / 243.2 MB, free: 15.61 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.924/1.924, allocations: 389.9 MB / 0.619 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5282/2.452, allocations: 127.1 MB / 0.7432 GB, free: 4.621 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 3.487e-06/3.487e-06, allocations: 4.859 kB / 0.7444 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.957e-05, allocations: 6.25 kB / 0.7444 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002974/0.003003, allocations: 1.58 MB / 0.746 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008889/0.003892, allocations: 0.515 MB / 0.7465 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.223e-05/0.003965, allocations: 3.938 kB / 0.7465 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.966e-05/0.004034, allocations: 7.234 kB / 0.7465 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.862e-05/0.004093, allocations: 16.95 kB / 0.7465 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.00431, allocations: 52.8 kB / 0.7466 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.004535, allocations: 106 kB / 0.7467 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.724e-05/0.004632, allocations: 12.11 kB / 0.7467 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.00488, allocations: 76.64 kB / 0.7467 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.94e-05/0.004969, allocations: 35.89 kB / 0.7468 GB, free: 1 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.004995, allocations: 11.16 kB / 0.7468 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.987e-05/0.005065, allocations: 19.92 kB / 0.7468 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.1e-05/0.005106, allocations: 11.94 kB / 0.7468 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.903e-05/0.005165, allocations: 23.94 kB / 0.7468 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.005333, allocations: 59.83 kB / 0.7469 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.007e-05/0.005353, allocations: 0 / 0.7469 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.563e-06/0.005354, allocations: 0 / 0.7469 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.027e-05/0.005375, allocations: 0 / 0.7469 GB, free: 0.8789 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.0006316/0.006006, allocations: 374.4 kB / 0.7473 GB, free: 492 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.006047, allocations: 8.031 kB / 0.7473 GB, free: 484 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.006238, allocations: 98.03 kB / 0.7474 GB, free: 368 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.006425, allocations: 125.7 kB / 0.7475 GB, free: 216 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.006442, allocations: 8.375 kB / 0.7475 GB, free: 208 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.006457, allocations: 4.375 kB / 0.7475 GB, free: 204 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.006669, allocations: 130 kB / 0.7476 GB, free: 60 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.006679, allocations: 192 / 0.7476 GB, free: 60 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.006693, allocations: 12.12 kB / 0.7476 GB, free: 48 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.006698, allocations: 0 / 0.7476 GB, free: 48 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.323e-05/0.006792, allocations: 54.83 kB / 0.7477 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.00716, allocations: 191 kB / 0.7479 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.007286, allocations: 85.19 kB / 0.7479 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/0.007342, allocations: 54.67 kB / 0.748 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.007355, allocations: 4.594 kB / 0.748 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.007533, allocations: 122 kB / 0.7481 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.007535, allocations: 0 / 0.7481 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0002682/0.007804, allocations: 196.2 kB / 0.7483 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.007847, allocations: 55.41 kB / 0.7484 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.681e-05/0.007943, allocations: 126.7 kB / 0.7485 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.007966, allocations: 33.7 kB / 0.7485 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.008025, allocations: 96.55 kB / 0.7486 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.00805, allocations: 19.89 kB / 0.7486 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.008111, allocations: 30.48 kB / 0.7486 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.008207, allocations: 318.8 kB / 0.749 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.553e-05/0.008283, allocations: 84.61 kB / 0.749 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.008352, allocations: 79.39 kB / 0.7491 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.008471, allocations: 136.8 kB / 0.7492 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.008473, allocations: 0.9375 kB / 0.7492 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001999/0.008673, allocations: 216.3 kB / 0.7494 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.985e-05/0.008733, allocations: 63.39 kB / 0.7495 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.008739, allocations: 1.156 kB / 0.7495 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.008749, allocations: 0 / 0.7495 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.008857, allocations: 26.55 kB / 0.7495 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.00886, allocations: 0 / 0.7495 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.072e-05/0.008951, allocations: 15.98 kB / 0.7495 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.008966, allocations: 4 kB / 0.7496 GB, free: 13.86 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.0001165/0.009082, allocations: 162.3 kB / 0.7497 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.009113, allocations: 27.78 kB / 0.7497 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.009142, allocations: 8.781 kB / 0.7497 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.009145, allocations: 0 / 0.7497 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.009147, allocations: 0 / 0.7497 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.009152, allocations: 4 kB / 0.7497 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.672e-05/0.009249, allocations: 81.81 kB / 0.7498 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.009252, allocations: 0 / 0.7498 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.544e-05/0.009308, allocations: 7.984 kB / 0.7498 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.009321, allocations: 7.953 kB / 0.7498 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.009327, allocations: 7.875 kB / 0.7498 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.009343, allocations: 12.67 kB / 0.7499 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.009345, allocations: 0 / 0.7499 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.009347, allocations: 0.8438 kB / 0.7499 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.009538, allocations: 172.5 kB / 0.75 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.009566, allocations: 9.734 kB / 0.75 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.468e-05/0.009651, allocations: 19.92 kB / 0.7501 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.009766, allocations: 31.97 kB / 0.7501 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.009782, allocations: 7.984 kB / 0.7501 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.287e-05/0.009815, allocations: 27.02 kB / 0.7501 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.009815, allocations: 0.5625 kB / 0.7501 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001898/0.01, allocations: 24 kB / 0.7501 GB, free: 13.2 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.0001188/0.01012, allocations: 88.11 kB / 0.7502 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002754/0.0104, allocations: 276.7 kB / 0.7505 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/0.01041, allocations: 4 kB / 0.7505 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.01054, allocations: 125.9 kB / 0.7506 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/0.01071, allocations: 23.98 kB / 0.7506 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.01188, allocations: 248.7 kB / 0.7509 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.715e-05/0.01192, allocations: 59.36 kB / 0.7509 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.554e-05/0.01196, allocations: 7.984 kB / 0.7509 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.01209, allocations: 75.97 kB / 0.751 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of SimCode: time 9.82e-07/0.01209, allocations: 0 / 0.751 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of Templates: time 0.005687/0.01778, allocations: 2.138 MB / 0.7531 GB, free: 10.15 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.966235984116793]