Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 182.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5578/0.5578, allocations: 91.99 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 223.2 MB / 354.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009315/0.0009315, allocations: 99.81 kB / 427.4 MB, free: 3.957 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003876, allocations: 8 kB / 0.4982 GB, free: 42.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2035, allocations: 72.31 MB / 0.5689 GB, free: 1.957 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6596/0.8632, allocations: 102.5 MB / 0.6689 GB, free: 2.07 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.8635, allocations: 71.95 kB / 0.669 GB, free: 2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005693/0.8692, allocations: 1.551 MB / 0.6705 GB, free: 468 kB / 458.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.8693, allocations: 0 / 0.6705 GB, free: 468 kB / 458.7 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.8693, allocations: 0 / 0.6705 GB, free: 468 kB / 458.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.0008787/0.8702, allocations: 451.2 kB / 0.6709 GB, free: 15.96 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/0.8703, allocations: 15.95 kB / 0.6709 GB, free: 15.94 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.031e-05/0.8704, allocations: 15.86 kB / 0.671 GB, free: 15.93 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.8707, allocations: 186.9 kB / 0.6711 GB, free: 15.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.8707, allocations: 8 kB / 0.6711 GB, free: 15.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.8707, allocations: 8 kB / 0.6711 GB, free: 15.69 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.8711, allocations: 122.2 kB / 0.6713 GB, free: 15.56 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.8711, allocations: 4 kB / 0.6713 GB, free: 15.56 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.8712, allocations: 0 / 0.6713 GB, free: 15.56 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.8712, allocations: 3.953 kB / 0.6713 GB, free: 15.55 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/0.8715, allocations: 107.9 kB / 0.6714 GB, free: 15.45 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006793/0.8722, allocations: 332.8 kB / 0.6717 GB, free: 15.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.8725, allocations: 118.5 kB / 0.6718 GB, free: 14.95 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.8726, allocations: 3.984 kB / 0.6718 GB, free: 14.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003254/0.8729, allocations: 143.3 kB / 0.6719 GB, free: 14.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 3.477e-06/0.8729, allocations: 0 / 0.6719 GB, free: 14.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007926/0.8737, allocations: 299.1 kB / 0.6722 GB, free: 14.49 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.8738, allocations: 85.09 kB / 0.6723 GB, free: 14.39 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.8739, allocations: 122 kB / 0.6724 GB, free: 14.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.174e-05/0.874, allocations: 29.7 kB / 0.6725 GB, free: 14.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.509e-05/0.8741, allocations: 96.12 kB / 0.6725 GB, free: 14.13 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.8741, allocations: 23.81 kB / 0.6726 GB, free: 14.11 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.8741, allocations: 4 kB / 0.6726 GB, free: 14.11 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.8743, allocations: 318.8 kB / 0.6729 GB, free: 13.79 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.8745, allocations: 71.95 kB / 0.6729 GB, free: 13.71 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.8747, allocations: 75.89 kB / 0.673 GB, free: 13.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.8749, allocations: 115.4 kB / 0.6731 GB, free: 13.52 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8749, allocations: 0 / 0.6731 GB, free: 13.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005281/0.8754, allocations: 268.9 kB / 0.6734 GB, free: 13.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.304e-05/0.8755, allocations: 67.39 kB / 0.6735 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.8755, allocations: 3.953 kB / 0.6735 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.8756, allocations: 0 / 0.6735 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.8757, allocations: 23.92 kB / 0.6735 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.8757, allocations: 4.156 kB / 0.6735 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.8759, allocations: 31.91 kB / 0.6735 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.8759, allocations: 4 kB / 0.6735 GB, free: 13.09 MB / 474.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.0001516/0.8761, allocations: 155.5 kB / 0.6737 GB, free: 12.92 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.8761, allocations: 7.906 kB / 0.6737 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.043e-05/0.8762, allocations: 12.38 kB / 0.6737 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.8762, allocations: 3.953 kB / 0.6737 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.8762, allocations: 0 / 0.6737 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.8762, allocations: 0 / 0.6737 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.8764, allocations: 189.6 kB / 0.6739 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.8764, allocations: 3.938 kB / 0.6739 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.637e-05/0.8765, allocations: 15.98 kB / 0.6739 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.8765, allocations: 4 kB / 0.6739 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.8765, allocations: 8 kB / 0.6739 GB, free: 12.63 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.8765, allocations: 7.969 kB / 0.6739 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.8766, allocations: 3.953 kB / 0.6739 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005433/0.8771, allocations: 262.7 kB / 0.6742 GB, free: 12.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/0.8772, allocations: 88.95 kB / 0.6742 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.8772, allocations: 320 / 0.6742 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.8774, allocations: 35.97 kB / 0.6743 GB, free: 12.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.8775, allocations: 43.91 kB / 0.6743 GB, free: 12.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.8775, allocations: 4 kB / 0.6743 GB, free: 12.15 MB / 474.7 MB Notification: Performance of sorting global known variables: time 8.057e-05/0.8776, allocations: 99.97 kB / 0.6744 GB, free: 12.05 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.8776, allocations: 0 / 0.6744 GB, free: 12.05 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000225/0.8779, allocations: 20 kB / 0.6744 GB, free: 12.04 MB / 474.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.0001776/0.878, allocations: 107.2 kB / 0.6745 GB, free: 11.92 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005258/0.8786, allocations: 278.6 kB / 0.6748 GB, free: 11.62 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8786, allocations: 0 / 0.6748 GB, free: 11.62 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003052/0.8789, allocations: 147.4 kB / 0.6749 GB, free: 11.46 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.8791, allocations: 8 kB / 0.675 GB, free: 11.46 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006642/0.8798, allocations: 234.8 kB / 0.6752 GB, free: 11.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.8801, allocations: 0.7043 MB / 0.6759 GB, free: 10.47 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.864e-05/0.8802, allocations: 12.16 kB / 0.6759 GB, free: 10.45 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.8803, allocations: 11.44 kB / 0.6759 GB, free: 10.44 MB / 474.7 MB Notification: Performance of SimCode: time 8.51e-07/0.8803, allocations: 0 / 0.6759 GB, free: 10.44 MB / 474.7 MB Notification: Performance of Templates: time 0.005152/0.8854, allocations: 1.54 MB / 0.6774 GB, free: 8.934 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)