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.001373/0.001374, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5414/0.5414, allocations: 90.91 MB / 99.34 MB, free: 2.137 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 221.5 MB / 343.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009444/0.0009443, allocations: 90.2 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.189e-05/1.224e-05, allocations: 0 / 494.5 MB, free: 52.38 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.144, allocations: 72.32 MB / 0.5535 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4933/0.6374, allocations: 101.7 MB / 0.6529 GB, free: 8.48 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.6377, allocations: 74.77 kB / 0.6529 GB, free: 8.441 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006271/0.644, allocations: 1.532 MB / 0.6544 GB, free: 7.113 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.644, allocations: 0 / 0.6544 GB, free: 7.113 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.644, allocations: 4 kB / 0.6544 GB, free: 7.109 MB / 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.0007471/0.6448, allocations: 432.8 kB / 0.6549 GB, free: 6.641 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.6449, allocations: 8.031 kB / 0.6549 GB, free: 6.633 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.417e-05/0.6449, allocations: 19.8 kB / 0.6549 GB, free: 6.613 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.6452, allocations: 190.5 kB / 0.6551 GB, free: 6.391 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.6453, allocations: 4 kB / 0.6551 GB, free: 6.387 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.6453, allocations: 7.984 kB / 0.6551 GB, free: 6.379 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002035/0.6455, allocations: 54.11 kB / 0.6551 GB, free: 6.344 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.6458, allocations: 89.59 kB / 0.6552 GB, free: 6.266 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.6458, allocations: 0 / 0.6552 GB, free: 6.266 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.388e-05/0.6458, allocations: 7.938 kB / 0.6552 GB, free: 6.258 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.6458, allocations: 4 kB / 0.6552 GB, free: 6.254 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006882/0.6465, allocations: 306.6 kB / 0.6555 GB, free: 5.941 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.6467, allocations: 68.69 kB / 0.6556 GB, free: 5.883 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.6468, allocations: 52.97 kB / 0.6556 GB, free: 5.844 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.6469, allocations: 0 / 0.6556 GB, free: 5.844 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/0.6471, allocations: 112.6 kB / 0.6557 GB, free: 5.738 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.883e-06/0.6471, allocations: 0 / 0.6557 GB, free: 5.738 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004035/0.6476, allocations: 136.7 kB / 0.6559 GB, free: 5.625 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/0.6476, allocations: 88.91 kB / 0.656 GB, free: 5.523 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.6478, allocations: 112 kB / 0.6561 GB, free: 5.414 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.6478, allocations: 29.7 kB / 0.6561 GB, free: 5.379 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.028e-05/0.6479, allocations: 95.11 kB / 0.6562 GB, free: 5.289 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.648, allocations: 19.56 kB / 0.6562 GB, free: 5.273 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.577e-05/0.648, allocations: 7.938 kB / 0.6562 GB, free: 5.266 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.6482, allocations: 318.1 kB / 0.6565 GB, free: 4.949 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.6483, allocations: 45.86 kB / 0.6566 GB, free: 4.918 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.6484, allocations: 49.48 kB / 0.6566 GB, free: 4.883 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.094e-05/0.6485, allocations: 19.48 kB / 0.6566 GB, free: 4.871 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6485, allocations: 0 / 0.6566 GB, free: 4.871 MB / 458.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003747/0.6489, allocations: 156.4 kB / 0.6568 GB, free: 4.742 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.399e-05/0.649, allocations: 68.69 kB / 0.6568 GB, free: 4.668 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.649, allocations: 4 kB / 0.6568 GB, free: 4.664 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.649, allocations: 3.953 kB / 0.6568 GB, free: 4.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.6492, allocations: 23.91 kB / 0.6569 GB, free: 4.637 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.6492, allocations: 0 / 0.6569 GB, free: 4.637 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.6494, allocations: 23.98 kB / 0.6569 GB, free: 4.613 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.6495, allocations: 4 kB / 0.6569 GB, free: 4.609 MB / 458.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 () * 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.0001303/0.6496, allocations: 145.9 kB / 0.657 GB, free: 4.457 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.6497, allocations: 11.91 kB / 0.657 GB, free: 4.445 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.6497, allocations: 8.25 kB / 0.6571 GB, free: 4.441 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.6497, allocations: 0 / 0.6571 GB, free: 4.441 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.6498, allocations: 3.953 kB / 0.6571 GB, free: 4.438 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.6498, allocations: 0 / 0.6571 GB, free: 4.438 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.65, allocations: 172.9 kB / 0.6572 GB, free: 4.242 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.65, allocations: 0 / 0.6572 GB, free: 4.242 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.6501, allocations: 19.98 kB / 0.6572 GB, free: 4.223 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.6501, allocations: 0 / 0.6572 GB, free: 4.223 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.6501, allocations: 6.688 kB / 0.6573 GB, free: 4.219 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6502, allocations: 0 / 0.6573 GB, free: 4.219 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.6502, allocations: 3.984 kB / 0.6573 GB, free: 4.215 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.6505, allocations: 175.3 kB / 0.6574 GB, free: 4.055 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.6506, allocations: 81.02 kB / 0.6575 GB, free: 3.957 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.6507, allocations: 10.5 kB / 0.6575 GB, free: 3.949 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.6509, allocations: 31.97 kB / 0.6575 GB, free: 3.918 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.6511, allocations: 33.52 kB / 0.6576 GB, free: 3.895 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.6511, allocations: 4 kB / 0.6576 GB, free: 3.891 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.825e-05/0.6512, allocations: 100.7 kB / 0.6577 GB, free: 3.801 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6512, allocations: 0 / 0.6577 GB, free: 3.801 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003466/0.6515, allocations: 23.94 kB / 0.6577 GB, free: 3.777 MB / 458.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) * 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.0001502/0.6517, allocations: 112 kB / 0.6578 GB, free: 3.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003647/0.6521, allocations: 219.6 kB / 0.658 GB, free: 3.457 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6521, allocations: 0 / 0.658 GB, free: 3.457 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.6523, allocations: 114.2 kB / 0.6581 GB, free: 3.352 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.6525, allocations: 11.91 kB / 0.6581 GB, free: 3.344 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/0.653, allocations: 139.2 kB / 0.6583 GB, free: 3.203 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.6533, allocations: 0.6963 MB / 0.6589 GB, free: 2.48 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.279e-05/0.6534, allocations: 12.17 kB / 0.659 GB, free: 2.465 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.6535, allocations: 14.98 kB / 0.659 GB, free: 2.453 MB / 458.7 MB Notification: Performance of SimCode: time 4.1e-07/0.6535, allocations: 0 / 0.659 GB, free: 2.453 MB / 458.7 MB Notification: Performance of Templates: time 0.004881/0.6584, allocations: 1.425 MB / 0.6604 GB, free: 1.051 MB / 458.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)