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.001303/0.001303, allocations: 121.3 kB / 17.81 MB, free: 5.273 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.001341/0.001341, allocations: 193.4 kB / 20.74 MB, free: 2.344 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.369/1.369, allocations: 225.6 MB / 249.1 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] 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.8049/0.8049, allocations: 128.4 MB / 432.4 MB, free: 13.28 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.001924/0.001924, allocations: 75.86 kB / 0.5987 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3364, allocations: 83.27 MB / 0.68 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.0021/0.3385, allocations: 1.48 MB / 0.6814 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005603/0.3391, allocations: 476.3 kB / 0.6819 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.3391, allocations: 1.344 kB / 0.6819 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.214e-05/0.3392, allocations: 7.922 kB / 0.6819 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.411e-05/0.3392, allocations: 13.3 kB / 0.6819 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.3394, allocations: 37.27 kB / 0.6819 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.3395, allocations: 104.5 kB / 0.682 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.524e-05/0.3396, allocations: 9.781 kB / 0.6821 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.874e-05/0.3397, allocations: 45.89 kB / 0.6821 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.144e-05/0.3398, allocations: 46.78 kB / 0.6821 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.3398, allocations: 8.812 kB / 0.6822 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.3398, allocations: 7.406 kB / 0.6822 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.798e-05/0.3399, allocations: 15.75 kB / 0.6822 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.315e-05/0.3399, allocations: 44.39 kB / 0.6822 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.34, allocations: 75.94 kB / 0.6823 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.34, allocations: 0 / 0.6823 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.34, allocations: 3.984 kB / 0.6823 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.3401, allocations: 0 / 0.6823 GB, free: 5.242 MB / 0.4981 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.0005639/0.3406, allocations: 453.4 kB / 0.6827 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.3406, allocations: 9 kB / 0.6827 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.3407, allocations: 10.61 kB / 0.6827 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.3408, allocations: 196.9 kB / 0.6829 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3408, allocations: 4.75 kB / 0.6829 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.3409, allocations: 5.938 kB / 0.6829 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.3411, allocations: 118.9 kB / 0.6831 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3411, allocations: 0 / 0.6831 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.3412, allocations: 10.36 kB / 0.6831 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3412, allocations: 5.062 kB / 0.6831 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/0.3414, allocations: 86.48 kB / 0.6832 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.3418, allocations: 327.4 kB / 0.6835 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.3421, allocations: 102.2 kB / 0.6836 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.3423, allocations: 67.12 kB / 0.6836 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.3423, allocations: 1.375 kB / 0.6836 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002553/0.3426, allocations: 127.4 kB / 0.6838 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.3426, allocations: 3.938 kB / 0.6838 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006374/0.3432, allocations: 273.5 kB / 0.684 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.3432, allocations: 88.23 kB / 0.6841 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.902e-05/0.3433, allocations: 133.6 kB / 0.6842 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.3433, allocations: 28.36 kB / 0.6843 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.3434, allocations: 99.41 kB / 0.6843 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.3434, allocations: 24.34 kB / 0.6844 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/0.3434, allocations: 29.98 kB / 0.6844 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.54e-05/0.3435, allocations: 320.3 kB / 0.6847 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.3436, allocations: 65.3 kB / 0.6848 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.3438, allocations: 66.97 kB / 0.6848 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.3441, allocations: 187 kB / 0.685 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3441, allocations: 0 / 0.685 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004331/0.3445, allocations: 253.6 kB / 0.6853 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.3446, allocations: 68.77 kB / 0.6853 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.3446, allocations: 160 / 0.6853 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3446, allocations: 1.281 kB / 0.6853 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.3447, allocations: 17.2 kB / 0.6853 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3447, allocations: 3.984 kB / 0.6853 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.3448, allocations: 29.2 kB / 0.6854 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.3449, allocations: 4.594 kB / 0.6854 GB, free: 2.57 MB / 0.4981 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 7.529e-05/0.3449, allocations: 162.2 kB / 0.6855 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.3449, allocations: 9.266 kB / 0.6855 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.204e-05/0.345, allocations: 10.16 kB / 0.6855 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.345, allocations: 5.156 kB / 0.6855 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.345, allocations: 7.938 kB / 0.6856 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.345, allocations: 0 / 0.6856 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.684e-05/0.3451, allocations: 193.6 kB / 0.6857 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3451, allocations: 0 / 0.6857 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.284e-05/0.3451, allocations: 16.36 kB / 0.6858 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3452, allocations: 0 / 0.6858 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.3452, allocations: 7.078 kB / 0.6858 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3452, allocations: 0 / 0.6858 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3452, allocations: 0.875 kB / 0.6858 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004247/0.3456, allocations: 249 kB / 0.686 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.017e-05/0.3456, allocations: 83.19 kB / 0.6861 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.3456, allocations: 7.562 kB / 0.6861 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.3458, allocations: 20.31 kB / 0.6861 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.3459, allocations: 38.38 kB / 0.6861 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.3459, allocations: 10.73 kB / 0.6862 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.135e-05/0.3459, allocations: 102.8 kB / 0.6863 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.3459, allocations: 0 / 0.6863 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002003/0.3461, allocations: 25.34 kB / 0.6863 GB, free: 1.75 MB / 0.4981 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 7.398e-05/0.3462, allocations: 104.8 kB / 0.6864 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004324/0.3466, allocations: 254.5 kB / 0.6866 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3466, allocations: 0 / 0.6866 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.3468, allocations: 134 kB / 0.6867 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.347, allocations: 13.92 kB / 0.6868 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.3475, allocations: 252.2 kB / 0.687 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.243e-05/0.3476, allocations: 0.6928 MB / 0.6877 GB, free: 464 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/0.3476, allocations: 11.84 kB / 0.6877 GB, free: 456 kB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.3476, allocations: 0 / 0.6877 GB, free: 456 kB / 0.4981 GB Notification: Performance of Templates: time 0.003039/0.3506, allocations: 1.453 MB / 0.6891 GB, free: 15.71 MB / 0.5137 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: 7.369812251999974] Failed to read output from testmodel.py, exit status != 0: 0.35855211899615824 0.37011401800000004 0.027504171 Calling exit ...