Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001373/0.001376, allocations: 183.4 kB / 15.76 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7661/0.7661, allocations: 82.93 MB / 99.42 MB, free: 3.336 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.174/2.174, allocations: 205.4 MB / 325.4 MB, free: 4.363 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001039/0.001038, allocations: 94.86 kB / 393.6 MB, free: 152 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004499/0.0004501, allocations: 8 kB / 471.5 MB, free: 66.74 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08796/0.08844, allocations: 67.44 MB / 0.5263 GB, free: 15.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001822/0.0903, allocations: 1.177 MB / 0.5275 GB, free: 14.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009198/0.09125, allocations: 472.2 kB / 0.5279 GB, free: 13.6 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.205e-05/0.09132, allocations: 0 / 0.5279 GB, free: 13.6 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 6.719e-05/0.0914, allocations: 7.938 kB / 0.5279 GB, free: 13.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.538e-05/0.09147, allocations: 15.91 kB / 0.528 GB, free: 13.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.09167, allocations: 27.95 kB / 0.528 GB, free: 13.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.09179, allocations: 51.94 kB / 0.528 GB, free: 13.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.113e-05/0.0919, allocations: 12.17 kB / 0.5281 GB, free: 13.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.09204, allocations: 47.77 kB / 0.5281 GB, free: 13.44 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.936e-05/0.09214, allocations: 35.89 kB / 0.5281 GB, free: 13.4 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.09218, allocations: 4 kB / 0.5281 GB, free: 13.4 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.984e-05/0.09221, allocations: 4 kB / 0.5281 GB, free: 13.39 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.792e-05/0.09226, allocations: 15.92 kB / 0.5282 GB, free: 13.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.624e-05/0.09233, allocations: 37.7 kB / 0.5282 GB, free: 13.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.09245, allocations: 60.05 kB / 0.5282 GB, free: 13.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.096e-06/0.09247, allocations: 4 kB / 0.5283 GB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.001e-06/0.09248, allocations: 0 / 0.5283 GB, free: 13.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.985e-06/0.09249, allocations: 0 / 0.5283 GB, free: 13.27 MB / 378.7 MB 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.0007006/0.0932, allocations: 435.6 kB / 0.5287 GB, free: 12.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.09325, allocations: 8.031 kB / 0.5287 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.09331, allocations: 15.91 kB / 0.5287 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.09354, allocations: 186.9 kB / 0.5289 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.09358, allocations: 7.984 kB / 0.5289 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.09361, allocations: 4 kB / 0.5289 GB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.094, allocations: 121.6 kB / 0.529 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.559e-06/0.09403, allocations: 0 / 0.529 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.09406, allocations: 7.984 kB / 0.529 GB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.324e-06/0.09408, allocations: 4 kB / 0.529 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004026/0.09449, allocations: 103.9 kB / 0.5291 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006784/0.09519, allocations: 344.8 kB / 0.5294 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004131/0.09562, allocations: 122.5 kB / 0.5296 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.09565, allocations: 0 / 0.5296 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004011/0.09606, allocations: 135.4 kB / 0.5297 GB, free: 11.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.424e-06/0.09608, allocations: 0 / 0.5297 GB, free: 11.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009332/0.09702, allocations: 295.2 kB / 0.53 GB, free: 11.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/0.09711, allocations: 85.05 kB / 0.53 GB, free: 11.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.09726, allocations: 132.8 kB / 0.5302 GB, free: 11.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.09731, allocations: 33.7 kB / 0.5302 GB, free: 11.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.408e-05/0.09739, allocations: 92.05 kB / 0.5303 GB, free: 10.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.09744, allocations: 23.73 kB / 0.5303 GB, free: 10.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/0.09746, allocations: 0 / 0.5303 GB, free: 10.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.09763, allocations: 322.8 kB / 0.5306 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.09791, allocations: 75.94 kB / 0.5307 GB, free: 10.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.09818, allocations: 75.83 kB / 0.5308 GB, free: 10.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.09846, allocations: 115.4 kB / 0.5309 GB, free: 10.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.558e-06/0.09848, allocations: 0 / 0.5309 GB, free: 10.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007164/0.0992, allocations: 272.9 kB / 0.5311 GB, free: 10.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.899e-05/0.09929, allocations: 71.33 kB / 0.5312 GB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.52e-06/0.09931, allocations: 4 kB / 0.5312 GB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.09933, allocations: 0 / 0.5312 GB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.09949, allocations: 16.23 kB / 0.5312 GB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.844e-06/0.09951, allocations: 0 / 0.5312 GB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.09971, allocations: 35.97 kB / 0.5313 GB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.09975, allocations: 8 kB / 0.5313 GB, free: 9.91 MB / 378.7 MB 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.0001602/0.09992, allocations: 151.5 kB / 0.5314 GB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.09997, allocations: 15.84 kB / 0.5314 GB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.1, allocations: 8.375 kB / 0.5314 GB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.137e-06/0.1, allocations: 4 kB / 0.5314 GB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.451e-06/0.1, allocations: 4 kB / 0.5314 GB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1001, allocations: 0 / 0.5314 GB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.1003, allocations: 193.7 kB / 0.5316 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.095e-06/0.1003, allocations: 0 / 0.5316 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.1004, allocations: 15.98 kB / 0.5316 GB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.684e-06/0.1004, allocations: 3.953 kB / 0.5316 GB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.1005, allocations: 0 / 0.5316 GB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.74e-06/0.1005, allocations: 4 kB / 0.5316 GB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.964e-06/0.1005, allocations: 3.938 kB / 0.5317 GB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006598/0.1011, allocations: 258.6 kB / 0.5319 GB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.1012, allocations: 92.94 kB / 0.532 GB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.1013, allocations: 11.95 kB / 0.532 GB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.1015, allocations: 23.98 kB / 0.532 GB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.1016, allocations: 39.88 kB / 0.5321 GB, free: 8.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.1017, allocations: 4.094 kB / 0.5321 GB, free: 8.984 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.633e-05/0.1018, allocations: 103.2 kB / 0.5322 GB, free: 8.883 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.93e-07/0.1018, allocations: 0 / 0.5322 GB, free: 8.883 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002823/0.1021, allocations: 32 kB / 0.5322 GB, free: 8.852 MB / 378.7 MB 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.0001241/0.1022, allocations: 95.25 kB / 0.5323 GB, free: 8.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006678/0.1029, allocations: 286.6 kB / 0.5326 GB, free: 8.445 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.704e-06/0.1029, allocations: 0 / 0.5326 GB, free: 8.445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003519/0.1033, allocations: 143.3 kB / 0.5327 GB, free: 8.293 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.1035, allocations: 8 kB / 0.5327 GB, free: 8.285 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006066/0.1041, allocations: 245.1 kB / 0.5329 GB, free: 8.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.1045, allocations: 0.6926 MB / 0.5336 GB, free: 7.301 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.05e-05/0.1046, allocations: 8.188 kB / 0.5336 GB, free: 7.293 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.1046, allocations: 15.42 kB / 0.5336 GB, free: 7.277 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/0.1046, allocations: 0 / 0.5336 GB, free: 7.277 MB / 378.7 MB Notification: Performance of Templates: time 0.004881/0.1095, allocations: 1.535 MB / 0.5351 GB, free: 5.758 MB / 378.7 MB