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.000981/0.0009811, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.471/0.471, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.274/1.274, allocations: 221.3 MB / 348.3 MB, free: 420 kB / 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: 97.62 kB / 421.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.73e-05/2.732e-05, allocations: 4 kB / 0.4896 GB, free: 5.363 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3837, allocations: 72.31 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.5114, allocations: 102.4 MB / 0.6602 GB, free: 1.922 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.5116, allocations: 71.95 kB / 0.6603 GB, free: 1.852 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004543/0.5162, allocations: 1.543 MB / 0.6618 GB, free: 324 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.5162, allocations: 0 / 0.6618 GB, free: 324 kB / 474.7 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.5162, allocations: 4 kB / 0.6618 GB, free: 320 kB / 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.0005468/0.5168, allocations: 429.8 kB / 0.6622 GB, free: 15.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.5168, allocations: 11.98 kB / 0.6622 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.949e-05/0.5169, allocations: 15.86 kB / 0.6622 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.5171, allocations: 196.8 kB / 0.6624 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.5171, allocations: 4.188 kB / 0.6624 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.5172, allocations: 19.92 kB / 0.6624 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.5174, allocations: 93.66 kB / 0.6625 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.5174, allocations: 0 / 0.6625 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.5174, allocations: 4 kB / 0.6625 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.5174, allocations: 7.953 kB / 0.6625 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.5175, allocations: 51.98 kB / 0.6626 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.5181, allocations: 328.8 kB / 0.6629 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.5182, allocations: 78.5 kB / 0.663 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.389e-05/0.5183, allocations: 56.97 kB / 0.663 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.5183, allocations: 0 / 0.663 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.5185, allocations: 107.3 kB / 0.6631 GB, free: 14.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.5185, allocations: 4 kB / 0.6631 GB, free: 14.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003297/0.5189, allocations: 179.2 kB / 0.6633 GB, free: 14.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.5189, allocations: 85.11 kB / 0.6634 GB, free: 14.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.637e-05/0.519, allocations: 113 kB / 0.6635 GB, free: 14.35 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.5191, allocations: 29.7 kB / 0.6635 GB, free: 14.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.5191, allocations: 99.98 kB / 0.6636 GB, free: 14.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.5192, allocations: 19.86 kB / 0.6636 GB, free: 14.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.819e-06/0.5192, allocations: 4 kB / 0.6636 GB, free: 14.19 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.5193, allocations: 318.8 kB / 0.6639 GB, free: 13.87 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.311e-05/0.5194, allocations: 47.98 kB / 0.664 GB, free: 13.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.942e-05/0.5195, allocations: 53.67 kB / 0.664 GB, free: 13.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.355e-05/0.5196, allocations: 83.33 kB / 0.6641 GB, free: 13.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5196, allocations: 0 / 0.6641 GB, free: 13.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003015/0.5199, allocations: 229.9 kB / 0.6643 GB, free: 13.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/0.5199, allocations: 63.36 kB / 0.6644 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.52, allocations: 0.8125 kB / 0.6644 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.52, allocations: 0 / 0.6644 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.5201, allocations: 23.97 kB / 0.6644 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.5201, allocations: 2.578 kB / 0.6644 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.5203, allocations: 27.98 kB / 0.6645 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.5203, allocations: 4 kB / 0.6645 GB, free: 13.31 MB / 490.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.0001004/0.5204, allocations: 146.6 kB / 0.6646 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.5204, allocations: 11.91 kB / 0.6646 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.5205, allocations: 17.42 kB / 0.6646 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5205, allocations: 6.812 kB / 0.6646 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.5205, allocations: 0 / 0.6646 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.5205, allocations: 0 / 0.6646 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.5207, allocations: 185.6 kB / 0.6648 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5207, allocations: 4 kB / 0.6648 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.311e-05/0.5208, allocations: 11.98 kB / 0.6648 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.5208, allocations: 4 kB / 0.6648 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.5208, allocations: 11.98 kB / 0.6648 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5208, allocations: 6.391 kB / 0.6648 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5208, allocations: 4 kB / 0.6649 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.5211, allocations: 202.7 kB / 0.665 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.5211, allocations: 81.02 kB / 0.6651 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.5212, allocations: 7.984 kB / 0.6651 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.5213, allocations: 31.98 kB / 0.6652 GB, free: 12.49 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.5215, allocations: 43.83 kB / 0.6652 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.5215, allocations: 4 kB / 0.6652 GB, free: 12.44 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.569e-05/0.5215, allocations: 100.8 kB / 0.6653 GB, free: 12.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5215, allocations: 0 / 0.6653 GB, free: 12.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001881/0.5217, allocations: 27.94 kB / 0.6653 GB, free: 12.32 MB / 490.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.0001243/0.5219, allocations: 104.9 kB / 0.6654 GB, free: 12.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002837/0.5222, allocations: 227.7 kB / 0.6656 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5222, allocations: 4 kB / 0.6657 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.5223, allocations: 119.3 kB / 0.6658 GB, free: 11.83 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.5225, allocations: 9.75 kB / 0.6658 GB, free: 11.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.5228, allocations: 149.4 kB / 0.6659 GB, free: 11.65 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.5231, allocations: 0.6887 MB / 0.6666 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.75e-05/0.5232, allocations: 20.16 kB / 0.6666 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.5232, allocations: 7.438 kB / 0.6666 GB, free: 10.9 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5232, allocations: 0 / 0.6666 GB, free: 10.9 MB / 490.7 MB Notification: Performance of Templates: time 0.003525/0.5267, allocations: 1.541 MB / 0.6681 GB, free: 9.395 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)