Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001341/0.001341, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.001148/0.001148, allocations: 173 kB / 24.05 MB, free: 456 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 1.056/1.056, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6074/0.6074, allocations: 115 MB / 376 MB, free: 7.5 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 481.9 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141e-05/1.249e-05, allocations: 2.312 kB / 481.9 MB, free: 11.74 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001573/0.001586, allocations: 1.53 MB / 483.5 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000633/0.002219, allocations: 0.504 MB / 484 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.175e-05/0.00228, allocations: 2.125 kB / 484 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.154e-05/0.002372, allocations: 12.52 kB / 484 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.676e-05/0.002419, allocations: 9.906 kB / 484 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.00265, allocations: 51.14 kB / 484 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.002788, allocations: 110.3 kB / 484.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.971e-05/0.002868, allocations: 9 kB / 484.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.003027, allocations: 65.69 kB / 484.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.003094, allocations: 38.7 kB / 484.2 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.003117, allocations: 8.469 kB / 484.3 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.044e-05/0.003158, allocations: 14.31 kB / 484.3 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.003188, allocations: 15.31 kB / 484.3 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.003224, allocations: 23.36 kB / 484.3 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.003344, allocations: 88.92 kB / 484.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.003346, allocations: 0 / 484.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.6e-07/0.003346, allocations: 0 / 484.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.816e-06/0.003349, allocations: 0.5 kB / 484.4 MB, free: 10.2 MB / 410.7 MB 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.0004017/0.003751, allocations: 481.1 kB / 484.9 MB, free: 9.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.003786, allocations: 12.94 kB / 484.9 MB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.003893, allocations: 19.39 kB / 484.9 MB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.004004, allocations: 139.1 kB / 485 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.004015, allocations: 7.438 kB / 485 MB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.004029, allocations: 8.094 kB / 485 MB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.00418, allocations: 129.6 kB / 485.2 MB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.004187, allocations: 1.188 kB / 485.2 MB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.004198, allocations: 6.781 kB / 485.2 MB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-06/0.004205, allocations: 1.094 kB / 485.2 MB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.282e-05/0.004258, allocations: 61.03 kB / 485.2 MB, free: 9.445 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.004638, allocations: 285.3 kB / 485.5 MB, free: 25.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.124e-05/0.004729, allocations: 81.52 kB / 485.6 MB, free: 25.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.36e-05/0.004772, allocations: 60.03 kB / 485.7 MB, free: 25.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.004786, allocations: 4.594 kB / 485.7 MB, free: 25.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/0.004906, allocations: 125.5 kB / 485.8 MB, free: 24.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.004908, allocations: 0.625 kB / 485.8 MB, free: 24.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002555/0.005163, allocations: 235.5 kB / 486 MB, free: 24.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.005188, allocations: 88.94 kB / 486.1 MB, free: 24.72 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.661e-05/0.005265, allocations: 187.9 kB / 486.3 MB, free: 24.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.005277, allocations: 28.98 kB / 486.3 MB, free: 24.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.005325, allocations: 142 kB / 486.5 MB, free: 24.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.00534, allocations: 24.8 kB / 486.5 MB, free: 24.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.005381, allocations: 34.38 kB / 486.5 MB, free: 24.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.005484, allocations: 0.491 MB / 487 MB, free: 23.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.12e-05/0.005536, allocations: 81.23 kB / 487.1 MB, free: 23.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.21e-05/0.005578, allocations: 82.69 kB / 487.2 MB, free: 23.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.029e-05/0.005648, allocations: 134.9 kB / 487.3 MB, free: 23.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.00565, allocations: 0.7188 kB / 487.3 MB, free: 23.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001777/0.005827, allocations: 254.4 kB / 487.5 MB, free: 23.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.005855, allocations: 68.52 kB / 487.6 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.005859, allocations: 0 / 487.6 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.005869, allocations: 0.7812 kB / 487.6 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.247e-05/0.005931, allocations: 15.55 kB / 487.6 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.005934, allocations: 0 / 487.6 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.005996, allocations: 29.89 kB / 487.7 MB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.006006, allocations: 8.75 kB / 487.7 MB, free: 23.3 MB / 426.7 MB 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.342e-05/0.00609, allocations: 195.4 kB / 487.9 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/0.006107, allocations: 21.23 kB / 487.9 MB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.228e-05/0.006129, allocations: 17.05 kB / 487.9 MB, free: 23.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.006131, allocations: 0 / 487.9 MB, free: 23.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.006134, allocations: 256 / 487.9 MB, free: 23.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.006138, allocations: 4.484 kB / 487.9 MB, free: 23.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.465e-05/0.006213, allocations: 115.8 kB / 488 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.006214, allocations: 1.719 kB / 488 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.637e-05/0.00624, allocations: 11.03 kB / 488 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.006242, allocations: 0.8125 kB / 488 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.006252, allocations: 14.58 kB / 488 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.006253, allocations: 0.9688 kB / 488 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.006253, allocations: 0 / 488 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.006425, allocations: 223.3 kB / 488.3 MB, free: 22.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.057e-05/0.006436, allocations: 8.703 kB / 488.3 MB, free: 22.78 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.006455, allocations: 6.281 kB / 488.3 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.006e-05/0.006505, allocations: 22.34 kB / 488.3 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.567e-05/0.006581, allocations: 36.73 kB / 488.3 MB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.006588, allocations: 3.656 kB / 488.3 MB, free: 22.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.733e-05/0.006635, allocations: 139 kB / 488.5 MB, free: 22.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006635, allocations: 1.062 kB / 488.5 MB, free: 22.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001389/0.006774, allocations: 25.69 kB / 488.5 MB, free: 22.63 MB / 426.7 MB 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 6.853e-05/0.006843, allocations: 95.72 kB / 488.6 MB, free: 22.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.007038, allocations: 283.2 kB / 488.9 MB, free: 22.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.007039, allocations: 0 / 488.9 MB, free: 22.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.04e-05/0.00712, allocations: 133.5 kB / 489 MB, free: 22.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.007261, allocations: 19.28 kB / 489 MB, free: 22.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.007713, allocations: 246.4 kB / 489.3 MB, free: 21.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.011e-05/0.007743, allocations: 60.2 kB / 489.3 MB, free: 21.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.257e-05/0.007776, allocations: 11.69 kB / 489.3 MB, free: 21.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.007877, allocations: 99.77 kB / 489.4 MB, free: 21.83 MB / 426.7 MB Notification: Performance of SimCode: time 7.52e-07/0.007878, allocations: 1.469 kB / 489.4 MB, free: 21.83 MB / 426.7 MB Notification: Performance of Templates: time 0.004126/0.012, allocations: 2.215 MB / 491.6 MB, free: 21.64 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.41460134787485]