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.624/2.624, allocations: 284.8 MB / 297.3 MB, free: 6.293 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.001495/0.001495, allocations: 172 kB / 365.7 MB, free: 2.598 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.055/2.055, allocations: 205.1 MB / 0.6241 GB, free: 8.199 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.001084/0.001084, allocations: 89.12 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.262e-05/3.278e-05, allocations: 4 kB / 0.8574 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7963/0.7963, allocations: 115.2 MB / 0.97 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2526/1.049, allocations: 138.8 MB / 1.105 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/1.049, allocations: 73.17 kB / 1.106 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.007557/1.057, allocations: 1.502 MB / 1.107 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.974e-06/1.057, allocations: 4 kB / 1.107 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.879e-06/1.057, allocations: 0 / 1.107 GB, free: 12.11 MB / 0.7136 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.0008419/1.058, allocations: 437 kB / 1.107 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/1.058, allocations: 12.03 kB / 1.107 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/1.058, allocations: 9.094 kB / 1.107 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/1.058, allocations: 187 kB / 1.108 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/1.058, allocations: 0.875 kB / 1.108 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/1.058, allocations: 12 kB / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/1.059, allocations: 100.8 kB / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.059, allocations: 3.938 kB / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/1.059, allocations: 8 kB / 1.108 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/1.059, allocations: 0 / 1.108 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/1.059, allocations: 47.98 kB / 1.108 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008454/1.06, allocations: 345.3 kB / 1.108 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/1.06, allocations: 71.44 kB / 1.108 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/1.06, allocations: 61.19 kB / 1.108 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/1.06, allocations: 3.938 kB / 1.108 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002859/1.061, allocations: 103.4 kB / 1.108 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/1.061, allocations: 3.031 kB / 1.108 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0005298/1.061, allocations: 180.4 kB / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/1.061, allocations: 85.11 kB / 1.109 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/1.061, allocations: 118.3 kB / 1.109 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/1.061, allocations: 29.7 kB / 1.109 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.622e-05/1.062, allocations: 100 kB / 1.109 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/1.062, allocations: 15.75 kB / 1.109 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/1.062, allocations: 10.97 kB / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.062, allocations: 322.8 kB / 1.109 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/1.062, allocations: 43.98 kB / 1.109 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/1.062, allocations: 48 kB / 1.109 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/1.062, allocations: 86.38 kB / 1.109 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.062, allocations: 0 / 1.109 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005125/1.063, allocations: 224 kB / 1.11 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.017e-05/1.063, allocations: 67.39 kB / 1.11 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.063, allocations: 0 / 1.11 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/1.063, allocations: 0 / 1.11 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/1.063, allocations: 19.98 kB / 1.11 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/1.063, allocations: 3.953 kB / 1.11 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/1.064, allocations: 39.88 kB / 1.11 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/1.064, allocations: 4 kB / 1.11 GB, free: 9.121 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.0001359/1.064, allocations: 139.2 kB / 1.11 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/1.064, allocations: 7.906 kB / 1.11 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.455e-05/1.064, allocations: 14.42 kB / 1.11 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/1.064, allocations: 4 kB / 1.11 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.064, allocations: 0 / 1.11 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.064, allocations: 3.953 kB / 1.11 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/1.064, allocations: 189.6 kB / 1.11 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.064, allocations: 4 kB / 1.11 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/1.064, allocations: 19.92 kB / 1.11 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/1.064, allocations: 7.031 kB / 1.11 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/1.064, allocations: 4 kB / 1.11 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/1.064, allocations: 4 kB / 1.11 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.064, allocations: 0 / 1.11 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004819/1.065, allocations: 215.5 kB / 1.11 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/1.065, allocations: 81.02 kB / 1.11 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/1.065, allocations: 4 kB / 1.11 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/1.065, allocations: 31.97 kB / 1.11 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/1.066, allocations: 31.95 kB / 1.11 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/1.066, allocations: 4.688 kB / 1.11 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.586e-05/1.066, allocations: 101.1 kB / 1.111 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.066, allocations: 8 kB / 1.111 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002843/1.066, allocations: 20 kB / 1.111 GB, free: 8.148 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.0001622/1.066, allocations: 111.1 kB / 1.111 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004663/1.067, allocations: 226.8 kB / 1.111 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.067, allocations: 0 / 1.111 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002505/1.067, allocations: 115.4 kB / 1.111 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/1.067, allocations: 20.72 kB / 1.111 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005589/1.068, allocations: 147.8 kB / 1.111 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/1.068, allocations: 0.6992 MB / 1.112 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.404e-05/1.068, allocations: 5.438 kB / 1.112 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.382e-05/1.068, allocations: 15.42 kB / 1.112 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of SimCode: time 1.123e-06/1.068, allocations: 3.938 kB / 1.112 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of Templates: time 0.005832/1.074, allocations: 1.536 MB / 1.113 GB, free: 5.25 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)