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.001185/0.001185, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001262/0.001262, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.376/1.376, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8967/0.8967, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 60.62 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1478, allocations: 80.22 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.00259/0.1504, allocations: 1.465 MB / 0.6617 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00078/0.1512, allocations: 478.8 kB / 0.6622 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.24e-05/0.1513, allocations: 3.938 kB / 0.6622 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.354e-05/0.1514, allocations: 3.938 kB / 0.6622 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.751e-05/0.1514, allocations: 7.875 kB / 0.6622 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.1517, allocations: 43.89 kB / 0.6622 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.1519, allocations: 107.7 kB / 0.6624 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.152, allocations: 16.17 kB / 0.6624 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.1521, allocations: 47.89 kB / 0.6624 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.443e-05/0.1522, allocations: 43.83 kB / 0.6625 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.1522, allocations: 8 kB / 0.6625 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.984e-05/0.1523, allocations: 8 kB / 0.6625 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.597e-05/0.1523, allocations: 11.97 kB / 0.6625 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.919e-05/0.1524, allocations: 47.73 kB / 0.6625 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.1525, allocations: 79.69 kB / 0.6626 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1525, allocations: 8 kB / 0.6626 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1526, allocations: 0 / 0.6626 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.1526, allocations: 0 / 0.6626 GB, free: 7.914 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.0006876/0.1533, allocations: 446.5 kB / 0.663 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1533, allocations: 12.03 kB / 0.663 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.1534, allocations: 8.891 kB / 0.6631 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.1535, allocations: 189.8 kB / 0.6632 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1536, allocations: 8.375 kB / 0.6632 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.1536, allocations: 8.375 kB / 0.6633 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.1539, allocations: 113.8 kB / 0.6634 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1539, allocations: 3.984 kB / 0.6634 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.1539, allocations: 7.938 kB / 0.6634 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1539, allocations: 4 kB / 0.6634 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.1542, allocations: 87.92 kB / 0.6635 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.1548, allocations: 328.7 kB / 0.6638 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/0.1551, allocations: 106.5 kB / 0.6639 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.1553, allocations: 72.94 kB / 0.6639 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.1553, allocations: 7.938 kB / 0.664 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003347/0.1556, allocations: 119.3 kB / 0.6641 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1557, allocations: 0 / 0.6641 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0007236/0.1564, allocations: 279.2 kB / 0.6643 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.1564, allocations: 89.05 kB / 0.6644 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.1566, allocations: 131.8 kB / 0.6645 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.1566, allocations: 29.7 kB / 0.6646 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.1567, allocations: 108 kB / 0.6647 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.1567, allocations: 15.91 kB / 0.6647 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.1568, allocations: 25.7 kB / 0.6647 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.1569, allocations: 326.8 kB / 0.665 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.1571, allocations: 67.89 kB / 0.6651 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.1573, allocations: 67.94 kB / 0.6652 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.1576, allocations: 181.9 kB / 0.6653 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1576, allocations: 0 / 0.6653 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004743/0.1581, allocations: 260.9 kB / 0.6656 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.997e-05/0.1582, allocations: 67.39 kB / 0.6656 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1582, allocations: 0 / 0.6656 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1582, allocations: 0 / 0.6656 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.1583, allocations: 15.98 kB / 0.6657 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1583, allocations: 0 / 0.6657 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.1585, allocations: 19.97 kB / 0.6657 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.1585, allocations: 12 kB / 0.6657 GB, free: 4.469 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.0001393/0.1587, allocations: 155.5 kB / 0.6658 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.1587, allocations: 7.953 kB / 0.6658 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.1587, allocations: 8.375 kB / 0.6659 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1588, allocations: 7.938 kB / 0.6659 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1588, allocations: 0 / 0.6659 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.1588, allocations: 92.98 kB / 0.6659 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.1589, allocations: 7.938 kB / 0.666 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.159, allocations: 19.98 kB / 0.666 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.1591, allocations: 39.95 kB / 0.666 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005916/0.1597, allocations: 354 kB / 0.6664 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005337/0.1603, allocations: 392.3 kB / 0.6667 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002018/0.1605, allocations: 79.94 kB / 0.6668 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.158e-05/0.1606, allocations: 107.3 kB / 0.6669 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of Backend: time 5.51e-07/0.1606, allocations: 3.938 kB / 0.6669 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006189/0.1612, allocations: 274.7 kB / 0.6672 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0006893/0.1619, allocations: 0.6672 MB / 0.6678 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of Templates: time 0.004693/0.1666, allocations: 2.052 MB / 0.6698 GB, free: 76 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)