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.001017/0.001017, allocations: 81.95 kB / 21.44 MB, free: 3.051 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.001194/0.001194, allocations: 167.6 kB / 24.84 MB, free: 9.207 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.9835/0.9835, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.5971/0.5971, allocations: 115 MB / 376.8 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.333e-06/1.333e-06, allocations: 0 / 482.7 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.609e-05/1.742e-05, allocations: 2.312 kB / 482.7 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001828/0.001845, allocations: 1.531 MB / 484.2 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006376/0.002483, allocations: 0.5085 MB / 484.7 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.717e-05/0.00254, allocations: 0.9062 kB / 484.7 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.021e-05/0.00263, allocations: 11.02 kB / 484.8 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.412e-05/0.002674, allocations: 10.81 kB / 484.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.002893, allocations: 59.77 kB / 484.8 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.003028, allocations: 101.3 kB / 484.9 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.748e-05/0.003105, allocations: 4.594 kB / 484.9 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.003263, allocations: 73.73 kB / 485 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.17e-05/0.003324, allocations: 31.16 kB / 485 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.003346, allocations: 7.969 kB / 485 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.956e-05/0.003386, allocations: 15.28 kB / 485.1 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.059e-05/0.003416, allocations: 14.56 kB / 485.1 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.003454, allocations: 30.69 kB / 485.1 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.003568, allocations: 81.09 kB / 485.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.00357, allocations: 0 / 485.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003571, allocations: 1.125 kB / 485.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.003575, allocations: 1.781 kB / 485.2 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.0003741/0.003949, allocations: 474.7 kB / 485.6 MB, free: 9.742 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.003979, allocations: 9.688 kB / 485.7 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.642e-05/0.004075, allocations: 24.55 kB / 485.7 MB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.004178, allocations: 145 kB / 485.8 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.004188, allocations: 7.5 kB / 485.8 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.004201, allocations: 6 kB / 485.8 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.004344, allocations: 127.8 kB / 486 MB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.249e-06/0.00435, allocations: 5.562 kB / 486 MB, free: 9.496 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.004359, allocations: 5.5 kB / 486 MB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.004363, allocations: 5.156 kB / 486 MB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.775e-05/0.004411, allocations: 60.98 kB / 486 MB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.004651, allocations: 283.2 kB / 486.3 MB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.841e-05/0.004729, allocations: 85.42 kB / 486.4 MB, free: 9.117 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.928e-05/0.004769, allocations: 63.05 kB / 486.5 MB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.004779, allocations: 6.062 kB / 486.5 MB, free: 9.066 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.807e-05/0.004877, allocations: 121.1 kB / 486.6 MB, free: 8.969 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.004879, allocations: 2.031 kB / 486.6 MB, free: 8.969 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002292/0.005108, allocations: 234 kB / 486.8 MB, free: 8.816 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.005133, allocations: 92.12 kB / 486.9 MB, free: 8.715 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.309e-05/0.005196, allocations: 184.4 kB / 487.1 MB, free: 8.543 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.005207, allocations: 28.11 kB / 487.1 MB, free: 8.512 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.005388, allocations: 146.2 kB / 487.2 MB, free: 24.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.005401, allocations: 17.12 kB / 487.3 MB, free: 24.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.005442, allocations: 37.78 kB / 487.3 MB, free: 24.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003829/0.005825, allocations: 0.4916 MB / 487.8 MB, free: 23.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.054e-05/0.005875, allocations: 85.47 kB / 487.9 MB, free: 23.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.692e-05/0.005922, allocations: 82.75 kB / 488 MB, free: 23.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.576e-05/0.005998, allocations: 130.8 kB / 488.1 MB, free: 23.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.006, allocations: 1.406 kB / 488.1 MB, free: 23.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001988/0.006199, allocations: 259 kB / 488.3 MB, free: 23.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.006233, allocations: 66.94 kB / 488.4 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.006237, allocations: 0 / 488.4 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.605e-06/0.006244, allocations: 4.062 kB / 488.4 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/0.006309, allocations: 12.23 kB / 488.4 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-06/0.006311, allocations: 0 / 488.4 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.281e-05/0.006374, allocations: 27.97 kB / 488.4 MB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.006385, allocations: 7.5 kB / 488.5 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.052e-05/0.006465, allocations: 196.8 kB / 488.6 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.006484, allocations: 21.08 kB / 488.7 MB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.953e-05/0.006504, allocations: 9.938 kB / 488.7 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.006506, allocations: 0.5 kB / 488.7 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.006508, allocations: 0.5625 kB / 488.7 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.006511, allocations: 2.469 kB / 488.7 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.746e-05/0.006578, allocations: 115.7 kB / 488.8 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.006579, allocations: 0 / 488.8 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.757e-05/0.006607, allocations: 13.58 kB / 488.8 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.006608, allocations: 1.156 kB / 488.8 MB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.006619, allocations: 12.56 kB / 488.8 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.006619, allocations: 1.688 kB / 488.8 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.00662, allocations: 0 / 488.8 MB, free: 22.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.006794, allocations: 223.2 kB / 489 MB, free: 22.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.006805, allocations: 10.39 kB / 489.1 MB, free: 22.78 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.006822, allocations: 6.562 kB / 489.1 MB, free: 22.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.879e-05/0.006871, allocations: 20.98 kB / 489.1 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.006943, allocations: 35.58 kB / 489.1 MB, free: 22.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.006952, allocations: 6.594 kB / 489.1 MB, free: 22.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.388e-05/0.006996, allocations: 139.6 kB / 489.3 MB, free: 22.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006996, allocations: 0 / 489.3 MB, free: 22.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001365/0.007132, allocations: 27.34 kB / 489.3 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.647e-05/0.007199, allocations: 100.9 kB / 489.4 MB, free: 22.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.007373, allocations: 274 kB / 489.6 MB, free: 22.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.82e-07/0.007374, allocations: 1.594 kB / 489.6 MB, free: 22.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.907e-05/0.007453, allocations: 136.3 kB / 489.8 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.0001414/0.007594, allocations: 18.5 kB / 489.8 MB, free: 22.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.007981, allocations: 246.1 kB / 490 MB, free: 21.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.392e-05/0.008005, allocations: 63.75 kB / 490.1 MB, free: 21.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.365e-05/0.008039, allocations: 4.906 kB / 490.1 MB, free: 21.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.138e-05/0.00813, allocations: 102 kB / 490.2 MB, free: 21.83 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/0.008131, allocations: 0 / 490.2 MB, free: 21.83 MB / 426.7 MB Notification: Performance of Templates: time 0.003341/0.01147, allocations: 2.279 MB / 492.5 MB, free: 21.62 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.377226731274277]