Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0008918/0.0008918, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001006/0.001006, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 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 0.9844/0.9844, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.012/2.012, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.7752 GB, free: 5.477 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.957e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002733/0.002752, allocations: 1.578 MB / 0.7767 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009452/0.003698, allocations: 0.5226 MB / 0.7772 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.59e-05/0.003763, allocations: 0 / 0.7772 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.003864, allocations: 7.938 kB / 0.7772 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.833e-05/0.003932, allocations: 14.02 kB / 0.7772 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.004188, allocations: 52.5 kB / 0.7773 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.004364, allocations: 105.2 kB / 0.7774 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.23e-05/0.004446, allocations: 12.7 kB / 0.7774 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.00465, allocations: 76.42 kB / 0.7775 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.008e-05/0.00473, allocations: 27.95 kB / 0.7775 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.004754, allocations: 8.531 kB / 0.7775 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.806e-05/0.004812, allocations: 17.5 kB / 0.7775 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.305e-05/0.004845, allocations: 11.92 kB / 0.7775 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.13e-05/0.004896, allocations: 35.91 kB / 0.7776 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.005045, allocations: 79.78 kB / 0.7776 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005047, allocations: 0.9688 kB / 0.7776 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.11e-07/0.005048, allocations: 0 / 0.7776 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.005051, allocations: 0 / 0.7776 GB, free: 2.961 MB / 0.7292 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.0004921/0.005543, allocations: 349.2 kB / 0.778 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.005581, allocations: 13.34 kB / 0.778 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.005712, allocations: 17.7 kB / 0.778 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.005877, allocations: 134.2 kB / 0.7781 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.005891, allocations: 8.375 kB / 0.7781 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.005907, allocations: 9.281 kB / 0.7781 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.006103, allocations: 124.6 kB / 0.7783 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.006111, allocations: 1.281 kB / 0.7783 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.006124, allocations: 8.125 kB / 0.7783 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.006131, allocations: 0 / 0.7783 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.041e-05/0.006201, allocations: 58.67 kB / 0.7783 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.006514, allocations: 191.5 kB / 0.7785 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.006619, allocations: 81.59 kB / 0.7786 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.026e-05/0.00668, allocations: 58.67 kB / 0.7786 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.006691, allocations: 0 / 0.7786 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.006837, allocations: 122.2 kB / 0.7788 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.006838, allocations: 3.938 kB / 0.7788 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0002387/0.007077, allocations: 198.7 kB / 0.779 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.007119, allocations: 81.61 kB / 0.779 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.544e-05/0.007204, allocations: 131.4 kB / 0.7792 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.007224, allocations: 29.7 kB / 0.7792 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.007271, allocations: 93.67 kB / 0.7793 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.007293, allocations: 19.89 kB / 0.7793 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/0.007351, allocations: 29.7 kB / 0.7793 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.007447, allocations: 322.8 kB / 0.7796 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.671e-05/0.007523, allocations: 79.39 kB / 0.7797 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-05/0.007596, allocations: 84.16 kB / 0.7798 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.007711, allocations: 132.7 kB / 0.7799 GB, free: 384 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.007713, allocations: 1.281 kB / 0.7799 GB, free: 384 kB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001849/0.007898, allocations: 208.6 kB / 0.7801 GB, free: 144 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.807e-05/0.007946, allocations: 67.39 kB / 0.7802 GB, free: 64 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.007951, allocations: 1.719 kB / 0.7802 GB, free: 64 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.007967, allocations: 4 kB / 0.7802 GB, free: 60 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.008055, allocations: 19.92 kB / 0.7802 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.008057, allocations: 0 / 0.7802 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.506e-05/0.008142, allocations: 21.17 kB / 0.7802 GB, free: 20 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.008156, allocations: 4 kB / 0.7802 GB, free: 16 kB / 0.7292 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.0001108/0.008267, allocations: 155 kB / 0.7804 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.008291, allocations: 15.92 kB / 0.7804 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.008318, allocations: 17.89 kB / 0.7804 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.00832, allocations: 0 / 0.7804 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.008322, allocations: 0 / 0.7804 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.008325, allocations: 0.9375 kB / 0.7804 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.764e-05/0.008413, allocations: 81.88 kB / 0.7805 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.008415, allocations: 4.5 kB / 0.7805 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.334e-05/0.008459, allocations: 8.766 kB / 0.7805 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.00846, allocations: 0 / 0.7805 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.008471, allocations: 4 kB / 0.7805 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.008473, allocations: 4.469 kB / 0.7805 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.008474, allocations: 1.781 kB / 0.7805 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.008646, allocations: 176.4 kB / 0.7807 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.008658, allocations: 7.953 kB / 0.7807 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.008681, allocations: 7.938 kB / 0.7807 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.008755, allocations: 26.97 kB / 0.7807 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.464e-05/0.00885, allocations: 31.97 kB / 0.7807 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.008859, allocations: 0 / 0.7807 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.292e-05/0.008892, allocations: 27.64 kB / 0.7808 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008892, allocations: 0 / 0.7808 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001879/0.00908, allocations: 28 kB / 0.7808 GB, free: 15.38 MB / 0.7448 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 8.383e-05/0.009164, allocations: 80.56 kB / 0.7809 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.009396, allocations: 279.7 kB / 0.7811 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.0094, allocations: 0 / 0.7811 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.009509, allocations: 129.9 kB / 0.7813 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.009627, allocations: 15.94 kB / 0.7813 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.01016, allocations: 259 kB / 0.7815 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.831e-05/0.0102, allocations: 59.34 kB / 0.7816 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.754e-05/0.01024, allocations: 6.094 kB / 0.7816 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.01036, allocations: 83.36 kB / 0.7817 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of SimCode: time 6.81e-07/0.01036, allocations: 0 / 0.7817 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of Templates: time 0.004337/0.0147, allocations: 2.099 MB / 0.7837 GB, free: 12.36 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.860780619550496]