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.001419/0.001419, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.00161/0.00161, allocations: 215.9 kB / 22.99 MB, free: 4.977 MB / 14.72 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.9985/0.9985, allocations: 149.9 MB / 463 MB, free: 10.41 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 64.03 kB / 0.6415 GB, free: 9.723 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2228, allocations: 89.18 MB / 0.7286 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.00308/0.2259, allocations: 1.478 MB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.2272, allocations: 0.491 MB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.709e-05/0.2273, allocations: 3.938 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.2274, allocations: 7.922 kB / 0.7305 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.071e-05/0.2275, allocations: 15.86 kB / 0.7306 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.2278, allocations: 51.88 kB / 0.7306 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.228, allocations: 95.77 kB / 0.7307 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.2281, allocations: 12.16 kB / 0.7307 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.2284, allocations: 63.78 kB / 0.7308 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.2285, allocations: 35.89 kB / 0.7308 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.2285, allocations: 8 kB / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.545e-05/0.2286, allocations: 11.94 kB / 0.7308 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.738e-05/0.2286, allocations: 15.97 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.884e-05/0.2287, allocations: 35.86 kB / 0.7309 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.229, allocations: 91.62 kB / 0.731 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.229, allocations: 0 / 0.731 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.229, allocations: 0 / 0.731 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.924e-06/0.229, allocations: 0 / 0.731 GB, free: 14.18 MB / 0.5606 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.000854/0.2298, allocations: 385.4 kB / 0.7313 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.2299, allocations: 12.03 kB / 0.7313 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.23, allocations: 20.83 kB / 0.7314 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.2303, allocations: 136.5 kB / 0.7315 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.2304, allocations: 4.375 kB / 0.7315 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.2304, allocations: 16.31 kB / 0.7315 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.2307, allocations: 143.4 kB / 0.7316 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2307, allocations: 4 kB / 0.7316 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.2308, allocations: 4 kB / 0.7316 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2308, allocations: 0 / 0.7316 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00033/0.2311, allocations: 121.6 kB / 0.7318 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005719/0.2317, allocations: 264.4 kB / 0.732 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.232, allocations: 132.1 kB / 0.7321 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.2322, allocations: 94.64 kB / 0.7322 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.2323, allocations: 4 kB / 0.7322 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003329/0.2326, allocations: 153 kB / 0.7324 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.2326, allocations: 0 / 0.7324 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0008118/0.2334, allocations: 346.5 kB / 0.7327 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/0.2335, allocations: 85.11 kB / 0.7328 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.2336, allocations: 130.1 kB / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.2336, allocations: 29.7 kB / 0.7329 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.827e-05/0.2337, allocations: 100.1 kB / 0.733 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.2337, allocations: 15.84 kB / 0.7331 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.489e-05/0.2338, allocations: 29.7 kB / 0.7331 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.234, allocations: 326.8 kB / 0.7334 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.2342, allocations: 119.4 kB / 0.7335 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.2344, allocations: 135.3 kB / 0.7336 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.2348, allocations: 177.9 kB / 0.7338 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2348, allocations: 3.938 kB / 0.7338 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005514/0.2353, allocations: 320.4 kB / 0.7341 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.617e-05/0.2354, allocations: 67.39 kB / 0.7342 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.2354, allocations: 4 kB / 0.7342 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.2354, allocations: 0 / 0.7342 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.2355, allocations: 15.98 kB / 0.7342 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2355, allocations: 0 / 0.7342 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.2357, allocations: 31.8 kB / 0.7342 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.2357, allocations: 4 kB / 0.7342 GB, free: 10.49 MB / 0.5606 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.0001421/0.2358, allocations: 159.5 kB / 0.7344 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.2359, allocations: 7.953 kB / 0.7344 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.659e-05/0.2359, allocations: 16.72 kB / 0.7344 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2359, allocations: 0 / 0.7344 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2359, allocations: 0 / 0.7344 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2359, allocations: 0 / 0.7344 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.2361, allocations: 137.3 kB / 0.7345 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2361, allocations: 0 / 0.7345 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.492e-05/0.2361, allocations: 11.98 kB / 0.7346 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.2361, allocations: 3.984 kB / 0.7346 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.2362, allocations: 4 kB / 0.7346 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2362, allocations: 0 / 0.7346 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2362, allocations: 4 kB / 0.7346 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005516/0.2367, allocations: 280.3 kB / 0.7348 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.2367, allocations: 15.89 kB / 0.7348 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.2368, allocations: 8.297 kB / 0.7349 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.2369, allocations: 19.98 kB / 0.7349 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.237, allocations: 35.94 kB / 0.7349 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.2371, allocations: 8 kB / 0.7349 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.642e-05/0.2371, allocations: 109.8 kB / 0.735 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2371, allocations: 0 / 0.735 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002245/0.2374, allocations: 28 kB / 0.735 GB, free: 9.582 MB / 0.5606 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.0001069/0.2375, allocations: 95.25 kB / 0.7351 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005949/0.2381, allocations: 347.7 kB / 0.7355 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2381, allocations: 0 / 0.7355 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.2383, allocations: 165 kB / 0.7356 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.2386, allocations: 19.44 kB / 0.7356 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.2391, allocations: 249 kB / 0.7359 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.385e-05/0.2392, allocations: 75.33 kB / 0.736 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.962e-05/0.2393, allocations: 11.98 kB / 0.736 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.2393, allocations: 11.44 kB / 0.736 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.2393, allocations: 0 / 0.736 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of Templates: time 0.005674/0.245, allocations: 2.083 MB / 0.738 GB, free: 6.453 MB / 0.5606 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.184952322393656] Failed to read output from testmodel.py, exit status != 0: 0.2552179489284754 0.27011602100000004 0.037902622000000004 Calling exit ...