Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.085/2.085, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 187.5 kB / 326.2 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.659/2.659, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001331/0.001331, allocations: 99.22 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005006, allocations: 15.88 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2106, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2542/0.4649, allocations: 132.5 MB / 1.029 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.4652, allocations: 79.95 kB / 1.029 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00748/0.4727, allocations: 1.525 MB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4728, allocations: 0 / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.4728, allocations: 8 kB / 1.03 GB, free: 11.22 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.0008251/0.4736, allocations: 450.6 kB / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.4737, allocations: 8.031 kB / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.4737, allocations: 8.844 kB / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.474, allocations: 188.3 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.474, allocations: 8.562 kB / 1.031 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.4741, allocations: 12.31 kB / 1.031 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004976/0.4746, allocations: 118.2 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4746, allocations: 192 / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.4747, allocations: 7.938 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4747, allocations: 0 / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005645/0.4753, allocations: 103.9 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008063/0.4761, allocations: 344.7 kB / 1.032 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005578/0.4767, allocations: 118.5 kB / 1.032 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003441/0.477, allocations: 84.88 kB / 1.032 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.4771, allocations: 0 / 1.032 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004766/0.4776, allocations: 135.2 kB / 1.032 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 2.745e-06/0.4776, allocations: 3.938 kB / 1.032 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.001487/0.4791, allocations: 295.2 kB / 1.032 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.151e-05/0.4792, allocations: 89.09 kB / 1.032 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.4794, allocations: 135.7 kB / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.4794, allocations: 29.7 kB / 1.033 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.4795, allocations: 92.12 kB / 1.033 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.466e-05/0.4796, allocations: 19.81 kB / 1.033 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.648e-05/0.4796, allocations: 4 kB / 1.033 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4798, allocations: 322.8 kB / 1.033 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/0.4801, allocations: 71.95 kB / 1.033 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.4805, allocations: 75.95 kB / 1.033 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.4808, allocations: 111.4 kB / 1.033 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4808, allocations: 0 / 1.033 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009126/0.4818, allocations: 272.8 kB / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.69e-05/0.4819, allocations: 63.41 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4819, allocations: 4 kB / 1.033 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.4819, allocations: 0 / 1.033 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.4821, allocations: 23.97 kB / 1.034 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.4822, allocations: 0 / 1.034 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.4825, allocations: 28.23 kB / 1.034 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.4825, allocations: 4 kB / 1.034 GB, free: 7.773 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.0001793/0.4827, allocations: 163.4 kB / 1.034 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.4827, allocations: 7.906 kB / 1.034 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/0.4828, allocations: 16.38 kB / 1.034 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4828, allocations: 4.094 kB / 1.034 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.537e-06/0.4828, allocations: 11.91 kB / 1.034 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4828, allocations: 0 / 1.034 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.4831, allocations: 193.5 kB / 1.034 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.4831, allocations: 3.984 kB / 1.034 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.4833, allocations: 15.98 kB / 1.034 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.4833, allocations: 0 / 1.034 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.4833, allocations: 0 / 1.034 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4833, allocations: 8 kB / 1.034 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4833, allocations: 0 / 1.034 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008736/0.4842, allocations: 264.2 kB / 1.034 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.286e-05/0.4843, allocations: 88.89 kB / 1.034 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.4843, allocations: 8 kB / 1.034 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.4846, allocations: 27.97 kB / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.4848, allocations: 31.95 kB / 1.034 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.4848, allocations: 8 kB / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.013e-05/0.4849, allocations: 104.2 kB / 1.034 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4849, allocations: 0 / 1.034 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002956/0.4852, allocations: 32 kB / 1.034 GB, free: 6.695 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.0001464/0.4854, allocations: 95.25 kB / 1.035 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008944/0.4863, allocations: 286.8 kB / 1.035 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4863, allocations: 0 / 1.035 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004369/0.4868, allocations: 147.3 kB / 1.035 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.4871, allocations: 25.94 kB / 1.035 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007325/0.4878, allocations: 241.2 kB / 1.035 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.4882, allocations: 0.6965 MB / 1.036 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.444e-05/0.4883, allocations: 7.984 kB / 1.036 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.483e-05/0.4883, allocations: 11.44 kB / 1.036 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of SimCode: time 9.42e-07/0.4883, allocations: 0 / 1.036 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of Templates: time 0.005581/0.4939, allocations: 1.531 MB / 1.037 GB, free: 3.586 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)