Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.278/2.278, allocations: 252.6 MB / 265.2 MB, free: 5.832 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001473/0.001473, allocations: 189.5 kB / 324.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.156/2.156, allocations: 205.4 MB / 0.5754 GB, free: 10.46 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 98.19 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.475e-05/3.493e-05, allocations: 4 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1995, allocations: 106.2 MB / 0.8949 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8802/1.08, allocations: 132.4 MB / 1.024 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/1.08, allocations: 73.2 kB / 1.024 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007177/1.087, allocations: 1.506 MB / 1.026 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.814e-06/1.087, allocations: 0 / 1.026 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.378e-06/1.087, allocations: 4 kB / 1.026 GB, free: 0.7188 MB / 0.6355 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.000721/1.088, allocations: 432 kB / 1.026 GB, free: 252 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/1.088, allocations: 8.031 kB / 1.026 GB, free: 244 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.554e-05/1.088, allocations: 15.86 kB / 1.026 GB, free: 228 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/1.088, allocations: 191.7 kB / 1.026 GB, free: 4 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/1.089, allocations: 7.984 kB / 1.026 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/1.089, allocations: 8 kB / 1.026 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/1.089, allocations: 105.1 kB / 1.026 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/1.089, allocations: 0 / 1.026 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/1.089, allocations: 0 / 1.026 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/1.089, allocations: 0 / 1.026 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/1.089, allocations: 58.23 kB / 1.027 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007342/1.09, allocations: 335.1 kB / 1.027 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/1.09, allocations: 79.19 kB / 1.027 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/1.09, allocations: 50.05 kB / 1.027 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/1.09, allocations: 4 kB / 1.027 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/1.091, allocations: 111.1 kB / 1.027 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 2.274e-06/1.091, allocations: 0 / 1.027 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0005023/1.091, allocations: 177.6 kB / 1.027 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/1.091, allocations: 88.53 kB / 1.027 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/1.091, allocations: 127.7 kB / 1.027 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/1.091, allocations: 29.7 kB / 1.027 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/1.091, allocations: 87.14 kB / 1.028 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/1.091, allocations: 23.62 kB / 1.028 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.658e-05/1.092, allocations: 4 kB / 1.028 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.092, allocations: 326.1 kB / 1.028 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/1.092, allocations: 46.67 kB / 1.028 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/1.092, allocations: 49.36 kB / 1.028 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/1.092, allocations: 85.83 kB / 1.028 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.092, allocations: 0 / 1.028 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005353/1.093, allocations: 221.3 kB / 1.028 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.565e-05/1.093, allocations: 72.52 kB / 1.028 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.093, allocations: 0 / 1.028 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/1.093, allocations: 0 / 1.028 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/1.093, allocations: 23.94 kB / 1.028 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/1.093, allocations: 0 / 1.028 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/1.093, allocations: 27.97 kB / 1.028 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/1.093, allocations: 7.75 kB / 1.028 GB, free: 13.96 MB / 0.6511 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.0001357/1.094, allocations: 141.4 kB / 1.029 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/1.094, allocations: 19.89 kB / 1.029 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.087e-05/1.094, allocations: 8.125 kB / 1.029 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/1.094, allocations: 0 / 1.029 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.094, allocations: 3.953 kB / 1.029 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/1.094, allocations: 0 / 1.029 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/1.094, allocations: 192.4 kB / 1.029 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/1.094, allocations: 0 / 1.029 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/1.094, allocations: 15.98 kB / 1.029 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/1.094, allocations: 0 / 1.029 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/1.094, allocations: 8 kB / 1.029 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.094, allocations: 0 / 1.029 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.094, allocations: 0 / 1.029 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/1.095, allocations: 214.6 kB / 1.029 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/1.095, allocations: 85.02 kB / 1.029 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/1.095, allocations: 7.562 kB / 1.029 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/1.095, allocations: 32.78 kB / 1.029 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/1.095, allocations: 37.92 kB / 1.029 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/1.095, allocations: 7.938 kB / 1.029 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.123e-05/1.095, allocations: 100.4 kB / 1.029 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.095, allocations: 0 / 1.029 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002843/1.096, allocations: 35.39 kB / 1.029 GB, free: 13.04 MB / 0.6511 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.0001477/1.096, allocations: 105 kB / 1.029 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004186/1.096, allocations: 226.7 kB / 1.03 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.096, allocations: 0 / 1.03 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002533/1.097, allocations: 128.8 kB / 1.03 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/1.097, allocations: 4.688 kB / 1.03 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000502/1.097, allocations: 148.4 kB / 1.03 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/1.098, allocations: 0.6887 MB / 1.031 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.742e-05/1.098, allocations: 16.17 kB / 1.031 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/1.098, allocations: 7.438 kB / 1.031 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of SimCode: time 7.41e-07/1.098, allocations: 0 / 1.031 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of Templates: time 0.005692/1.103, allocations: 1.543 MB / 1.032 GB, free: 10.2 MB / 0.6511 GB