Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002285/0.002285, allocations: 104.6 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003367/0.003367, allocations: 190.5 kB / 22.1 MB, free: 4.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 207.6 MB / 232.8 MB, free: 2.805 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4254/0.4254, allocations: 55.69 MB / 340.7 MB, free: 11.52 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests") translateModel(Annex60.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 81.89 kB / 482 MB, free: 36.56 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1493, allocations: 62.88 MB / 0.5321 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.NumberOfRequests): time 0.003531/0.1528, allocations: 1.491 MB / 0.5336 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.1539, allocations: 0.4958 MB / 0.5341 GB, free: 9.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.615e-05/0.154, allocations: 0 / 0.5341 GB, free: 9.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.1541, allocations: 11.86 kB / 0.5341 GB, free: 9.059 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.185e-05/0.1542, allocations: 11.88 kB / 0.5341 GB, free: 9.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.1545, allocations: 39.95 kB / 0.5341 GB, free: 9.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.1547, allocations: 103.7 kB / 0.5342 GB, free: 8.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1548, allocations: 16.09 kB / 0.5342 GB, free: 8.891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.155, allocations: 51.84 kB / 0.5343 GB, free: 8.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1551, allocations: 43.83 kB / 0.5343 GB, free: 8.797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.1551, allocations: 12 kB / 0.5343 GB, free: 8.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.321e-05/0.1551, allocations: 8 kB / 0.5344 GB, free: 8.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.74e-05/0.1552, allocations: 11.92 kB / 0.5344 GB, free: 8.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.35e-05/0.1553, allocations: 39.84 kB / 0.5344 GB, free: 8.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.1554, allocations: 79.7 kB / 0.5345 GB, free: 8.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1554, allocations: 4 kB / 0.5345 GB, free: 8.645 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1555, allocations: 0 / 0.5345 GB, free: 8.645 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1555, allocations: 0 / 0.5345 GB, free: 8.645 MB / 398.1 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.0008062/0.1563, allocations: 365.5 kB / 0.5348 GB, free: 8.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1563, allocations: 19.97 kB / 0.5349 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.1564, allocations: 12.88 kB / 0.5349 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.1566, allocations: 134.4 kB / 0.535 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1566, allocations: 4.375 kB / 0.535 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.1566, allocations: 8.375 kB / 0.535 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.1569, allocations: 121.7 kB / 0.5351 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1569, allocations: 0 / 0.5351 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.157, allocations: 4 kB / 0.5351 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.157, allocations: 4 kB / 0.5351 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003563/0.1573, allocations: 87.92 kB / 0.5352 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.1579, allocations: 299.8 kB / 0.5355 GB, free: 7.492 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/0.1583, allocations: 106.4 kB / 0.5356 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.1585, allocations: 64.94 kB / 0.5357 GB, free: 7.312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.1585, allocations: 0 / 0.5357 GB, free: 7.312 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003603/0.1589, allocations: 123.3 kB / 0.5358 GB, free: 7.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1589, allocations: 0 / 0.5358 GB, free: 7.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007368/0.1596, allocations: 283.1 kB / 0.536 GB, free: 6.891 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.1597, allocations: 85.11 kB / 0.5361 GB, free: 6.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.1598, allocations: 125.8 kB / 0.5363 GB, free: 6.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.1598, allocations: 29.7 kB / 0.5363 GB, free: 6.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.673e-05/0.1599, allocations: 100.1 kB / 0.5364 GB, free: 6.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.1599, allocations: 19.91 kB / 0.5364 GB, free: 6.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.736e-05/0.16, allocations: 29.7 kB / 0.5364 GB, free: 6.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1601, allocations: 318.8 kB / 0.5367 GB, free: 6.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.1603, allocations: 71.94 kB / 0.5368 GB, free: 6.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.1605, allocations: 59.95 kB / 0.5369 GB, free: 6.016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.1609, allocations: 189.9 kB / 0.537 GB, free: 5.809 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1609, allocations: 0 / 0.537 GB, free: 5.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006409/0.1615, allocations: 256.9 kB / 0.5373 GB, free: 5.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.568e-05/0.1616, allocations: 67.41 kB / 0.5373 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1616, allocations: 0 / 0.5373 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.1616, allocations: 0 / 0.5373 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.1617, allocations: 11.98 kB / 0.5374 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1617, allocations: 4 kB / 0.5374 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.1619, allocations: 31.91 kB / 0.5374 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.1619, allocations: 7.938 kB / 0.5374 GB, free: 5.406 MB / 398.1 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.0002502/0.1622, allocations: 159.4 kB / 0.5375 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.1622, allocations: 11.95 kB / 0.5376 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.1622, allocations: 8.469 kB / 0.5376 GB, free: 5.215 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1622, allocations: 3.938 kB / 0.5376 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1622, allocations: 256 / 0.5376 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1622, allocations: 8 kB / 0.5376 GB, free: 5.203 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.1625, allocations: 172.6 kB / 0.5377 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1626, allocations: 4 kB / 0.5377 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.3e-05/0.1626, allocations: 11.98 kB / 0.5378 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1626, allocations: 0 / 0.5378 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.1627, allocations: 3.984 kB / 0.5378 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1627, allocations: 4 kB / 0.5378 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1627, allocations: 0 / 0.5378 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005448/0.1632, allocations: 254.6 kB / 0.538 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.1632, allocations: 4 kB / 0.538 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.1633, allocations: 4 kB / 0.538 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.1634, allocations: 19.97 kB / 0.538 GB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.1635, allocations: 35.95 kB / 0.5381 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.1636, allocations: 4 kB / 0.5381 GB, free: 4.629 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.081e-05/0.1636, allocations: 107.1 kB / 0.5382 GB, free: 4.527 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1636, allocations: 0 / 0.5382 GB, free: 4.527 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002257/0.1638, allocations: 31.89 kB / 0.5382 GB, free: 4.496 MB / 398.1 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.0001163/0.164, allocations: 103.2 kB / 0.5383 GB, free: 4.387 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000552/0.1645, allocations: 254.6 kB / 0.5385 GB, free: 4.113 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1645, allocations: 0 / 0.5385 GB, free: 4.113 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002699/0.1648, allocations: 135.3 kB / 0.5387 GB, free: 3.969 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.165, allocations: 12.31 kB / 0.5387 GB, free: 3.957 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005857/0.1656, allocations: 231.3 kB / 0.5389 GB, free: 3.703 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.1659, allocations: 0.6885 MB / 0.5396 GB, free: 2.988 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.256e-05/0.166, allocations: 11.98 kB / 0.5396 GB, free: 2.977 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.166, allocations: 15.44 kB / 0.5396 GB, free: 2.961 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.166, allocations: 0 / 0.5396 GB, free: 2.961 MB / 398.1 MB Notification: Performance of Templates: time 0.005292/0.1713, allocations: 1.935 MB / 0.5415 GB, free: 1.035 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.595454526133835] Failed to read output from testmodel.py, exit status != 0: 0.17986628133803606 0.19701195400000002 0.038061815000000006 Calling exit ...