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.001314/0.001314, allocations: 75.75 kB / 20.51 MB, free: 1.121 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.001437/0.001437, allocations: 164.2 kB / 23.76 MB, free: 4.191 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.437/1.437, allocations: 177.2 MB / 204.1 MB, free: 8.98 MB / 190.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.9423/0.9423, allocations: 113.9 MB / 374.4 MB, free: 12.88 MB / 350.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.002044/0.002044, allocations: 73.88 kB / 0.555 GB, free: 2.746 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1837, allocations: 89.15 MB / 0.6421 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002679/0.1864, allocations: 1.479 MB / 0.6435 GB, free: 8.078 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009648/0.1873, allocations: 494.8 kB / 0.644 GB, free: 7.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.088e-05/0.1874, allocations: 4 kB / 0.644 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.492e-05/0.1875, allocations: 3.938 kB / 0.644 GB, free: 7.582 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.336e-05/0.1875, allocations: 19.84 kB / 0.644 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.1878, allocations: 47.89 kB / 0.644 GB, free: 7.516 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.188, allocations: 107.7 kB / 0.6441 GB, free: 7.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1881, allocations: 4.188 kB / 0.6442 GB, free: 7.406 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.1883, allocations: 59.81 kB / 0.6442 GB, free: 7.348 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.207e-05/0.1884, allocations: 35.84 kB / 0.6442 GB, free: 7.312 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.1884, allocations: 8 kB / 0.6442 GB, free: 7.305 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.729e-05/0.1884, allocations: 15.94 kB / 0.6443 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.553e-05/0.1885, allocations: 15.92 kB / 0.6443 GB, free: 7.273 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.853e-05/0.1885, allocations: 43.83 kB / 0.6443 GB, free: 7.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.1887, allocations: 91.64 kB / 0.6444 GB, free: 7.141 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1887, allocations: 0 / 0.6444 GB, free: 7.141 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1887, allocations: 0 / 0.6444 GB, free: 7.141 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.1887, allocations: 0 / 0.6444 GB, free: 7.141 MB / 0.545 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.0007267/0.1895, allocations: 377.4 kB / 0.6448 GB, free: 6.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1895, allocations: 8.031 kB / 0.6448 GB, free: 6.723 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.1897, allocations: 20.88 kB / 0.6448 GB, free: 6.703 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.1899, allocations: 141 kB / 0.6449 GB, free: 6.543 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1899, allocations: 12.36 kB / 0.6449 GB, free: 6.531 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.1899, allocations: 8.375 kB / 0.645 GB, free: 6.523 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.1903, allocations: 147.4 kB / 0.6451 GB, free: 6.367 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1903, allocations: 0 / 0.6451 GB, free: 6.367 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.1903, allocations: 7.938 kB / 0.6451 GB, free: 6.359 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.1903, allocations: 0 / 0.6451 GB, free: 6.359 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.1906, allocations: 113.6 kB / 0.6452 GB, free: 6.242 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005272/0.1912, allocations: 276.3 kB / 0.6455 GB, free: 5.941 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.1915, allocations: 132.2 kB / 0.6456 GB, free: 5.797 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.1917, allocations: 98.62 kB / 0.6457 GB, free: 5.691 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.1917, allocations: 0 / 0.6457 GB, free: 5.691 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003309/0.1921, allocations: 157 kB / 0.6458 GB, free: 5.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1921, allocations: 0 / 0.6458 GB, free: 5.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0008056/0.1929, allocations: 334.5 kB / 0.6462 GB, free: 5.168 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/0.193, allocations: 89.09 kB / 0.6462 GB, free: 5.062 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.1931, allocations: 134.1 kB / 0.6464 GB, free: 4.918 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.1931, allocations: 25.7 kB / 0.6464 GB, free: 4.887 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.204e-05/0.1932, allocations: 96.09 kB / 0.6465 GB, free: 4.789 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.1932, allocations: 19.83 kB / 0.6465 GB, free: 4.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.1933, allocations: 33.72 kB / 0.6465 GB, free: 4.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1934, allocations: 326.8 kB / 0.6469 GB, free: 4.402 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.1936, allocations: 123.3 kB / 0.647 GB, free: 4.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.1939, allocations: 123.4 kB / 0.6471 GB, free: 4.137 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.1942, allocations: 185.9 kB / 0.6473 GB, free: 3.934 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1942, allocations: 4.25 kB / 0.6473 GB, free: 3.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005632/0.1948, allocations: 324.4 kB / 0.6476 GB, free: 3.582 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.013e-05/0.1948, allocations: 63.41 kB / 0.6476 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1949, allocations: 4.078 kB / 0.6476 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1949, allocations: 0 / 0.6476 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.195, allocations: 19.91 kB / 0.6477 GB, free: 3.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.195, allocations: 7.984 kB / 0.6477 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.1952, allocations: 23.94 kB / 0.6477 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.1952, allocations: 4 kB / 0.6477 GB, free: 3.449 MB / 0.545 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.0001432/0.1953, allocations: 159.5 kB / 0.6478 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.1953, allocations: 7.953 kB / 0.6479 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.546e-05/0.1954, allocations: 12.77 kB / 0.6479 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1954, allocations: 4 kB / 0.6479 GB, free: 3.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1954, allocations: 0 / 0.6479 GB, free: 3.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1954, allocations: 0 / 0.6479 GB, free: 3.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.1955, allocations: 133.3 kB / 0.648 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1955, allocations: 7.938 kB / 0.648 GB, free: 3.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.554e-05/0.1956, allocations: 15.98 kB / 0.648 GB, free: 3.066 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1956, allocations: 0 / 0.648 GB, free: 3.066 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1956, allocations: 0 / 0.648 GB, free: 3.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1956, allocations: 0 / 0.648 GB, free: 3.066 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1956, allocations: 4 kB / 0.648 GB, free: 3.062 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005356/0.1962, allocations: 284.2 kB / 0.6483 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.1962, allocations: 11.89 kB / 0.6483 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.1962, allocations: 4 kB / 0.6483 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.1963, allocations: 27.97 kB / 0.6483 GB, free: 2.711 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.1965, allocations: 35.95 kB / 0.6484 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.1965, allocations: 4 kB / 0.6484 GB, free: 2.672 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.549e-05/0.1966, allocations: 102.2 kB / 0.6485 GB, free: 2.574 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1966, allocations: 0 / 0.6485 GB, free: 2.574 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002134/0.1968, allocations: 28 kB / 0.6485 GB, free: 2.547 MB / 0.545 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.0001112/0.1969, allocations: 99.19 kB / 0.6486 GB, free: 2.441 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005927/0.1975, allocations: 351.7 kB / 0.6489 GB, free: 2.055 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1975, allocations: 0 / 0.6489 GB, free: 2.055 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.1978, allocations: 161 kB / 0.6491 GB, free: 1.879 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.198, allocations: 21.95 kB / 0.6491 GB, free: 1.859 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005639/0.1986, allocations: 253.2 kB / 0.6493 GB, free: 1.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.569e-05/0.1987, allocations: 79.33 kB / 0.6494 GB, free: 1.473 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.689e-05/0.1987, allocations: 4 kB / 0.6494 GB, free: 1.469 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.1987, allocations: 16.48 kB / 0.6494 GB, free: 1.453 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.1987, allocations: 0 / 0.6494 GB, free: 1.453 MB / 0.545 GB Notification: Performance of Templates: time 0.005339/0.2041, allocations: 2.034 MB / 0.6514 GB, free: 15.44 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6176759720547125] Failed to read output from testmodel.py, exit status != 0: 0.2134415489854291 0.227965309 0.03634168 Calling exit ...