Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.Continuous.Examples.NumberOfRequests") translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00139/0.00139, allocations: 115.1 kB / 16.42 MB, free: 6.5 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.001243/0.001243, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7976/0.7976, allocations: 132.2 MB / 423.4 MB, free: 6.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 69.91 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1872, allocations: 80.21 MB / 0.6603 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002875/0.1901, allocations: 1.47 MB / 0.6617 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008088/0.1909, allocations: 462.8 kB / 0.6622 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.377e-05/0.191, allocations: 8 kB / 0.6622 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.1911, allocations: 7.922 kB / 0.6622 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.275e-05/0.1912, allocations: 15.86 kB / 0.6622 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.1914, allocations: 31.89 kB / 0.6622 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.1916, allocations: 103.8 kB / 0.6623 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1917, allocations: 24.16 kB / 0.6624 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.1919, allocations: 51.83 kB / 0.6624 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.073e-05/0.192, allocations: 39.83 kB / 0.6625 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.192, allocations: 8 kB / 0.6625 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.19e-05/0.192, allocations: 8 kB / 0.6625 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.797e-05/0.1921, allocations: 11.98 kB / 0.6625 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.799e-05/0.1922, allocations: 47.77 kB / 0.6625 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.1923, allocations: 75.72 kB / 0.6626 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1923, allocations: 4 kB / 0.6626 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1923, allocations: 0 / 0.6626 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.1923, allocations: 0 / 0.6626 GB, free: 7.98 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.0007665/0.1931, allocations: 446.7 kB / 0.663 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.1932, allocations: 8.031 kB / 0.663 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.1932, allocations: 16.84 kB / 0.6631 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.1934, allocations: 196.1 kB / 0.6632 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1934, allocations: 4.375 kB / 0.6632 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1935, allocations: 8.375 kB / 0.6632 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.1938, allocations: 117.7 kB / 0.6634 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.1938, allocations: 0 / 0.6634 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.1938, allocations: 4 kB / 0.6634 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1938, allocations: 0 / 0.6634 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003004/0.1942, allocations: 87.92 kB / 0.6634 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005659/0.1947, allocations: 340.6 kB / 0.6638 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.195, allocations: 102.5 kB / 0.6639 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.1952, allocations: 72.94 kB / 0.6639 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.1953, allocations: 4 kB / 0.6639 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003308/0.1956, allocations: 123.3 kB / 0.6641 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.1956, allocations: 3.938 kB / 0.6641 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0007198/0.1963, allocations: 271.2 kB / 0.6643 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.1964, allocations: 93.09 kB / 0.6644 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.1965, allocations: 125.8 kB / 0.6645 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.1966, allocations: 33.64 kB / 0.6646 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.843e-05/0.1966, allocations: 95.98 kB / 0.6647 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.1967, allocations: 19.88 kB / 0.6647 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.152e-05/0.1967, allocations: 33.7 kB / 0.6647 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1969, allocations: 326.8 kB / 0.665 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.1971, allocations: 63.95 kB / 0.6651 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.1973, allocations: 67.95 kB / 0.6651 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.1976, allocations: 181.8 kB / 0.6653 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1976, allocations: 0 / 0.6653 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000499/0.1981, allocations: 268.8 kB / 0.6656 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.131e-05/0.1982, allocations: 63.39 kB / 0.6656 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1982, allocations: 0 / 0.6656 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1983, allocations: 0 / 0.6656 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.1984, allocations: 11.98 kB / 0.6656 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1984, allocations: 0 / 0.6656 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.1986, allocations: 27.97 kB / 0.6657 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.1986, allocations: 4 kB / 0.6657 GB, free: 4.531 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.00012/0.1987, allocations: 155.5 kB / 0.6658 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.1987, allocations: 11.91 kB / 0.6658 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.1988, allocations: 12.36 kB / 0.6658 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1988, allocations: 0 / 0.6658 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1988, allocations: 0 / 0.6658 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.1988, allocations: 85.02 kB / 0.6659 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.1989, allocations: 8.188 kB / 0.6659 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.199, allocations: 24.06 kB / 0.666 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.1992, allocations: 43.89 kB / 0.666 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006098/0.1998, allocations: 357.9 kB / 0.6663 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005588/0.2004, allocations: 384.4 kB / 0.6667 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002006/0.2006, allocations: 79.95 kB / 0.6668 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.527e-05/0.2006, allocations: 109.2 kB / 0.6669 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of Backend: time 2.91e-07/0.2006, allocations: 0 / 0.6669 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000647/0.2013, allocations: 283 kB / 0.6672 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0006591/0.202, allocations: 0.6785 MB / 0.6678 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of Templates: time 0.004794/0.2068, allocations: 2.039 MB / 0.6698 GB, free: 136 kB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)