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/Complex 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) 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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001247, allocations: 182.7 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/package.mo): time 0.7396/0.7396, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.422/1.422, allocations: 222.9 MB / 403.3 MB, free: 7.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.001086/0.001086, allocations: 105.4 kB / 484.3 MB, free: 8.734 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 51.92 kB / 0.5618 GB, free: 71.08 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1464, allocations: 80.2 MB / 0.6402 GB, free: 6.805 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002675/0.1491, allocations: 1.537 MB / 0.6417 GB, free: 5.25 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007488/0.1499, allocations: 471.9 kB / 0.6421 GB, free: 4.785 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.1499, allocations: 0 / 0.6421 GB, free: 4.785 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.532e-05/0.15, allocations: 7.922 kB / 0.6421 GB, free: 4.777 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.597e-05/0.1501, allocations: 7.875 kB / 0.6421 GB, free: 4.77 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.1503, allocations: 35.97 kB / 0.6422 GB, free: 4.734 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.1504, allocations: 79.83 kB / 0.6422 GB, free: 4.656 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.485e-05/0.1505, allocations: 20.16 kB / 0.6423 GB, free: 4.637 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.1507, allocations: 47.78 kB / 0.6423 GB, free: 4.59 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.315e-05/0.1507, allocations: 35.89 kB / 0.6423 GB, free: 4.555 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.1508, allocations: 4 kB / 0.6423 GB, free: 4.551 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.665e-05/0.1508, allocations: 8 kB / 0.6423 GB, free: 4.543 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.1508, allocations: 19.91 kB / 0.6424 GB, free: 4.523 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.466e-05/0.1509, allocations: 35.8 kB / 0.6424 GB, free: 4.488 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.151, allocations: 67.83 kB / 0.6425 GB, free: 4.422 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1511, allocations: 4 kB / 0.6425 GB, free: 4.418 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.1511, allocations: 0 / 0.6425 GB, free: 4.418 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.1511, allocations: 3.938 kB / 0.6425 GB, free: 4.414 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.0007019/0.1518, allocations: 450.8 kB / 0.6429 GB, free: 3.914 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1518, allocations: 16.03 kB / 0.6429 GB, free: 3.898 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.1519, allocations: 8.844 kB / 0.6429 GB, free: 3.891 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.1521, allocations: 192.1 kB / 0.6431 GB, free: 3.664 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1521, allocations: 4.375 kB / 0.6431 GB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.1521, allocations: 12.38 kB / 0.6431 GB, free: 3.648 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.1524, allocations: 109.8 kB / 0.6432 GB, free: 3.535 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1524, allocations: 0 / 0.6432 GB, free: 3.535 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.1525, allocations: 7.984 kB / 0.6432 GB, free: 3.527 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1525, allocations: 4 kB / 0.6432 GB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.1528, allocations: 87.92 kB / 0.6433 GB, free: 3.438 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.1533, allocations: 328.6 kB / 0.6436 GB, free: 3.066 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.1536, allocations: 110.5 kB / 0.6437 GB, free: 2.949 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.1538, allocations: 72.94 kB / 0.6438 GB, free: 2.875 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.1538, allocations: 0 / 0.6438 GB, free: 2.875 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/0.1541, allocations: 119.4 kB / 0.6439 GB, free: 2.746 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.1542, allocations: 3.938 kB / 0.6439 GB, free: 2.742 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006815/0.1548, allocations: 283.2 kB / 0.6442 GB, free: 2.453 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.1549, allocations: 89.09 kB / 0.6443 GB, free: 2.348 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.155, allocations: 128.8 kB / 0.6444 GB, free: 2.215 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1551, allocations: 29.7 kB / 0.6444 GB, free: 2.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/0.1551, allocations: 100.1 kB / 0.6445 GB, free: 2.078 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.1551, allocations: 23.75 kB / 0.6446 GB, free: 2.055 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-05/0.1552, allocations: 29.7 kB / 0.6446 GB, free: 2.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1553, allocations: 318.8 kB / 0.6449 GB, free: 1.699 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.1555, allocations: 67.95 kB / 0.645 GB, free: 1.633 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.1557, allocations: 63.94 kB / 0.645 GB, free: 1.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.156, allocations: 189.8 kB / 0.6452 GB, free: 1.363 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.156, allocations: 3.984 kB / 0.6452 GB, free: 1.359 MB / 442.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004691/0.1565, allocations: 248.9 kB / 0.6454 GB, free: 1.098 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.502e-05/0.1566, allocations: 71.33 kB / 0.6455 GB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1566, allocations: 3.938 kB / 0.6455 GB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1566, allocations: 0 / 0.6455 GB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.1567, allocations: 15.98 kB / 0.6455 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1567, allocations: 4 kB / 0.6455 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.1569, allocations: 23.88 kB / 0.6455 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.1569, allocations: 8 kB / 0.6456 GB, free: 0.9609 MB / 442.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.0001089/0.157, allocations: 156.8 kB / 0.6457 GB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.1571, allocations: 4 kB / 0.6457 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.1571, allocations: 12.38 kB / 0.6457 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1571, allocations: 0 / 0.6457 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1571, allocations: 4 kB / 0.6457 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1571, allocations: 0 / 0.6457 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.1573, allocations: 205.4 kB / 0.6459 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1573, allocations: 0 / 0.6459 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.353e-05/0.1574, allocations: 12.08 kB / 0.6459 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1574, allocations: 3.938 kB / 0.6459 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.1574, allocations: 7.984 kB / 0.6459 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.1574, allocations: 0 / 0.6459 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1574, allocations: 3.938 kB / 0.6459 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008575/0.1583, allocations: 0.8757 MB / 0.6468 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.1583, allocations: 84.95 kB / 0.6469 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.1584, allocations: 11.94 kB / 0.6469 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.1585, allocations: 23.97 kB / 0.6469 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.1586, allocations: 39.95 kB / 0.647 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.1587, allocations: 0 / 0.647 GB, free: 15.38 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.661e-05/0.1587, allocations: 99.27 kB / 0.6471 GB, free: 15.28 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1587, allocations: 0 / 0.6471 GB, free: 15.28 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002932/0.159, allocations: 24 kB / 0.6471 GB, free: 15.25 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 0.0001026/0.1591, allocations: 103.2 kB / 0.6472 GB, free: 15.14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004925/0.1596, allocations: 262.7 kB / 0.6474 GB, free: 14.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1597, allocations: 0 / 0.6474 GB, free: 14.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.1599, allocations: 143.3 kB / 0.6476 GB, free: 14.71 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.1601, allocations: 19.19 kB / 0.6476 GB, free: 14.69 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005928/0.1607, allocations: 355.8 kB / 0.6479 GB, free: 14.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.161, allocations: 0.6887 MB / 0.6486 GB, free: 13.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.475e-05/0.1611, allocations: 11.98 kB / 0.6486 GB, free: 13.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.1611, allocations: 15.44 kB / 0.6486 GB, free: 13.56 MB / 458.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1611, allocations: 0 / 0.6486 GB, free: 13.56 MB / 458.7 MB Notification: Performance of Templates: time 0.003902/0.165, allocations: 1.657 MB / 0.6502 GB, free: 11.92 MB / 458.7 MB 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)