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.001362/0.001362, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001495/0.001495, allocations: 211.2 kB / 23.75 MB, free: 4.445 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.9659/0.9659, allocations: 149.9 MB / 463.8 MB, free: 10.3 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.002039/0.002039, allocations: 70.33 kB / 0.6423 GB, free: 9.633 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1983, allocations: 89.16 MB / 0.7293 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.003079/0.2014, allocations: 1.488 MB / 0.7308 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.2025, allocations: 498.8 kB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.478e-05/0.2025, allocations: 0 / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.851e-05/0.2026, allocations: 11.94 kB / 0.7313 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.166e-05/0.2027, allocations: 15.84 kB / 0.7313 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.203, allocations: 47.89 kB / 0.7313 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.2032, allocations: 107.7 kB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.2033, allocations: 8.172 kB / 0.7315 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.2035, allocations: 55.83 kB / 0.7315 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.807e-05/0.2036, allocations: 31.84 kB / 0.7315 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.2036, allocations: 8 kB / 0.7315 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.68e-05/0.2037, allocations: 19.98 kB / 0.7316 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.2037, allocations: 19.92 kB / 0.7316 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.57e-05/0.2038, allocations: 39.84 kB / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.204, allocations: 87.64 kB / 0.7317 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.204, allocations: 0 / 0.7317 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.274e-06/0.204, allocations: 0 / 0.7317 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.204, allocations: 0 / 0.7317 GB, free: 14.09 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.0007578/0.2048, allocations: 377.4 kB / 0.7321 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.2048, allocations: 12.03 kB / 0.7321 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.205, allocations: 20.88 kB / 0.7321 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.2052, allocations: 146.3 kB / 0.7322 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.2053, allocations: 4.375 kB / 0.7322 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.2053, allocations: 4.375 kB / 0.7322 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.2056, allocations: 147.4 kB / 0.7324 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2056, allocations: 0 / 0.7324 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.2057, allocations: 8 kB / 0.7324 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2057, allocations: 0 / 0.7324 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003298/0.206, allocations: 117.6 kB / 0.7325 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000539/0.2065, allocations: 272.3 kB / 0.7328 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003513/0.2069, allocations: 124.2 kB / 0.7329 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.2071, allocations: 98.62 kB / 0.733 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.2071, allocations: 0 / 0.733 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003171/0.2074, allocations: 157 kB / 0.7331 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 3.396e-06/0.2074, allocations: 7.922 kB / 0.7331 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0007715/0.2082, allocations: 342.5 kB / 0.7335 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/0.2083, allocations: 85.11 kB / 0.7335 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.2084, allocations: 132.4 kB / 0.7337 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.2084, allocations: 29.7 kB / 0.7337 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.317e-05/0.2085, allocations: 104.1 kB / 0.7338 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.2086, allocations: 15.84 kB / 0.7338 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.564e-05/0.2086, allocations: 33.7 kB / 0.7338 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.2088, allocations: 322.8 kB / 0.7342 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.209, allocations: 123.3 kB / 0.7343 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.2092, allocations: 119.4 kB / 0.7344 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.2096, allocations: 193.8 kB / 0.7346 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2096, allocations: 0 / 0.7346 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005656/0.2102, allocations: 320.3 kB / 0.7349 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.954e-05/0.2102, allocations: 59.41 kB / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2102, allocations: 0 / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2102, allocations: 0 / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.2104, allocations: 27.91 kB / 0.735 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.2104, allocations: 0 / 0.735 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.2105, allocations: 23.94 kB / 0.735 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.2105, allocations: 7.984 kB / 0.735 GB, free: 10.41 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.0001542/0.2107, allocations: 155.5 kB / 0.7351 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.2107, allocations: 7.953 kB / 0.7351 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.2107, allocations: 16.7 kB / 0.7352 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.2108, allocations: 96 / 0.7352 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2108, allocations: 3.938 kB / 0.7352 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2108, allocations: 0 / 0.7352 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.2109, allocations: 137.5 kB / 0.7353 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2109, allocations: 0 / 0.7353 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.327e-05/0.211, allocations: 15.98 kB / 0.7353 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.211, allocations: 0 / 0.7353 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.211, allocations: 4 kB / 0.7353 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.211, allocations: 4 kB / 0.7353 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.211, allocations: 3.984 kB / 0.7353 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005394/0.2116, allocations: 280.3 kB / 0.7356 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.2116, allocations: 23.83 kB / 0.7356 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.2116, allocations: 0 / 0.7356 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.2117, allocations: 23.97 kB / 0.7356 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.2119, allocations: 35.95 kB / 0.7357 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.2119, allocations: 4 kB / 0.7357 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.852e-05/0.212, allocations: 99.27 kB / 0.7358 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.212, allocations: 0 / 0.7358 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002038/0.2122, allocations: 24 kB / 0.7358 GB, free: 9.504 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.0001186/0.2123, allocations: 107.2 kB / 0.7359 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005931/0.2129, allocations: 343.8 kB / 0.7362 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2129, allocations: 0 / 0.7362 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.2132, allocations: 157 kB / 0.7364 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.2134, allocations: 24.7 kB / 0.7364 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005847/0.2139, allocations: 278.7 kB / 0.7367 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.402e-05/0.214, allocations: 75.33 kB / 0.7367 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.2141, allocations: 15.44 kB / 0.7367 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.2141, allocations: 0 / 0.7367 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of Templates: time 0.003334/0.2174, allocations: 1.505 MB / 0.7382 GB, free: 6.902 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: 8.248921575024724] Failed to read output from testmodel.py, exit status != 0: 0.2262413538992405 0.241683634 0.034601476 Calling exit ...