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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 114.8 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 190.7 kB / 22.98 MB, free: 5.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 225.6 MB / 251.8 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8799/0.8799, allocations: 149.6 MB / 456.6 MB, free: 1.164 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00197/0.00197, allocations: 72.48 kB / 0.6328 GB, free: 8.988 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1647, allocations: 87.87 MB / 0.7186 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002746/0.1674, allocations: 1.489 MB / 0.7201 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000845/0.1683, allocations: 474.9 kB / 0.7205 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.1683, allocations: 0 / 0.7205 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.055e-05/0.1684, allocations: 3.938 kB / 0.7205 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.876e-05/0.1685, allocations: 15.86 kB / 0.7206 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.1687, allocations: 31.91 kB / 0.7206 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000173/0.1688, allocations: 107.7 kB / 0.7207 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.141e-05/0.1689, allocations: 8.188 kB / 0.7207 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.1691, allocations: 51.84 kB / 0.7207 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.88e-05/0.1692, allocations: 43.83 kB / 0.7208 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.1692, allocations: 8 kB / 0.7208 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.459e-05/0.1692, allocations: 8 kB / 0.7208 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.1693, allocations: 23.91 kB / 0.7208 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.606e-05/0.1693, allocations: 35.86 kB / 0.7209 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.1695, allocations: 83.69 kB / 0.7209 GB, free: 14.65 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1695, allocations: 7.875 kB / 0.7209 GB, free: 14.64 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1695, allocations: 4 kB / 0.7209 GB, free: 14.64 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.1695, allocations: 0 / 0.7209 GB, free: 14.64 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.0006856/0.1702, allocations: 377.4 kB / 0.7213 GB, free: 14.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1702, allocations: 8.625 kB / 0.7213 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.1702, allocations: 12.89 kB / 0.7213 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.1704, allocations: 130.5 kB / 0.7215 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1704, allocations: 4.375 kB / 0.7215 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.1705, allocations: 4.375 kB / 0.7215 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.1707, allocations: 125.7 kB / 0.7216 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1708, allocations: 0 / 0.7216 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1708, allocations: 0 / 0.7216 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1708, allocations: 4 kB / 0.7216 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002887/0.1711, allocations: 91.84 kB / 0.7217 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.1716, allocations: 307.8 kB / 0.722 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.1719, allocations: 98.5 kB / 0.7221 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.1721, allocations: 64.94 kB / 0.7221 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.1721, allocations: 0 / 0.7221 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002972/0.1724, allocations: 131.3 kB / 0.7222 GB, free: 13.17 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1724, allocations: 0 / 0.7222 GB, free: 13.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0006824/0.1731, allocations: 271.2 kB / 0.7225 GB, free: 12.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.1731, allocations: 85.11 kB / 0.7226 GB, free: 12.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.1732, allocations: 140.5 kB / 0.7227 GB, free: 12.65 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.1733, allocations: 29.7 kB / 0.7227 GB, free: 12.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.1733, allocations: 96.12 kB / 0.7228 GB, free: 12.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.1733, allocations: 19.84 kB / 0.7229 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.1734, allocations: 29.7 kB / 0.7229 GB, free: 12.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1735, allocations: 318.8 kB / 0.7232 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.1737, allocations: 71.89 kB / 0.7233 GB, free: 12.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.1739, allocations: 67.94 kB / 0.7233 GB, free: 12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/0.1742, allocations: 185.9 kB / 0.7235 GB, free: 11.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1742, allocations: 0 / 0.7235 GB, free: 11.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004827/0.1747, allocations: 256.9 kB / 0.7237 GB, free: 11.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.179e-05/0.1748, allocations: 71.39 kB / 0.7238 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.1748, allocations: 0 / 0.7238 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.1748, allocations: 0 / 0.7238 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.1749, allocations: 15.98 kB / 0.7238 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1749, allocations: 0 / 0.7238 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.175, allocations: 27.86 kB / 0.7239 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.1751, allocations: 8 kB / 0.7239 GB, free: 11.4 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.0001332/0.1752, allocations: 163.5 kB / 0.724 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.1752, allocations: 7.953 kB / 0.724 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.1752, allocations: 12.38 kB / 0.724 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1752, allocations: 0 / 0.724 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1752, allocations: 0 / 0.724 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.1752, allocations: 0 / 0.724 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.1754, allocations: 168.7 kB / 0.7242 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1754, allocations: 0 / 0.7242 GB, free: 10.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.392e-05/0.1755, allocations: 15.92 kB / 0.7242 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1755, allocations: 0 / 0.7242 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.1755, allocations: 11.98 kB / 0.7242 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1755, allocations: 0 / 0.7242 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1755, allocations: 0 / 0.7242 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000477/0.176, allocations: 250.9 kB / 0.7245 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.509e-05/0.176, allocations: 7.953 kB / 0.7245 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.176, allocations: 4 kB / 0.7245 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.1762, allocations: 23.97 kB / 0.7245 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.1763, allocations: 39.95 kB / 0.7245 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.1763, allocations: 4 kB / 0.7245 GB, free: 10.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.279e-05/0.1764, allocations: 99.27 kB / 0.7246 GB, free: 10.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1764, allocations: 0 / 0.7246 GB, free: 10.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001965/0.1766, allocations: 23.94 kB / 0.7247 GB, free: 10.5 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 9.654e-05/0.1767, allocations: 103.2 kB / 0.7248 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000494/0.1771, allocations: 258.7 kB / 0.725 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1771, allocations: 0 / 0.725 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.1774, allocations: 131.3 kB / 0.7251 GB, free: 9.969 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.1776, allocations: 22.86 kB / 0.7252 GB, free: 9.949 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004896/0.1781, allocations: 227.4 kB / 0.7254 GB, free: 9.695 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.1784, allocations: 0.6885 MB / 0.726 GB, free: 8.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.819e-05/0.1784, allocations: 11.73 kB / 0.7261 GB, free: 8.969 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.1785, allocations: 11.44 kB / 0.7261 GB, free: 8.957 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.1785, allocations: 0 / 0.7261 GB, free: 8.957 MB / 0.545 GB Notification: Performance of Templates: time 0.004531/0.183, allocations: 1.952 MB / 0.728 GB, free: 7.02 MB / 0.545 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: 5.0566670820117] Failed to read output from testmodel.py, exit status != 0: 0.19086223561316729 0.20459537500000002 0.032193511 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ffa802757b0>