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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001772/0.002926, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009831/0.0009831, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0013/0.002283, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.033/1.033, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09476/1.128, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.8216/0.8216, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2942/1.116, allocations: 49.13 MB / 448.6 MB, free: 5.926 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests") translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0.875 kB / 449.9 MB, free: 4.656 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/3.011e-05, allocations: 2.312 kB / 449.9 MB, free: 4.652 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.003034/0.003065, allocations: 1.585 MB / 451.5 MB, free: 3.09 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008102/0.003875, allocations: 0.5087 MB / 452 MB, free: 2.586 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.296e-05/0.003938, allocations: 4.766 kB / 452 MB, free: 2.582 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.92e-05/0.003997, allocations: 11.88 kB / 452 MB, free: 2.57 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.531e-05/0.004052, allocations: 13.55 kB / 452 MB, free: 2.562 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.004251, allocations: 45.16 kB / 452.1 MB, free: 2.52 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.004446, allocations: 114.2 kB / 452.2 MB, free: 2.426 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.17e-05/0.004527, allocations: 7.078 kB / 452.2 MB, free: 2.422 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.004754, allocations: 83.69 kB / 452.3 MB, free: 2.344 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.164e-05/0.004846, allocations: 37.3 kB / 452.3 MB, free: 2.309 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.004871, allocations: 8 kB / 452.3 MB, free: 2.301 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.168e-05/0.004933, allocations: 13 kB / 452.3 MB, free: 2.289 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.18e-05/0.004975, allocations: 11.94 kB / 452.4 MB, free: 2.277 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.005022, allocations: 20 kB / 452.4 MB, free: 2.258 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.00517, allocations: 68.62 kB / 452.4 MB, free: 2.191 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.309e-05/0.005184, allocations: 4 kB / 452.4 MB, free: 2.188 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005184, allocations: 0.5 kB / 452.4 MB, free: 2.188 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.005193, allocations: 0 / 452.4 MB, free: 2.188 MB / 426.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.0005855/0.005778, allocations: 363.5 kB / 452.8 MB, free: 1.801 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.005813, allocations: 12.03 kB / 452.8 MB, free: 1.789 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.005988, allocations: 102 kB / 452.9 MB, free: 1.672 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.006151, allocations: 130.3 kB / 453 MB, free: 1.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.006164, allocations: 11.42 kB / 453.1 MB, free: 1.512 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.006189, allocations: 8.375 kB / 453.1 MB, free: 1.504 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.006386, allocations: 124.6 kB / 453.2 MB, free: 1.367 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.006394, allocations: 192 / 453.2 MB, free: 1.367 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.006411, allocations: 12.11 kB / 453.2 MB, free: 1.355 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.006417, allocations: 0.5625 kB / 453.2 MB, free: 1.355 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.491e-05/0.006482, allocations: 61.61 kB / 453.3 MB, free: 1.289 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.006791, allocations: 177.4 kB / 453.4 MB, free: 1.102 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.006906, allocations: 81.25 kB / 453.5 MB, free: 1.008 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.355e-05/0.00696, allocations: 58.67 kB / 453.6 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.006972, allocations: 0 / 453.6 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.007144, allocations: 126.4 kB / 453.7 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.007145, allocations: 0 / 453.7 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002478/0.007393, allocations: 194.8 kB / 453.9 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.007426, allocations: 52.25 kB / 453.9 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.841e-05/0.007524, allocations: 140 kB / 454.1 MB, free: 384 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.007546, allocations: 29.7 kB / 454.1 MB, free: 348 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.876e-05/0.007605, allocations: 96.78 kB / 454.2 MB, free: 248 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.007625, allocations: 20.67 kB / 454.2 MB, free: 228 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.007678, allocations: 25.7 kB / 454.2 MB, free: 196 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.00785, allocations: 322.8 kB / 454.5 MB, free: 15.87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.418e-05/0.007924, allocations: 80.02 kB / 454.6 MB, free: 15.78 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.092e-05/0.007995, allocations: 88.88 kB / 454.7 MB, free: 15.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.008119, allocations: 140.7 kB / 454.9 MB, free: 15.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.008121, allocations: 0 / 454.9 MB, free: 15.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001865/0.008307, allocations: 208.3 kB / 455.1 MB, free: 15.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.66e-05/0.008364, allocations: 69.48 kB / 455.1 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.008368, allocations: 0 / 455.1 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.008382, allocations: 3.938 kB / 455.1 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.78e-05/0.00848, allocations: 15.98 kB / 455.1 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.008483, allocations: 160 / 455.1 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.728e-05/0.008581, allocations: 28.78 kB / 455.2 MB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.008594, allocations: 4 kB / 455.2 MB, free: 15.16 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.000103/0.008697, allocations: 152.4 kB / 455.3 MB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.008723, allocations: 15.92 kB / 455.3 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.008751, allocations: 17.97 kB / 455.4 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.008753, allocations: 0 / 455.4 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.008755, allocations: 0 / 455.4 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.008758, allocations: 4.562 kB / 455.4 MB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.623e-05/0.008855, allocations: 82.11 kB / 455.4 MB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.008856, allocations: 0.5938 kB / 455.4 MB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.627e-05/0.008902, allocations: 12.66 kB / 455.5 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.008919, allocations: 11.94 kB / 455.5 MB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.008923, allocations: 4.469 kB / 455.5 MB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.008934, allocations: 4.562 kB / 455.5 MB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.008937, allocations: 3.984 kB / 455.5 MB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.008939, allocations: 2.359 kB / 455.5 MB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.009123, allocations: 173.3 kB / 455.6 MB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.009145, allocations: 4 kB / 455.7 MB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.484e-05/0.00921, allocations: 17.14 kB / 455.7 MB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.5e-05/0.009305, allocations: 39.95 kB / 455.7 MB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.009315, allocations: 7.984 kB / 455.7 MB, free: 14.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.922e-05/0.009344, allocations: 28.09 kB / 455.7 MB, free: 14.53 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009344, allocations: 3.938 kB / 455.7 MB, free: 14.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001687/0.009513, allocations: 28.89 kB / 455.8 MB, free: 14.5 MB / 442.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.344e-05/0.009606, allocations: 81.42 kB / 455.9 MB, free: 14.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.009837, allocations: 272.7 kB / 456.1 MB, free: 14.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.009844, allocations: 0.625 kB / 456.1 MB, free: 14.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.00996, allocations: 133.9 kB / 456.3 MB, free: 13.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.01012, allocations: 80.7 kB / 456.3 MB, free: 13.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009818/0.0111, allocations: 247.3 kB / 456.6 MB, free: 13.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.54e-05/0.01114, allocations: 64.09 kB / 456.6 MB, free: 13.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.468e-05/0.01119, allocations: 12.17 kB / 456.6 MB, free: 13.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.01131, allocations: 83.36 kB / 456.7 MB, free: 13.41 MB / 442.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01131, allocations: 0.9062 kB / 456.7 MB, free: 13.41 MB / 442.7 MB Notification: Performance of Templates: time 0.005307/0.01662, allocations: 2.123 MB / 458.9 MB, free: 11.45 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6257268264889717]