Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/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_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.58/1.58, allocations: 297.8 MB / 313.7 MB, free: 144 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009803/0.0009802, allocations: 179 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 223.2 MB / 0.6626 GB, free: 4.324 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00079/0.00079, allocations: 95.17 kB / 0.7808 GB, free: 43.78 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.0004142, allocations: 14.66 kB / 0.9088 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6876/0.688, allocations: 120.3 MB / 1.026 GB, free: 56.82 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1868/0.8749, allocations: 142.1 MB / 1.165 GB, free: 64 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.8752, allocations: 75.95 kB / 1.165 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.004889/0.8801, allocations: 1.552 MB / 1.167 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8802, allocations: 2.812 kB / 1.167 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.8802, allocations: 0 / 1.167 GB, free: 14.47 MB / 0.7448 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.0006447/0.8808, allocations: 446.7 kB / 1.167 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.8809, allocations: 15.97 kB / 1.167 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.028e-05/0.8809, allocations: 12.83 kB / 1.167 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.8812, allocations: 192.3 kB / 1.167 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.8812, allocations: 8.375 kB / 1.167 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.8812, allocations: 4.375 kB / 1.167 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003234/0.8816, allocations: 122.2 kB / 1.167 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.8816, allocations: 4.188 kB / 1.167 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.8816, allocations: 8.125 kB / 1.167 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.8816, allocations: 0 / 1.167 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.8819, allocations: 103.9 kB / 1.168 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.8825, allocations: 344.7 kB / 1.168 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.8829, allocations: 115.6 kB / 1.168 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.8831, allocations: 84.88 kB / 1.168 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.8831, allocations: 4 kB / 1.168 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003082/0.8834, allocations: 135.2 kB / 1.168 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.8834, allocations: 0 / 1.168 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0007063/0.8841, allocations: 291.2 kB / 1.169 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.8842, allocations: 89.09 kB / 1.169 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.8843, allocations: 127.4 kB / 1.169 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.8844, allocations: 37.69 kB / 1.169 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.8844, allocations: 88.05 kB / 1.169 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.8845, allocations: 23.81 kB / 1.169 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/0.8845, allocations: 4 kB / 1.169 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.8846, allocations: 326.8 kB / 1.169 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.8848, allocations: 79.89 kB / 1.169 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.885, allocations: 71.94 kB / 1.169 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.8854, allocations: 197.9 kB / 1.17 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.8854, allocations: 0 / 1.17 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005004/0.8859, allocations: 272.8 kB / 1.17 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.889e-05/0.886, allocations: 67.39 kB / 1.17 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.886, allocations: 4 kB / 1.17 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.886, allocations: 0 / 1.17 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.8861, allocations: 15.98 kB / 1.17 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.8861, allocations: 0 / 1.17 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.8863, allocations: 39.91 kB / 1.17 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.8863, allocations: 4.094 kB / 1.17 GB, free: 10.91 MB / 0.7448 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.0001248/0.8865, allocations: 164.7 kB / 1.17 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.8865, allocations: 8.703 kB / 1.17 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.8865, allocations: 8.375 kB / 1.17 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.8865, allocations: 4 kB / 1.17 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.8865, allocations: 3.938 kB / 1.17 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.8865, allocations: 4 kB / 1.17 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.8867, allocations: 193.5 kB / 1.17 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8867, allocations: 0 / 1.17 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.438e-05/0.8868, allocations: 15.98 kB / 1.17 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.8868, allocations: 0 / 1.17 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.8868, allocations: 1.969 kB / 1.17 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.8869, allocations: 4.25 kB / 1.17 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.8869, allocations: 7.984 kB / 1.17 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005084/0.8874, allocations: 262.6 kB / 1.171 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.8874, allocations: 81.02 kB / 1.171 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.8875, allocations: 12 kB / 1.171 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.8876, allocations: 27.97 kB / 1.171 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.8877, allocations: 35.89 kB / 1.171 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.8878, allocations: 4 kB / 1.171 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.55e-05/0.8878, allocations: 100.8 kB / 1.171 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8879, allocations: 3.938 kB / 1.171 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002115/0.8881, allocations: 32 kB / 1.171 GB, free: 9.855 MB / 0.7448 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.0001321/0.8882, allocations: 99.77 kB / 1.171 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000502/0.8887, allocations: 278.7 kB / 1.171 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8887, allocations: 0 / 1.171 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002509/0.889, allocations: 151.3 kB / 1.171 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.8892, allocations: 19.92 kB / 1.171 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005264/0.8898, allocations: 229.8 kB / 1.172 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.8901, allocations: 0.6887 MB / 1.172 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.883e-05/0.8901, allocations: 11.98 kB / 1.172 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.8902, allocations: 11.44 kB / 1.172 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of SimCode: time 3.3e-07/0.8902, allocations: 0 / 1.172 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of Templates: time 0.004081/0.8943, allocations: 1.534 MB / 1.174 GB, free: 6.781 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)