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 5.021/5.021, allocations: 0.5623 GB / 0.5769 GB, free: 3.336 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.002476/0.002475, allocations: 361.9 kB / 0.644 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.21/4.21, allocations: 410.7 MB / 1.112 GB, free: 6.012 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.001762/0.001762, allocations: 184.5 kB / 1.225 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004851/0.0004854, allocations: 16 kB / 1.348 GB, free: 8.23 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6646/0.6651, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001446/0.6666, allocations: 1.188 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007608/0.6674, allocations: 477.1 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.6675, allocations: 0 / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 7.094e-05/0.6676, allocations: 7.922 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.824e-05/0.6676, allocations: 19.8 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.6678, allocations: 25.59 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.819e-05/0.668, allocations: 83.75 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.041e-05/0.6681, allocations: 9.797 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.6682, allocations: 35.91 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.756e-05/0.6683, allocations: 39.83 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.6683, allocations: 4.969 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.759e-05/0.6683, allocations: 4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.056e-05/0.6684, allocations: 13.73 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.6684, allocations: 37.7 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.009e-05/0.6685, allocations: 50 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.714e-06/0.6686, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.966e-06/0.6686, allocations: 4 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.6686, allocations: 1.125 kB / 1.463 GB, free: 282.3 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.0005776/0.6692, allocations: 445.2 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.6692, allocations: 11.62 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.6693, allocations: 15.91 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.6695, allocations: 190.1 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.6695, allocations: 7.578 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.6695, allocations: 8 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.6699, allocations: 117.4 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.6699, allocations: 0 / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.6699, allocations: 11.98 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.213e-06/0.6699, allocations: 0 / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.6703, allocations: 106 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005456/0.6709, allocations: 344.2 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.6713, allocations: 122.3 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.6715, allocations: 81.66 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.6715, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003533/0.6719, allocations: 129.7 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=6): time 2.708e-06/0.6719, allocations: 0.7188 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.000831/0.6728, allocations: 308.6 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.6728, allocations: 85.11 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.378e-05/0.6729, allocations: 125.8 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.673, allocations: 29.7 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.673, allocations: 100.6 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.6731, allocations: 16.69 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.282e-05/0.6731, allocations: 4 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.263e-05/0.6731, allocations: 319.5 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.6734, allocations: 69.92 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.6736, allocations: 77.36 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.6738, allocations: 114 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.023e-06/0.6739, allocations: 0 / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006077/0.6745, allocations: 271.6 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.776e-05/0.6746, allocations: 71.92 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.627e-06/0.6746, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.6746, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.6748, allocations: 29.03 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.6748, allocations: 5.25 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.675, allocations: 36.47 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.675, allocations: 5.062 kB / 1.466 GB, free: 278.9 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.0001116/0.6751, allocations: 155.8 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.6752, allocations: 11.91 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.6752, allocations: 10 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.391e-06/0.6752, allocations: 0 / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.509e-06/0.6752, allocations: 3.953 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.862e-06/0.6753, allocations: 0 / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.6754, allocations: 194.6 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.6754, allocations: 0 / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.6755, allocations: 22.22 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.6756, allocations: 0 / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.6756, allocations: 8.234 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.6756, allocations: 4.5 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.327e-06/0.6756, allocations: 1.25 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006305/0.6763, allocations: 267 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.6763, allocations: 85.02 kB / 1.466 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.6764, allocations: 4 kB / 1.466 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.6766, allocations: 30.06 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.6767, allocations: 35.95 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.6768, allocations: 4.094 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.61e-05/0.6768, allocations: 107.6 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-07/0.6768, allocations: 0 / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002821/0.6771, allocations: 24.67 kB / 1.467 GB, free: 277.9 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 9.741e-05/0.6772, allocations: 109.3 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005708/0.6778, allocations: 281 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.617e-06/0.6778, allocations: 0.7812 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002834/0.6781, allocations: 148.7 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.6784, allocations: 20.12 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.679, allocations: 235 kB / 1.467 GB, free: 277 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.6791, allocations: 0.6887 MB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.105e-05/0.6792, allocations: 15.75 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.6793, allocations: 11.38 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.51e-06/0.6793, allocations: 0 / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.005116/0.6844, allocations: 1.528 MB / 1.47 GB, free: 274.9 MB / 0.8542 GB