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.262/2.262, allocations: 253.2 MB / 260.6 MB, free: 7.406 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.001445/0.001444, allocations: 191.4 kB / 319.9 MB, free: 3.094 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.166/2.166, allocations: 205.6 MB / 0.5708 GB, free: 15.3 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.001115/0.001115, allocations: 90.69 kB / 0.6751 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.34e-05/2.352e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2172, allocations: 106.3 MB / 0.8887 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9092/1.126, allocations: 132.7 MB / 1.018 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/1.127, allocations: 73.39 kB / 1.018 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007271/1.134, allocations: 1.503 MB / 1.02 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.505e-06/1.134, allocations: 0 / 1.02 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.091e-05/1.134, allocations: 0 / 1.02 GB, free: 3.293 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.0007436/1.135, allocations: 432.8 kB / 1.02 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/1.135, allocations: 12.02 kB / 1.02 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.477e-05/1.135, allocations: 15.86 kB / 1.02 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/1.135, allocations: 188.9 kB / 1.02 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/1.135, allocations: 4 kB / 1.02 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/1.135, allocations: 4 kB / 1.02 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001955/1.136, allocations: 47.86 kB / 1.02 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/1.136, allocations: 95.36 kB / 1.021 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.136, allocations: 0 / 1.021 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/1.136, allocations: 0 / 1.021 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/1.136, allocations: 8 kB / 1.021 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007228/1.137, allocations: 315.2 kB / 1.021 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/1.137, allocations: 74.44 kB / 1.021 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/1.137, allocations: 49.11 kB / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/1.137, allocations: 2.75 kB / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002573/1.137, allocations: 107 kB / 1.021 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.425e-06/1.137, allocations: 0 / 1.021 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0004472/1.138, allocations: 139.5 kB / 1.021 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/1.138, allocations: 88.17 kB / 1.021 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/1.138, allocations: 122.1 kB / 1.021 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/1.138, allocations: 29.7 kB / 1.021 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.91e-05/1.138, allocations: 94.75 kB / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/1.138, allocations: 18.94 kB / 1.022 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.699e-05/1.138, allocations: 4 kB / 1.022 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.138, allocations: 320.9 kB / 1.022 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/1.138, allocations: 41 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/1.139, allocations: 41.8 kB / 1.022 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.558e-05/1.139, allocations: 28.36 kB / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.139, allocations: 0 / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004212/1.139, allocations: 159.1 kB / 1.022 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.371e-05/1.139, allocations: 63.39 kB / 1.022 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/1.139, allocations: 64 / 1.022 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/1.139, allocations: 4 kB / 1.022 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/1.14, allocations: 23.67 kB / 1.022 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/1.14, allocations: 0 / 1.022 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/1.14, allocations: 35.92 kB / 1.022 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/1.14, allocations: 4.156 kB / 1.022 GB, free: 0.7773 MB / 0.6355 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.0001343/1.14, allocations: 138.4 kB / 1.022 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/1.14, allocations: 7.906 kB / 1.022 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/1.14, allocations: 16.3 kB / 1.022 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/1.14, allocations: 0 / 1.022 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.14, allocations: 3.938 kB / 1.022 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.14, allocations: 0 / 1.022 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/1.14, allocations: 176.5 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.14, allocations: 0 / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/1.141, allocations: 15.98 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/1.141, allocations: 96 / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/1.141, allocations: 3.938 kB / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.141, allocations: 4 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/1.141, allocations: 3.984 kB / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/1.141, allocations: 180.9 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/1.141, allocations: 84.58 kB / 1.023 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/1.141, allocations: 7.984 kB / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/1.141, allocations: 19.98 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/1.142, allocations: 43.06 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/1.142, allocations: 4 kB / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001053/1.142, allocations: 98.72 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.142, allocations: 0 / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003386/1.142, allocations: 20 kB / 1.023 GB, free: 15.95 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.0001668/1.142, allocations: 113 kB / 1.023 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004189/1.143, allocations: 219.1 kB / 1.023 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.143, allocations: 0 / 1.023 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002191/1.143, allocations: 121 kB / 1.023 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/1.143, allocations: 15.52 kB / 1.023 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005326/1.144, allocations: 148 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/1.144, allocations: 0.6885 MB / 1.024 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001028/1.144, allocations: 12.17 kB / 1.024 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/1.144, allocations: 7.438 kB / 1.024 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of SimCode: time 8.22e-07/1.144, allocations: 0 / 1.024 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of Templates: time 0.005477/1.15, allocations: 1.436 MB / 1.026 GB, free: 13.21 MB / 0.6511 GB