Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.771/2.771, allocations: 285 MB / 292.5 MB, free: 10.51 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00203/0.00203, allocations: 184.9 kB / 360.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.125/2.125, allocations: 205.3 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 96.19 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.886e-05/1.894e-05, allocations: 4 kB / 0.8509 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8573/0.8574, allocations: 115.3 MB / 0.9634 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2422/1.1, allocations: 138.1 MB / 1.098 GB, free: 2.391 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/1.1, allocations: 71.97 kB / 1.098 GB, free: 2.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007258/1.107, allocations: 1.491 MB / 1.1 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.452e-06/1.107, allocations: 0.6875 kB / 1.1 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.007e-05/1.107, allocations: 0.6562 kB / 1.1 GB, free: 0.8633 MB / 0.698 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.0008007/1.108, allocations: 441.2 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/1.108, allocations: 8.906 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.079e-05/1.108, allocations: 7.906 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/1.109, allocations: 199.4 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/1.109, allocations: 4.719 kB / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/1.109, allocations: 4 kB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002113/1.109, allocations: 49.7 kB / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/1.109, allocations: 89.66 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.109, allocations: 0.625 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/1.109, allocations: 1.125 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/1.109, allocations: 0.875 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000774/1.11, allocations: 325.5 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/1.11, allocations: 70.56 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/1.11, allocations: 48.97 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/1.11, allocations: 4 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002665/1.111, allocations: 99.62 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 2.776e-06/1.111, allocations: 0 / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0004685/1.111, allocations: 142.3 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/1.111, allocations: 85.11 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/1.111, allocations: 121.9 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/1.111, allocations: 29.7 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/1.112, allocations: 100 kB / 1.102 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/1.112, allocations: 15.75 kB / 1.102 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.796e-05/1.112, allocations: 4 kB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.112, allocations: 318.8 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/1.112, allocations: 47.98 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/1.112, allocations: 42.98 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.552e-05/1.112, allocations: 23.98 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.112, allocations: 0 / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000431/1.113, allocations: 157.6 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.061e-05/1.113, allocations: 59.41 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/1.113, allocations: 0 / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/1.113, allocations: 5.219 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/1.113, allocations: 15.98 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/1.113, allocations: 0 / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/1.113, allocations: 43.06 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/1.113, allocations: 7.953 kB / 1.102 GB, free: 14.14 MB / 0.7136 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 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001496/1.114, allocations: 153 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/1.114, allocations: 7.906 kB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/1.114, allocations: 12.62 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.114, allocations: 0 / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.114, allocations: 0 / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.114, allocations: 0 / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/1.114, allocations: 174.2 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.114, allocations: 4 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/1.114, allocations: 17.3 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/1.114, allocations: 3.938 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/1.114, allocations: 4 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/1.114, allocations: 0 / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/1.114, allocations: 5.406 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004242/1.115, allocations: 169.6 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.722e-05/1.115, allocations: 89 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/1.115, allocations: 4 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/1.115, allocations: 27.97 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/1.115, allocations: 35.95 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/1.115, allocations: 4 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.155e-05/1.115, allocations: 97.33 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.115, allocations: 8 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003137/1.116, allocations: 23.98 kB / 1.103 GB, free: 13.23 MB / 0.7136 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001759/1.116, allocations: 105.9 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004589/1.116, allocations: 214.8 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.116, allocations: 0 / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002413/1.117, allocations: 125 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/1.117, allocations: 17.14 kB / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005502/1.117, allocations: 138.9 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/1.118, allocations: 0.6885 MB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.66e-05/1.118, allocations: 13.42 kB / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/1.118, allocations: 7.438 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of SimCode: time 9.12e-07/1.118, allocations: 0 / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of Templates: time 0.00569/1.124, allocations: 1.44 MB / 1.106 GB, free: 10.48 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)