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.365/2.365, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001449/0.001449, allocations: 193.7 kB / 325.6 MB, free: 2.82 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.438/2.438, allocations: 205.4 MB / 0.5766 GB, free: 20.74 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: 85.86 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004933/0.0004934, allocations: 11.5 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2277, allocations: 106.2 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.224/0.4518, allocations: 132.5 MB / 1.028 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.4521, allocations: 71.97 kB / 1.028 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007393/0.4595, allocations: 1.52 MB / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4596, allocations: 0 / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.4596, allocations: 0 / 1.03 GB, free: 11.17 MB / 0.6823 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.0008487/0.4605, allocations: 447.8 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.4605, allocations: 12.03 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.219e-05/0.4606, allocations: 15.84 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.4608, allocations: 188.9 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.4609, allocations: 8 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.4609, allocations: 12.19 kB / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/0.4614, allocations: 129.5 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.4614, allocations: 0 / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.4615, allocations: 4 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.4615, allocations: 8 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005362/0.4621, allocations: 99.92 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000796/0.4629, allocations: 336.8 kB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005398/0.4634, allocations: 122.5 kB / 1.031 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.4635, allocations: 0 / 1.031 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004729/0.4639, allocations: 135.3 kB / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 2.245e-06/0.464, allocations: 7.938 kB / 1.031 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.001237/0.4652, allocations: 299.2 kB / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/0.4653, allocations: 89.09 kB / 1.032 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.4655, allocations: 122.4 kB / 1.032 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.4655, allocations: 25.7 kB / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.659e-05/0.4656, allocations: 96.12 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.4656, allocations: 15.81 kB / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/0.4657, allocations: 4 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4658, allocations: 322.8 kB / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.4662, allocations: 67.95 kB / 1.032 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.4665, allocations: 75.95 kB / 1.032 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003323/0.4668, allocations: 107.4 kB / 1.032 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4669, allocations: 0 / 1.032 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009286/0.4678, allocations: 280.8 kB / 1.033 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.178e-05/0.4679, allocations: 64.64 kB / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4679, allocations: 96 / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.468, allocations: 3.938 kB / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.4682, allocations: 23.98 kB / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.4682, allocations: 3.953 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/0.4685, allocations: 31.97 kB / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.4686, allocations: 4 kB / 1.033 GB, free: 7.801 MB / 0.6823 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.0001934/0.4688, allocations: 155.5 kB / 1.033 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.4688, allocations: 11.91 kB / 1.033 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/0.4689, allocations: 8.375 kB / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.4689, allocations: 0 / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.4689, allocations: 0 / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4689, allocations: 7.953 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.4691, allocations: 197.6 kB / 1.033 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4691, allocations: 0 / 1.033 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.4693, allocations: 15.98 kB / 1.033 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.4693, allocations: 0 / 1.033 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.4693, allocations: 8 kB / 1.033 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4694, allocations: 256 / 1.033 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4694, allocations: 0 / 1.033 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008531/0.4702, allocations: 267.5 kB / 1.033 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.399e-05/0.4703, allocations: 92.94 kB / 1.034 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/0.4704, allocations: 8 kB / 1.034 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.4706, allocations: 23.97 kB / 1.034 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/0.4708, allocations: 39.89 kB / 1.034 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.4709, allocations: 8 kB / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.494e-05/0.471, allocations: 97.66 kB / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.471, allocations: 0 / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002946/0.4713, allocations: 28 kB / 1.034 GB, free: 6.746 MB / 0.6823 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.0001619/0.4715, allocations: 107.2 kB / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008809/0.4724, allocations: 282.7 kB / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4724, allocations: 0 / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004314/0.4728, allocations: 147.3 kB / 1.034 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.4731, allocations: 8 kB / 1.034 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007435/0.4738, allocations: 245.1 kB / 1.035 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.4741, allocations: 0.6965 MB / 1.035 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.797e-05/0.4742, allocations: 8.188 kB / 1.035 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.4743, allocations: 15.42 kB / 1.035 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of SimCode: time 8.72e-07/0.4743, allocations: 0 / 1.035 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of Templates: time 0.005748/0.4801, allocations: 1.522 MB / 1.037 GB, free: 3.637 MB / 0.6823 GB