Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001714/0.001715, allocations: 193.8 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6246/0.6246, allocations: 95.47 MB / 364.8 MB, free: 10.09 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 63.91 kB / 444.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3395, allocations: 69.08 MB / 0.5017 GB, free: 17.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002598/0.3422, allocations: 1.527 MB / 0.5032 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007822/0.343, allocations: 0.5034 MB / 0.5037 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.481e-05/0.343, allocations: 0 / 0.5037 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.055e-05/0.3432, allocations: 7.922 kB / 0.5037 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.689e-05/0.3432, allocations: 15.88 kB / 0.5037 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.3434, allocations: 27.95 kB / 0.5037 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.849e-05/0.3435, allocations: 87.83 kB / 0.5038 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.442e-05/0.3436, allocations: 16.11 kB / 0.5038 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.3437, allocations: 39.89 kB / 0.5039 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.805e-05/0.3438, allocations: 39.83 kB / 0.5039 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.3438, allocations: 4 kB / 0.5039 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.776e-05/0.3439, allocations: 8 kB / 0.5039 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.063e-05/0.3439, allocations: 15.92 kB / 0.5039 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.488e-05/0.344, allocations: 31.86 kB / 0.504 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.3441, allocations: 81.72 kB / 0.504 GB, free: 15.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3441, allocations: 0 / 0.504 GB, free: 15.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.3441, allocations: 0 / 0.504 GB, free: 15.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.3441, allocations: 0 / 0.504 GB, free: 15.17 MB / 382.1 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.0005743/0.3447, allocations: 454.5 kB / 0.5045 GB, free: 14.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.3447, allocations: 15.98 kB / 0.5045 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.3448, allocations: 12.84 kB / 0.5045 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.3449, allocations: 188.2 kB / 0.5047 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.3449, allocations: 4.375 kB / 0.5047 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.3449, allocations: 8.375 kB / 0.5047 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.3452, allocations: 121.7 kB / 0.5048 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.3452, allocations: 0 / 0.5048 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.3453, allocations: 4 kB / 0.5048 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3453, allocations: 0 / 0.5048 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.3455, allocations: 91.92 kB / 0.5049 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.346, allocations: 332.5 kB / 0.5052 GB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.3463, allocations: 110.5 kB / 0.5053 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.3465, allocations: 72.94 kB / 0.5054 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.3465, allocations: 0 / 0.5054 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002899/0.3468, allocations: 123.3 kB / 0.5055 GB, free: 13.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.3468, allocations: 0 / 0.5055 GB, free: 13.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006067/0.3474, allocations: 275.2 kB / 0.5058 GB, free: 13.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.3475, allocations: 85.11 kB / 0.5059 GB, free: 13.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.996e-05/0.3475, allocations: 133.7 kB / 0.506 GB, free: 12.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.3476, allocations: 29.7 kB / 0.506 GB, free: 12.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.698e-05/0.3476, allocations: 96.12 kB / 0.5061 GB, free: 12.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.3476, allocations: 15.81 kB / 0.5061 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.3477, allocations: 33.7 kB / 0.5061 GB, free: 12.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.688e-05/0.3477, allocations: 322.8 kB / 0.5065 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.3479, allocations: 63.94 kB / 0.5065 GB, free: 12.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.3481, allocations: 71.89 kB / 0.5066 GB, free: 12.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.3484, allocations: 181.9 kB / 0.5068 GB, free: 12.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3484, allocations: 0 / 0.5068 GB, free: 12.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004115/0.3488, allocations: 264.9 kB / 0.507 GB, free: 11.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.3488, allocations: 65.44 kB / 0.5071 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3488, allocations: 4 kB / 0.5071 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.3489, allocations: 0 / 0.5071 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.349, allocations: 11.98 kB / 0.5071 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.349, allocations: 4 kB / 0.5071 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.3491, allocations: 35.75 kB / 0.5071 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.3492, allocations: 4 kB / 0.5071 GB, free: 11.71 MB / 382.1 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.664e-05/0.3492, allocations: 155.5 kB / 0.5073 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.3493, allocations: 11.98 kB / 0.5073 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.3493, allocations: 8.625 kB / 0.5073 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3493, allocations: 0 / 0.5073 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3493, allocations: 8 kB / 0.5073 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3493, allocations: 0 / 0.5073 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.442e-05/0.3494, allocations: 197.5 kB / 0.5075 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3494, allocations: 3.938 kB / 0.5075 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.998e-05/0.3495, allocations: 11.98 kB / 0.5075 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3495, allocations: 4 kB / 0.5075 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.3496, allocations: 7.984 kB / 0.5075 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3496, allocations: 3.938 kB / 0.5075 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3496, allocations: 0 / 0.5075 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004021/0.35, allocations: 246.7 kB / 0.5078 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.35, allocations: 85.02 kB / 0.5078 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.35, allocations: 0 / 0.5078 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3502, allocations: 23.97 kB / 0.5079 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.3503, allocations: 35.95 kB / 0.5079 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.3503, allocations: 4 kB / 0.5079 GB, free: 10.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.973e-05/0.3504, allocations: 106.1 kB / 0.508 GB, free: 10.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3504, allocations: 0 / 0.508 GB, free: 10.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002022/0.3506, allocations: 23.94 kB / 0.508 GB, free: 10.69 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.298e-05/0.3506, allocations: 103.2 kB / 0.5081 GB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004088/0.3511, allocations: 262.6 kB / 0.5084 GB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3511, allocations: 0 / 0.5084 GB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.3513, allocations: 147.3 kB / 0.5085 GB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.3515, allocations: 8 kB / 0.5085 GB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004318/0.3519, allocations: 252.8 kB / 0.5088 GB, free: 9.859 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.3521, allocations: 0.6926 MB / 0.5094 GB, free: 9.141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.859e-05/0.3521, allocations: 7.984 kB / 0.5094 GB, free: 9.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.3521, allocations: 7.438 kB / 0.5095 GB, free: 9.125 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3522, allocations: 4 kB / 0.5095 GB, free: 9.121 MB / 382.1 MB Notification: Performance of Templates: time 0.003112/0.3553, allocations: 1.585 MB / 0.511 GB, free: 7.547 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)