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.002605/0.002605, allocations: 100.3 kB / 19.72 MB, free: 424 kB / 13.93 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.002133/0.002133, allocations: 220.7 kB / 23.02 MB, free: 2.965 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.672/1.672, allocations: 230.6 MB / 256.8 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 178] 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 3.296/3.296, allocations: 0.5045 GB / 0.8104 GB, free: 2.797 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.003747/0.003747, allocations: 67.89 kB / 1.177 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.915/0.9187, allocations: 180 MB / 1.353 GB, free: 1.645 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003459/0.9222, allocations: 1.49 MB / 1.354 GB, free: 152 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.9233, allocations: 0.4948 MB / 1.355 GB, free: 15.65 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.74e-05/0.9234, allocations: 0 / 1.355 GB, free: 15.65 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.9235, allocations: 7.875 kB / 1.355 GB, free: 15.64 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.291e-05/0.9235, allocations: 11.88 kB / 1.355 GB, free: 15.63 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.9238, allocations: 55.86 kB / 1.355 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.924, allocations: 95.77 kB / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.9241, allocations: 20.17 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.9243, allocations: 59.77 kB / 1.355 GB, free: 15.4 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.807e-05/0.9244, allocations: 35.89 kB / 1.355 GB, free: 15.37 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.9245, allocations: 8 kB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.784e-05/0.9245, allocations: 8 kB / 1.355 GB, free: 15.35 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 4.368e-05/0.9246, allocations: 19.92 kB / 1.355 GB, free: 15.33 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 7.071e-05/0.9246, allocations: 31.86 kB / 1.355 GB, free: 15.3 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.9248, allocations: 90.36 kB / 1.355 GB, free: 15.21 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.9248, allocations: 0 / 1.355 GB, free: 15.21 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9248, allocations: 0 / 1.355 GB, free: 15.21 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.9248, allocations: 0 / 1.355 GB, free: 15.21 MB / 1.042 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.0007942/0.9256, allocations: 389.4 kB / 1.356 GB, free: 14.79 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.9256, allocations: 12.86 kB / 1.356 GB, free: 14.78 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.9258, allocations: 20.83 kB / 1.356 GB, free: 14.76 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.926, allocations: 138.4 kB / 1.356 GB, free: 14.6 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.9261, allocations: 4.375 kB / 1.356 GB, free: 14.6 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.9261, allocations: 12.38 kB / 1.356 GB, free: 14.59 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003733/0.9265, allocations: 151.4 kB / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.9265, allocations: 0 / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.9265, allocations: 0 / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.9265, allocations: 4 kB / 1.356 GB, free: 14.42 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003593/0.9269, allocations: 121.6 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005914/0.9274, allocations: 260.3 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.9278, allocations: 136.2 kB / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.9281, allocations: 90.64 kB / 1.357 GB, free: 13.77 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.9281, allocations: 0 / 1.357 GB, free: 13.77 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003574/0.9284, allocations: 161 kB / 1.357 GB, free: 13.59 MB / 1.042 GB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.9284, allocations: 0 / 1.357 GB, free: 13.59 MB / 1.042 GB Notification: Performance of matching and sorting (n=6): time 0.0008645/0.9293, allocations: 334.6 kB / 1.357 GB, free: 13.24 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.103e-05/0.9294, allocations: 85.11 kB / 1.357 GB, free: 13.14 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.9295, allocations: 130.1 kB / 1.357 GB, free: 13 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.9295, allocations: 29.7 kB / 1.357 GB, free: 12.96 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 9.435e-05/0.9296, allocations: 112 kB / 1.357 GB, free: 12.85 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.9297, allocations: 15.91 kB / 1.357 GB, free: 12.83 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.912e-05/0.9297, allocations: 29.7 kB / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.9299, allocations: 322.8 kB / 1.358 GB, free: 12.47 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.9302, allocations: 127.4 kB / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.9304, allocations: 131.3 kB / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.9308, allocations: 177.9 kB / 1.358 GB, free: 12 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.9308, allocations: 0 / 1.358 GB, free: 12 MB / 1.042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006167/0.9314, allocations: 320.3 kB / 1.358 GB, free: 11.66 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 8.768e-05/0.9315, allocations: 71.39 kB / 1.358 GB, free: 11.57 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.9315, allocations: 0 / 1.358 GB, free: 11.57 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.9316, allocations: 4 kB / 1.358 GB, free: 11.57 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.9317, allocations: 11.98 kB / 1.358 GB, free: 11.56 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.9317, allocations: 0 / 1.358 GB, free: 11.56 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.9318, allocations: 23.97 kB / 1.358 GB, free: 11.54 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.9319, allocations: 8 kB / 1.359 GB, free: 11.53 MB / 1.042 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.0001592/0.932, allocations: 155.9 kB / 1.359 GB, free: 11.36 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.9321, allocations: 15.95 kB / 1.359 GB, free: 11.34 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.9321, allocations: 12.72 kB / 1.359 GB, free: 11.33 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.9321, allocations: 0 / 1.359 GB, free: 11.33 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.9321, allocations: 0 / 1.359 GB, free: 11.33 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.9321, allocations: 0 / 1.359 GB, free: 11.33 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.9323, allocations: 133.2 kB / 1.359 GB, free: 11.17 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.9323, allocations: 256 / 1.359 GB, free: 11.17 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.437e-05/0.9324, allocations: 20.06 kB / 1.359 GB, free: 11.15 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.9324, allocations: 3.938 kB / 1.359 GB, free: 11.14 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.9324, allocations: 4 kB / 1.359 GB, free: 11.14 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.9324, allocations: 7.938 kB / 1.359 GB, free: 11.13 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9324, allocations: 0 / 1.359 GB, free: 11.13 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005896/0.933, allocations: 276.3 kB / 1.359 GB, free: 10.83 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.933, allocations: 11.94 kB / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.933, allocations: 7.984 kB / 1.359 GB, free: 10.81 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.9332, allocations: 19.98 kB / 1.359 GB, free: 10.79 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.9333, allocations: 35.95 kB / 1.359 GB, free: 10.76 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.9333, allocations: 4 kB / 1.359 GB, free: 10.75 MB / 1.042 GB Notification: Performance of sorting global known variables: time 9.36e-05/0.9334, allocations: 109.8 kB / 1.359 GB, free: 10.65 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.9334, allocations: 0 / 1.359 GB, free: 10.65 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002241/0.9336, allocations: 24 kB / 1.359 GB, free: 10.62 MB / 1.042 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.0001321/0.9338, allocations: 99.25 kB / 1.359 GB, free: 10.52 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0006546/0.9344, allocations: 347.7 kB / 1.36 GB, free: 10.14 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.9344, allocations: 0 / 1.36 GB, free: 10.14 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003211/0.9347, allocations: 165 kB / 1.36 GB, free: 9.957 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.935, allocations: 18 kB / 1.36 GB, free: 9.941 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000631/0.9356, allocations: 257.1 kB / 1.36 GB, free: 9.652 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.555e-05/0.9357, allocations: 75.08 kB / 1.36 GB, free: 9.559 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 6.149e-05/0.9357, allocations: 19.77 kB / 1.36 GB, free: 9.539 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.213e-05/0.9358, allocations: 11.44 kB / 1.36 GB, free: 9.527 MB / 1.042 GB Notification: Performance of SimCode: time 5.01e-07/0.9358, allocations: 0 / 1.36 GB, free: 9.527 MB / 1.042 GB Notification: Performance of Templates: time 0.006081/0.9419, allocations: 2.093 MB / 1.362 GB, free: 7.465 MB / 1.042 GB " [Timeout remaining time 299] 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: 10.002107226289809]