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.001363/0.001363, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.001472/0.001472, allocations: 167 kB / 24.97 MB, free: 8.691 MB / 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.9775/0.9775, allocations: 177.1 MB / 205.4 MB, free: 5.469 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 2.02/2.02, allocations: 389.6 MB / 0.6362 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 177] 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.573e-06/1.573e-06, allocations: 0 / 0.7759 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.133e-05, allocations: 6.25 kB / 0.7759 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002217/0.002238, allocations: 1.585 MB / 0.7775 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000742/0.00298, allocations: 0.5167 MB / 0.778 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.626e-05/0.003047, allocations: 0 / 0.778 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.003149, allocations: 4.922 kB / 0.778 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.739e-05/0.003206, allocations: 16.31 kB / 0.778 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.003427, allocations: 53.45 kB / 0.778 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.003581, allocations: 104.9 kB / 0.7781 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.619e-05/0.003657, allocations: 16.97 kB / 0.7782 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.003833, allocations: 67.81 kB / 0.7782 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.043e-05/0.003903, allocations: 32.41 kB / 0.7783 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.003931, allocations: 12.73 kB / 0.7783 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.396e-05/0.003985, allocations: 15.98 kB / 0.7783 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.128e-05/0.004016, allocations: 10.94 kB / 0.7783 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.172e-05/0.004068, allocations: 39.91 kB / 0.7783 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.004191, allocations: 75.78 kB / 0.7784 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004192, allocations: 0 / 0.7784 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.31e-07/0.004193, allocations: 0 / 0.7784 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.004196, allocations: 0 / 0.7784 GB, free: 2.922 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.0004071/0.004604, allocations: 356 kB / 0.7787 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.004642, allocations: 12.09 kB / 0.7788 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.004749, allocations: 20.92 kB / 0.7788 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.004918, allocations: 141 kB / 0.7789 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.004928, allocations: 4.375 kB / 0.7789 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.004939, allocations: 4.375 kB / 0.7789 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.005101, allocations: 124.6 kB / 0.779 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.005109, allocations: 2.219 kB / 0.779 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.005122, allocations: 12.12 kB / 0.7791 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.005127, allocations: 0 / 0.7791 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.232e-05/0.005179, allocations: 53.69 kB / 0.7791 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002751/0.005454, allocations: 191 kB / 0.7793 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.899e-05/0.005543, allocations: 72.8 kB / 0.7794 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.553e-05/0.005589, allocations: 63.55 kB / 0.7794 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.005599, allocations: 0 / 0.7794 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.005735, allocations: 125.6 kB / 0.7795 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.005736, allocations: 0.875 kB / 0.7795 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001837/0.005919, allocations: 194.7 kB / 0.7797 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.005955, allocations: 90.53 kB / 0.7798 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.573e-05/0.006021, allocations: 130.7 kB / 0.7799 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.006034, allocations: 25.7 kB / 0.78 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.006074, allocations: 96.08 kB / 0.7801 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/0.006087, allocations: 20.48 kB / 0.7801 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.006128, allocations: 29.7 kB / 0.7801 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.513e-05/0.006213, allocations: 323.5 kB / 0.7804 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.061e-05/0.006264, allocations: 79.39 kB / 0.7805 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.656e-05/0.00631, allocations: 81.11 kB / 0.7806 GB, free: 500 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.292e-05/0.006393, allocations: 140.7 kB / 0.7807 GB, free: 336 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.006394, allocations: 0 / 0.7807 GB, free: 336 kB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001299/0.006524, allocations: 200.5 kB / 0.7809 GB, free: 104 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.006565, allocations: 72.05 kB / 0.781 GB, free: 20 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.006569, allocations: 0 / 0.781 GB, free: 20 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.006579, allocations: 5.062 kB / 0.781 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.623e-05/0.006646, allocations: 15.92 kB / 0.781 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/0.006665, allocations: 4.047 kB / 0.781 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.274e-05/0.006728, allocations: 20.81 kB / 0.781 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.006739, allocations: 0.875 kB / 0.781 GB, free: 15.98 MB / 0.7448 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 9.059e-05/0.006829, allocations: 155 kB / 0.7811 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.006845, allocations: 11.94 kB / 0.7812 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.006869, allocations: 18.52 kB / 0.7812 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.006872, allocations: 0 / 0.7812 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.006874, allocations: 4 kB / 0.7812 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.006887, allocations: 11.94 kB / 0.7812 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.006904, allocations: 4 kB / 0.7812 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.628e-05/0.00695, allocations: 17.58 kB / 0.7812 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.007033, allocations: 31.95 kB / 0.7812 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001388/0.007172, allocations: 216.3 kB / 0.7814 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001609/0.007333, allocations: 325.5 kB / 0.7818 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.201e-05/0.007395, allocations: 63.67 kB / 0.7818 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.383e-05/0.007418, allocations: 32.77 kB / 0.7819 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of Backend: time 1.71e-07/0.007419, allocations: 0 / 0.7819 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003068/0.007725, allocations: 289.7 kB / 0.7821 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0006334/0.008359, allocations: 0.7756 MB / 0.7829 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of Templates: time 0.00408/0.01244, allocations: 2.41 MB / 0.7852 GB, free: 11.59 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: 5.158520142547786]