Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.809/4.809, allocations: 0.5623 GB / 0.5775 GB, free: 3.316 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002564/0.002564, allocations: 357.4 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.164/4.164, allocations: 410.7 MB / 1.113 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00186/0.00186, allocations: 171 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006522/0.0006525, allocations: 16 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7191/0.7197, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1991/0.9189, allocations: 138.8 MB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.9192, allocations: 72.69 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.006715/0.926, allocations: 1.516 MB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.124e-06/0.926, allocations: 0 / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.926, allocations: 3.938 kB / 1.598 GB, free: 143.8 MB / 0.8542 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.0006865/0.9267, allocations: 448.9 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.9268, allocations: 11.62 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/0.9268, allocations: 13.16 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.9271, allocations: 195.1 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.9271, allocations: 4 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.9271, allocations: 7.75 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004366/0.9276, allocations: 124.8 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.9276, allocations: 0 / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.9276, allocations: 4 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.9277, allocations: 3.938 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004997/0.9282, allocations: 107.4 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006812/0.9289, allocations: 343 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000502/0.9294, allocations: 121.5 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/0.9297, allocations: 79.28 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.9297, allocations: 0 / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004224/0.9302, allocations: 136.7 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.9302, allocations: 0 / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.001141/0.9313, allocations: 303 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.9314, allocations: 86.41 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.9315, allocations: 125.8 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.9316, allocations: 33.7 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.9316, allocations: 96.97 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.9317, allocations: 19.88 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.474e-05/0.9317, allocations: 2.125 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.989e-05/0.9318, allocations: 322.8 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003037/0.9321, allocations: 72.61 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.9324, allocations: 69.89 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.9327, allocations: 117.5 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.9327, allocations: 0 / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007754/0.9335, allocations: 272.2 kB / 1.601 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.935e-05/0.9336, allocations: 63.41 kB / 1.601 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.9336, allocations: 0.75 kB / 1.601 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.9336, allocations: 0 / 1.601 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.9338, allocations: 22.09 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.9338, allocations: 7.953 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.9341, allocations: 25.2 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.9342, allocations: 4.25 kB / 1.602 GB, free: 140.4 MB / 0.8542 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.9343, allocations: 169.8 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.9343, allocations: 7.906 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.548e-05/0.9344, allocations: 12.91 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.9344, allocations: 0.5312 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.9344, allocations: 0 / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.9344, allocations: 8.594 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.9346, allocations: 190.2 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.9346, allocations: 0 / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.9348, allocations: 23.19 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.9348, allocations: 0 / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.9348, allocations: 12 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.9348, allocations: 0 / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.9348, allocations: 3.984 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007547/0.9356, allocations: 269.3 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.9356, allocations: 85.02 kB / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.9357, allocations: 0 / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.9359, allocations: 29.38 kB / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.9361, allocations: 39.95 kB / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.9362, allocations: 5.875 kB / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.062e-05/0.9362, allocations: 98.92 kB / 1.602 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9362, allocations: 4 kB / 1.602 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002742/0.9365, allocations: 23.98 kB / 1.602 GB, free: 139.4 MB / 0.8542 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 (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.0001258/0.9367, allocations: 109.3 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007421/0.9374, allocations: 273.1 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9374, allocations: 7.938 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003732/0.9378, allocations: 142.1 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.9381, allocations: 19.73 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006517/0.9388, allocations: 235.9 kB / 1.603 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.939, allocations: 0.6943 MB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.942e-05/0.9391, allocations: 9.328 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.9391, allocations: 7.438 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.263e-06/0.9391, allocations: 4 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.005148/0.9443, allocations: 1.532 MB / 1.605 GB, free: 136.3 MB / 0.8542 GB