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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.001031/0.001031, allocations: 172.2 kB / 16.76 MB, free: 4.91 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4459/0.4459, allocations: 86.27 MB / 103.8 MB, free: 14.55 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.317/1.317, allocations: 223.2 MB / 348.4 MB, free: 5.016 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.0007939/0.0007937, allocations: 93.53 kB / 420.2 MB, free: 9.66 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.0004081, allocations: 12 kB / 0.4901 GB, free: 8.023 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3683, allocations: 71.03 MB / 0.5594 GB, free: 43.71 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.4961, allocations: 101.1 MB / 0.6582 GB, free: 8.41 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.4964, allocations: 71.97 kB / 0.6582 GB, free: 8.34 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004835/0.5012, allocations: 1.549 MB / 0.6597 GB, free: 6.789 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.055e-06/0.5013, allocations: 0 / 0.6597 GB, free: 6.789 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.5013, allocations: 0 / 0.6597 GB, free: 6.789 MB / 474.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.0005924/0.5019, allocations: 454.8 kB / 0.6602 GB, free: 6.281 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.5019, allocations: 11.97 kB / 0.6602 GB, free: 6.27 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.502, allocations: 12.84 kB / 0.6602 GB, free: 6.258 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.5022, allocations: 188.2 kB / 0.6604 GB, free: 6.035 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.5022, allocations: 4.375 kB / 0.6604 GB, free: 6.031 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.5023, allocations: 12.38 kB / 0.6604 GB, free: 6.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.5026, allocations: 122.2 kB / 0.6605 GB, free: 5.895 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.5026, allocations: 4.188 kB / 0.6605 GB, free: 5.891 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.5026, allocations: 7.938 kB / 0.6605 GB, free: 5.883 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.5026, allocations: 0 / 0.6605 GB, free: 5.883 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.5029, allocations: 107.9 kB / 0.6606 GB, free: 5.777 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/0.5035, allocations: 344.6 kB / 0.661 GB, free: 5.391 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.5038, allocations: 122.5 kB / 0.6611 GB, free: 5.262 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.504, allocations: 76.94 kB / 0.6611 GB, free: 5.184 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.504, allocations: 0 / 0.6611 GB, free: 5.184 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002799/0.5043, allocations: 135.3 kB / 0.6613 GB, free: 5.039 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.5043, allocations: 0 / 0.6613 GB, free: 5.039 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007028/0.5051, allocations: 299.2 kB / 0.6616 GB, free: 4.734 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.5051, allocations: 85.11 kB / 0.6616 GB, free: 4.633 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.5052, allocations: 125.8 kB / 0.6618 GB, free: 4.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.5053, allocations: 33.64 kB / 0.6618 GB, free: 4.461 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.5053, allocations: 96.12 kB / 0.6619 GB, free: 4.363 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.5054, allocations: 19.81 kB / 0.6619 GB, free: 4.344 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.477e-06/0.5054, allocations: 8 kB / 0.6619 GB, free: 4.336 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5055, allocations: 326.8 kB / 0.6622 GB, free: 4.008 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.5057, allocations: 67.95 kB / 0.6623 GB, free: 3.941 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.5059, allocations: 79.89 kB / 0.6624 GB, free: 3.863 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.5062, allocations: 193.9 kB / 0.6626 GB, free: 3.652 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5062, allocations: 0 / 0.6626 GB, free: 3.652 MB / 474.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005393/0.5068, allocations: 280.8 kB / 0.6628 GB, free: 3.359 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.637e-05/0.5069, allocations: 63.39 kB / 0.6629 GB, free: 3.285 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5069, allocations: 0 / 0.6629 GB, free: 3.285 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.5069, allocations: 4 kB / 0.6629 GB, free: 3.281 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.507, allocations: 19.98 kB / 0.6629 GB, free: 3.262 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.507, allocations: 0 / 0.6629 GB, free: 3.262 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.5072, allocations: 31.83 kB / 0.6629 GB, free: 3.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.5072, allocations: 7.984 kB / 0.6629 GB, free: 3.223 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.0001262/0.5074, allocations: 159.5 kB / 0.6631 GB, free: 3.051 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.5074, allocations: 4 kB / 0.6631 GB, free: 3.047 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.5074, allocations: 16.36 kB / 0.6631 GB, free: 3.031 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.5074, allocations: 0 / 0.6631 GB, free: 3.031 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.5074, allocations: 0 / 0.6631 GB, free: 3.031 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.5074, allocations: 0 / 0.6631 GB, free: 3.031 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.5076, allocations: 197.5 kB / 0.6633 GB, free: 2.789 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5076, allocations: 96 / 0.6633 GB, free: 2.789 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.637e-05/0.5077, allocations: 27.86 kB / 0.6633 GB, free: 2.762 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.5077, allocations: 0 / 0.6633 GB, free: 2.762 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.5077, allocations: 8 kB / 0.6633 GB, free: 2.754 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5077, allocations: 0 / 0.6633 GB, free: 2.754 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5077, allocations: 0 / 0.6633 GB, free: 2.754 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000472/0.5082, allocations: 259 kB / 0.6636 GB, free: 2.477 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.5083, allocations: 92.95 kB / 0.6637 GB, free: 2.367 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.5083, allocations: 3.984 kB / 0.6637 GB, free: 2.363 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.5085, allocations: 23.98 kB / 0.6637 GB, free: 2.34 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.5086, allocations: 43.95 kB / 0.6637 GB, free: 2.297 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.5086, allocations: 7.984 kB / 0.6637 GB, free: 2.289 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.944e-05/0.5087, allocations: 93.8 kB / 0.6638 GB, free: 2.199 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5087, allocations: 4 kB / 0.6638 GB, free: 2.195 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002107/0.5089, allocations: 24 kB / 0.6639 GB, free: 2.172 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.0001269/0.509, allocations: 107.2 kB / 0.664 GB, free: 2.059 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004982/0.5095, allocations: 274.7 kB / 0.6642 GB, free: 1.766 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5096, allocations: 0 / 0.6642 GB, free: 1.766 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.5098, allocations: 151.3 kB / 0.6644 GB, free: 1.605 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.5101, allocations: 18 kB / 0.6644 GB, free: 1.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005378/0.5106, allocations: 237.1 kB / 0.6646 GB, free: 1.324 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.5109, allocations: 0.6926 MB / 0.6653 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 6.273e-05/0.511, allocations: 11.97 kB / 0.6653 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.511, allocations: 15.44 kB / 0.6653 GB, free: 0.582 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.511, allocations: 0 / 0.6653 GB, free: 0.582 MB / 474.7 MB Notification: Performance of Templates: time 0.004388/0.5154, allocations: 1.533 MB / 0.6668 GB, free: 15.06 MB / 490.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)