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/Complex 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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(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/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6861/0.6861, allocations: 133.3 MB / 150.1 MB, free: 11.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 404.7 MB, free: 6.098 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 110.1 kB / 485.9 MB, free: 7.203 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001006, allocations: 51.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.135, allocations: 80.43 MB / 0.6421 GB, free: 5.453 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002556/0.1376, allocations: 1.526 MB / 0.6436 GB, free: 3.91 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007497/0.1384, allocations: 475 kB / 0.6441 GB, free: 3.441 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.1385, allocations: 3.938 kB / 0.6441 GB, free: 3.438 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.354e-05/0.1386, allocations: 0 / 0.6441 GB, free: 3.438 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.771e-05/0.1386, allocations: 11.88 kB / 0.6441 GB, free: 3.426 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.1388, allocations: 31.95 kB / 0.6441 GB, free: 3.395 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.1389, allocations: 87.75 kB / 0.6442 GB, free: 3.309 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.494e-05/0.1391, allocations: 12.19 kB / 0.6442 GB, free: 3.297 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.1392, allocations: 47.84 kB / 0.6443 GB, free: 3.25 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.126e-05/0.1393, allocations: 39.88 kB / 0.6443 GB, free: 3.211 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.1393, allocations: 8 kB / 0.6443 GB, free: 3.203 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.73e-05/0.1393, allocations: 4 kB / 0.6443 GB, free: 3.199 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.184e-05/0.1394, allocations: 15.92 kB / 0.6443 GB, free: 3.184 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.724e-05/0.1394, allocations: 31.86 kB / 0.6444 GB, free: 3.152 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.1396, allocations: 71.75 kB / 0.6444 GB, free: 3.082 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1396, allocations: 4 kB / 0.6444 GB, free: 3.078 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1396, allocations: 0 / 0.6444 GB, free: 3.078 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.1396, allocations: 0 / 0.6444 GB, free: 3.078 MB / 442.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.0007088/0.1403, allocations: 454.8 kB / 0.6449 GB, free: 2.574 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.1404, allocations: 15.97 kB / 0.6449 GB, free: 2.559 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.1404, allocations: 12.83 kB / 0.6449 GB, free: 2.547 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.1406, allocations: 189 kB / 0.6451 GB, free: 2.324 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1406, allocations: 4.375 kB / 0.6451 GB, free: 2.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.1406, allocations: 4.375 kB / 0.6451 GB, free: 2.316 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.1409, allocations: 121.7 kB / 0.6452 GB, free: 2.191 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1409, allocations: 0 / 0.6452 GB, free: 2.191 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.141, allocations: 3.984 kB / 0.6452 GB, free: 2.188 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.141, allocations: 8 kB / 0.6452 GB, free: 2.18 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/0.1413, allocations: 83.92 kB / 0.6453 GB, free: 2.098 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.1418, allocations: 340.6 kB / 0.6456 GB, free: 1.715 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.1421, allocations: 106.5 kB / 0.6457 GB, free: 1.602 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.1423, allocations: 72.94 kB / 0.6458 GB, free: 1.527 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.1424, allocations: 0 / 0.6458 GB, free: 1.527 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003578/0.1427, allocations: 135.2 kB / 0.6459 GB, free: 1.383 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1427, allocations: 4 kB / 0.6459 GB, free: 1.379 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006781/0.1434, allocations: 267.2 kB / 0.6462 GB, free: 1.105 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.1435, allocations: 89.09 kB / 0.6463 GB, free: 1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.369e-05/0.1436, allocations: 124 kB / 0.6464 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.1436, allocations: 33.7 kB / 0.6464 GB, free: 0.832 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.1437, allocations: 96.12 kB / 0.6465 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.1437, allocations: 19.75 kB / 0.6465 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.1438, allocations: 33.7 kB / 0.6466 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.606e-05/0.1439, allocations: 322.8 kB / 0.6469 GB, free: 360 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.1441, allocations: 63.95 kB / 0.6469 GB, free: 296 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.1443, allocations: 67.89 kB / 0.647 GB, free: 228 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.1446, allocations: 185.9 kB / 0.6472 GB, free: 20 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1446, allocations: 0 / 0.6472 GB, free: 20 kB / 442.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000494/0.1451, allocations: 260.8 kB / 0.6474 GB, free: 15.75 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/0.1452, allocations: 59.41 kB / 0.6475 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1452, allocations: 0 / 0.6475 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1452, allocations: 3.984 kB / 0.6475 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.1453, allocations: 27.92 kB / 0.6475 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1453, allocations: 4.141 kB / 0.6475 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.1455, allocations: 19.89 kB / 0.6475 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.1455, allocations: 7.984 kB / 0.6475 GB, free: 15.61 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 (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.0001021/0.1456, allocations: 155.5 kB / 0.6477 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.1456, allocations: 4.094 kB / 0.6477 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.1457, allocations: 20.3 kB / 0.6477 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1457, allocations: 4 kB / 0.6477 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1457, allocations: 0 / 0.6477 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1457, allocations: 0 / 0.6477 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.1459, allocations: 201.5 kB / 0.6479 GB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1459, allocations: 0 / 0.6479 GB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.577e-05/0.146, allocations: 11.98 kB / 0.6479 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.146, allocations: 0 / 0.6479 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.146, allocations: 11.94 kB / 0.6479 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.146, allocations: 0 / 0.6479 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.146, allocations: 0 / 0.6479 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008537/0.1469, allocations: 0.8717 MB / 0.6488 GB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.1469, allocations: 92.94 kB / 0.6489 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.1469, allocations: 11.94 kB / 0.6489 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.1471, allocations: 19.98 kB / 0.6489 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.1472, allocations: 31.95 kB / 0.6489 GB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.1472, allocations: 8 kB / 0.6489 GB, free: 14.03 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.043e-05/0.1473, allocations: 101.1 kB / 0.649 GB, free: 13.93 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1473, allocations: 0 / 0.649 GB, free: 13.93 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003032/0.1476, allocations: 28 kB / 0.649 GB, free: 13.9 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) * 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.767e-05/0.1477, allocations: 95.25 kB / 0.6491 GB, free: 13.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004831/0.1482, allocations: 270.6 kB / 0.6494 GB, free: 13.51 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1482, allocations: 4 kB / 0.6494 GB, free: 13.51 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.1485, allocations: 135.3 kB / 0.6495 GB, free: 13.36 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.1487, allocations: 12 kB / 0.6495 GB, free: 13.35 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.1493, allocations: 359.8 kB / 0.6499 GB, free: 12.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.1495, allocations: 0.6887 MB / 0.6506 GB, free: 12.24 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.236e-05/0.1496, allocations: 12 kB / 0.6506 GB, free: 12.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.1496, allocations: 11.42 kB / 0.6506 GB, free: 12.22 MB / 458.7 MB Notification: Performance of SimCode: time 4.1e-07/0.1496, allocations: 0 / 0.6506 GB, free: 12.22 MB / 458.7 MB Notification: Performance of Templates: time 0.003765/0.1534, allocations: 1.669 MB / 0.6522 GB, free: 10.56 MB / 458.7 MB 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)