Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests") translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008425/0.008426, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001685/0.001686, allocations: 202.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1/1, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 59.89 kB / 0.5856 GB, free: 3.414 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5349/0.5368, allocations: 80.92 MB / 0.6646 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002651/0.5395, allocations: 1.469 MB / 0.666 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007377/0.5403, allocations: 468.4 kB / 0.6665 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.863e-05/0.5404, allocations: 0 / 0.6665 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.5405, allocations: 9.266 kB / 0.6665 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.603e-05/0.5405, allocations: 17.27 kB / 0.6665 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.5408, allocations: 33.52 kB / 0.6665 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.541, allocations: 109.3 kB / 0.6666 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.5411, allocations: 11.06 kB / 0.6667 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.5412, allocations: 45.83 kB / 0.6667 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.315e-05/0.5413, allocations: 43.42 kB / 0.6667 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.113e-05/0.5414, allocations: 8.781 kB / 0.6667 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.069e-05/0.5414, allocations: 11.25 kB / 0.6668 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.5414, allocations: 16.23 kB / 0.6668 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.818e-05/0.5415, allocations: 39.75 kB / 0.6668 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.5417, allocations: 79.28 kB / 0.6669 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.5417, allocations: 0 / 0.6669 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.585e-06/0.5417, allocations: 1 kB / 0.6669 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.5417, allocations: 0 / 0.6669 GB, free: 5.805 MB / 0.4981 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.0006474/0.5423, allocations: 459.1 kB / 0.6673 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.5424, allocations: 8.375 kB / 0.6673 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.5424, allocations: 15.92 kB / 0.6674 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.5426, allocations: 183.6 kB / 0.6675 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.5426, allocations: 8.406 kB / 0.6675 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.5427, allocations: 6.062 kB / 0.6675 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.543, allocations: 122.4 kB / 0.6677 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.543, allocations: 1.406 kB / 0.6677 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.543, allocations: 1.688 kB / 0.6677 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.543, allocations: 1.656 kB / 0.6677 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.5433, allocations: 97.36 kB / 0.6678 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.5438, allocations: 340.4 kB / 0.6681 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.5441, allocations: 105 kB / 0.6682 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.5443, allocations: 72.09 kB / 0.6682 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.5443, allocations: 4 kB / 0.6683 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003289/0.5447, allocations: 132.4 kB / 0.6684 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.5447, allocations: 0 / 0.6684 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006931/0.5454, allocations: 273.4 kB / 0.6686 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.5454, allocations: 84.72 kB / 0.6687 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.987e-05/0.5455, allocations: 128.9 kB / 0.6688 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.5455, allocations: 28.52 kB / 0.6689 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.5456, allocations: 92.33 kB / 0.669 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.5456, allocations: 27.2 kB / 0.669 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/0.5457, allocations: 37.67 kB / 0.669 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.945e-05/0.5457, allocations: 320.1 kB / 0.6693 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.5459, allocations: 66.08 kB / 0.6694 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.5461, allocations: 70.58 kB / 0.6695 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.5464, allocations: 178.7 kB / 0.6696 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5464, allocations: 4 kB / 0.6696 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004756/0.5469, allocations: 258.8 kB / 0.6699 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/0.5469, allocations: 68.33 kB / 0.6699 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5469, allocations: 0 / 0.6699 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.547, allocations: 1.094 kB / 0.6699 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.5471, allocations: 13.39 kB / 0.67 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.5471, allocations: 0 / 0.67 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.5473, allocations: 29.38 kB / 0.67 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.5473, allocations: 4.25 kB / 0.67 GB, free: 3.121 MB / 0.4981 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.5474, allocations: 158.3 kB / 0.6701 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.5474, allocations: 8.953 kB / 0.6701 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3e-05/0.5474, allocations: 13.64 kB / 0.6702 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.5475, allocations: 5.406 kB / 0.6702 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5475, allocations: 0 / 0.6702 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5475, allocations: 1.344 kB / 0.6702 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.5476, allocations: 196.7 kB / 0.6704 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5476, allocations: 0 / 0.6704 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.235e-05/0.5477, allocations: 15.86 kB / 0.6704 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5477, allocations: 5.375 kB / 0.6704 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.5477, allocations: 1.156 kB / 0.6704 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5477, allocations: 1.125 kB / 0.6704 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5477, allocations: 0 / 0.6704 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004767/0.5482, allocations: 253.7 kB / 0.6706 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.5483, allocations: 87.28 kB / 0.6707 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.5483, allocations: 7.234 kB / 0.6707 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.5484, allocations: 16.02 kB / 0.6707 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.5486, allocations: 39.23 kB / 0.6708 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.5486, allocations: 2.781 kB / 0.6708 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.487e-05/0.5486, allocations: 102.1 kB / 0.6709 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5487, allocations: 4 kB / 0.6709 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002083/0.5489, allocations: 25.88 kB / 0.6709 GB, free: 2.305 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.877e-05/0.549, allocations: 113.5 kB / 0.671 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000476/0.5495, allocations: 260.5 kB / 0.6712 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5495, allocations: 0 / 0.6712 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.5497, allocations: 139 kB / 0.6714 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.5499, allocations: 15.23 kB / 0.6714 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005101/0.5505, allocations: 225 kB / 0.6716 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.5506, allocations: 0.6891 MB / 0.6723 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.05e-05/0.5507, allocations: 17.11 kB / 0.6723 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.5507, allocations: 16.09 kB / 0.6723 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.5507, allocations: 0 / 0.6723 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of Templates: time 0.004479/0.5552, allocations: 1.848 MB / 0.6741 GB, free: 84 kB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)