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.001342/0.001342, allocations: 115.1 kB / 16.42 MB, free: 6.496 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.001187/0.001187, allocations: 193.6 kB / 17.35 MB, free: 5.758 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.34/1.34, 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-master/package.mo): time 0.7661/0.7661, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 70.14 kB / 0.5862 GB, free: 21.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1569, allocations: 80.92 MB / 0.6653 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002435/0.1594, allocations: 1.477 MB / 0.6667 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000751/0.1602, allocations: 458.9 kB / 0.6672 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.613e-05/0.1602, allocations: 0 / 0.6672 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.456e-05/0.1603, allocations: 11.88 kB / 0.6672 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.759e-05/0.1604, allocations: 19.84 kB / 0.6672 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.1606, allocations: 31.95 kB / 0.6672 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.1608, allocations: 99.7 kB / 0.6673 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1609, allocations: 16.17 kB / 0.6673 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.161, allocations: 55.83 kB / 0.6674 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.636e-05/0.1611, allocations: 47.77 kB / 0.6674 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.1612, allocations: 8 kB / 0.6674 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.832e-05/0.1612, allocations: 8 kB / 0.6674 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.472e-05/0.1613, allocations: 15.98 kB / 0.6675 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.436e-05/0.1613, allocations: 39.8 kB / 0.6675 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.1615, allocations: 79.69 kB / 0.6676 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1615, allocations: 0 / 0.6676 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1615, allocations: 0 / 0.6676 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.1615, allocations: 0 / 0.6676 GB, free: 3.484 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.0006791/0.1622, allocations: 442.7 kB / 0.668 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1622, allocations: 13.11 kB / 0.668 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.1623, allocations: 12.84 kB / 0.668 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.1625, allocations: 192.2 kB / 0.6682 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1625, allocations: 4.375 kB / 0.6682 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.1625, allocations: 4.375 kB / 0.6682 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.1628, allocations: 125.7 kB / 0.6683 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1629, allocations: 0 / 0.6683 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.1629, allocations: 4 kB / 0.6683 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1629, allocations: 4 kB / 0.6683 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.1632, allocations: 83.92 kB / 0.6684 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005405/0.1637, allocations: 328.7 kB / 0.6687 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.164, allocations: 114.4 kB / 0.6688 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.1642, allocations: 72.94 kB / 0.6689 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.1642, allocations: 0 / 0.6689 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000295/0.1645, allocations: 119.3 kB / 0.669 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1646, allocations: 7.938 kB / 0.669 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006834/0.1652, allocations: 275.1 kB / 0.6693 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.1653, allocations: 85.11 kB / 0.6694 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.1654, allocations: 125.8 kB / 0.6695 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1654, allocations: 33.7 kB / 0.6695 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.1655, allocations: 108 kB / 0.6696 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.1655, allocations: 11.97 kB / 0.6696 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.724e-05/0.1656, allocations: 33.7 kB / 0.6697 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1657, allocations: 318.8 kB / 0.67 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.1659, allocations: 67.94 kB / 0.67 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.1661, allocations: 63.95 kB / 0.6701 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.1664, allocations: 185.9 kB / 0.6703 GB, free: 456 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1664, allocations: 4 kB / 0.6703 GB, free: 452 kB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000482/0.1669, allocations: 260.8 kB / 0.6705 GB, free: 172 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.964e-05/0.167, allocations: 63.41 kB / 0.6706 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.167, allocations: 0 / 0.6706 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.167, allocations: 0 / 0.6706 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1672, allocations: 20.23 kB / 0.6706 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1672, allocations: 0 / 0.6706 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.1673, allocations: 27.88 kB / 0.6706 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.1673, allocations: 4 kB / 0.6706 GB, free: 44 kB / 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.0001432/0.1675, allocations: 163.4 kB / 0.6708 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.1675, allocations: 7.906 kB / 0.6708 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.1676, allocations: 16.36 kB / 0.6708 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1676, allocations: 0 / 0.6708 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1676, allocations: 4 kB / 0.6708 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.1676, allocations: 81.09 kB / 0.6709 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.1677, allocations: 11.94 kB / 0.6709 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.1678, allocations: 15.98 kB / 0.6709 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.1679, allocations: 35.95 kB / 0.671 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005688/0.1685, allocations: 358 kB / 0.6713 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005149/0.169, allocations: 396.3 kB / 0.6717 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001958/0.1692, allocations: 75.95 kB / 0.6718 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.856e-05/0.1693, allocations: 106.1 kB / 0.6719 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of Backend: time 2.9e-07/0.1693, allocations: 4 kB / 0.6719 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006188/0.1699, allocations: 281.1 kB / 0.6721 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0007151/0.1707, allocations: 0.6824 MB / 0.6728 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.004532/0.1752, allocations: 2.053 MB / 0.6748 GB, free: 11.62 MB / 0.5137 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)