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.001122/0.001122, allocations: 80.75 kB / 20.82 MB, free: 3.633 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.001434/0.001434, allocations: 161 kB / 24.25 MB, free: 216 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.9469/0.9469, allocations: 177.2 MB / 204.7 MB, free: 5.453 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 1.844/1.844, allocations: 389.6 MB / 0.6355 GB, free: 12.29 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.232e-06/1.232e-06, allocations: 0 / 0.7753 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.245e-05, allocations: 7.812 kB / 0.7753 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002099/0.002121, allocations: 1.577 MB / 0.7769 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007155/0.002837, allocations: 0.5173 MB / 0.7774 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.971e-05/0.002906, allocations: 5.062 kB / 0.7774 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.003012, allocations: 3.938 kB / 0.7774 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.317e-05/0.003065, allocations: 10.59 kB / 0.7774 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.003301, allocations: 59.8 kB / 0.7774 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.00345, allocations: 101.5 kB / 0.7775 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.645e-05/0.003526, allocations: 13.31 kB / 0.7776 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.003693, allocations: 67.88 kB / 0.7776 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.109e-05/0.003754, allocations: 27.95 kB / 0.7776 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.003773, allocations: 12.88 kB / 0.7777 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.136e-05/0.003824, allocations: 15.98 kB / 0.7777 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.348e-05/0.003858, allocations: 16.7 kB / 0.7777 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.003905, allocations: 31.91 kB / 0.7777 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.004025, allocations: 80.41 kB / 0.7778 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.004027, allocations: 0 / 0.7778 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.012e-06/0.004028, allocations: 1.719 kB / 0.7778 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.004031, allocations: 0 / 0.7778 GB, free: 2.824 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.0003814/0.004412, allocations: 356 kB / 0.7781 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.004444, allocations: 10.41 kB / 0.7781 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.976e-05/0.004544, allocations: 24.92 kB / 0.7782 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.004672, allocations: 126.2 kB / 0.7783 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.004683, allocations: 4.375 kB / 0.7783 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.004697, allocations: 11.81 kB / 0.7783 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.004848, allocations: 128.5 kB / 0.7784 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.004855, allocations: 4.188 kB / 0.7784 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.004865, allocations: 4.125 kB / 0.7784 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.004869, allocations: 0 / 0.7784 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.875e-05/0.004918, allocations: 57.69 kB / 0.7785 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002468/0.005165, allocations: 191 kB / 0.7787 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.377e-05/0.005249, allocations: 79.02 kB / 0.7787 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.005289, allocations: 58.61 kB / 0.7788 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.005299, allocations: 7.938 kB / 0.7788 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.005415, allocations: 121 kB / 0.7789 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.005416, allocations: 0 / 0.7789 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001892/0.005605, allocations: 190.8 kB / 0.7791 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.005647, allocations: 93.03 kB / 0.7792 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.077e-05/0.005718, allocations: 135.4 kB / 0.7793 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.005733, allocations: 29.7 kB / 0.7794 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.005776, allocations: 92.08 kB / 0.7794 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.00579, allocations: 23.83 kB / 0.7795 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.005829, allocations: 31.52 kB / 0.7795 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.005901, allocations: 322.8 kB / 0.7798 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5e-05/0.005951, allocations: 79.39 kB / 0.7799 GB, free: 484 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.745e-05/0.005998, allocations: 91.36 kB / 0.78 GB, free: 380 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.211e-05/0.006081, allocations: 132.8 kB / 0.7801 GB, free: 224 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006083, allocations: 4.969 kB / 0.7801 GB, free: 220 kB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001479/0.006231, allocations: 208.4 kB / 0.7803 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/0.006268, allocations: 66.34 kB / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.006272, allocations: 1.062 kB / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/0.006279, allocations: 0 / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.35e-05/0.006353, allocations: 19.98 kB / 0.7804 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.006355, allocations: 0.8438 kB / 0.7804 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.059e-05/0.006416, allocations: 16.77 kB / 0.7804 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.006425, allocations: 0 / 0.7804 GB, free: 15.87 MB / 0.7448 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.811e-05/0.006503, allocations: 163.2 kB / 0.7806 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/0.00652, allocations: 20.8 kB / 0.7806 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.898e-05/0.006539, allocations: 8.781 kB / 0.7806 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.006542, allocations: 4 kB / 0.7806 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.006544, allocations: 1.438 kB / 0.7806 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.006547, allocations: 0 / 0.7806 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.656e-05/0.006613, allocations: 81.86 kB / 0.7807 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.006617, allocations: 7.969 kB / 0.7807 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.723e-05/0.006644, allocations: 8.656 kB / 0.7807 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.006645, allocations: 1.125 kB / 0.7807 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.006654, allocations: 7.984 kB / 0.7807 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.00666, allocations: 7.938 kB / 0.7807 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.006661, allocations: 0.5625 kB / 0.7807 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.006786, allocations: 168.4 kB / 0.7809 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.006797, allocations: 4.828 kB / 0.7809 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.006814, allocations: 7.984 kB / 0.7809 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.557e-05/0.006859, allocations: 28.61 kB / 0.7809 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-05/0.006934, allocations: 28.66 kB / 0.7809 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.006942, allocations: 7.984 kB / 0.7809 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.129e-05/0.006963, allocations: 29.7 kB / 0.781 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006963, allocations: 0 / 0.781 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001072/0.00707, allocations: 28.89 kB / 0.781 GB, free: 15.21 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 7.328e-05/0.007143, allocations: 81.36 kB / 0.7811 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001771/0.00732, allocations: 268.7 kB / 0.7813 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.007325, allocations: 4 kB / 0.7813 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.425e-05/0.007409, allocations: 130.7 kB / 0.7814 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001079/0.007517, allocations: 20.92 kB / 0.7815 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/0.007997, allocations: 240.1 kB / 0.7817 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.127e-05/0.008028, allocations: 63.34 kB / 0.7818 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.853e-05/0.008057, allocations: 4.812 kB / 0.7818 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.024e-05/0.008147, allocations: 80.39 kB / 0.7818 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.008148, allocations: 0 / 0.7818 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of Templates: time 0.003357/0.0115, allocations: 2.096 MB / 0.7839 GB, free: 12.22 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 -lv LOG_STATS > Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.772943045012653]