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.0007316/0.0007316, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009701/0.001702, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006814/0.0006814, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008887/0.00157, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9904/0.9904, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09014/1.081, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.7267/0.7267, allocations: 155.3 MB / 399.2 MB, free: 15.93 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.3008/1.028, allocations: 49.13 MB / 448.4 MB, free: 6.031 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 1.293e-06/1.293e-06, allocations: 0 / 449.6 MB, free: 4.789 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.911e-05, allocations: 2.312 kB / 449.7 MB, free: 4.785 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.001991/0.00201, allocations: 1.579 MB / 451.2 MB, free: 3.234 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006758/0.002686, allocations: 0.511 MB / 451.7 MB, free: 2.727 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.699e-05/0.002743, allocations: 1.219 kB / 451.7 MB, free: 2.727 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.195e-05/0.002805, allocations: 7.875 kB / 451.7 MB, free: 2.719 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.238e-05/0.002857, allocations: 26.02 kB / 451.8 MB, free: 2.699 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.003047, allocations: 44.75 kB / 451.8 MB, free: 2.656 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.003248, allocations: 106.7 kB / 451.9 MB, free: 2.566 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.88e-05/0.003347, allocations: 17.02 kB / 451.9 MB, free: 2.551 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.003531, allocations: 75.56 kB / 452 MB, free: 2.48 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.024e-05/0.003601, allocations: 31.95 kB / 452 MB, free: 2.449 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.003624, allocations: 9.156 kB / 452.1 MB, free: 2.441 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.649e-05/0.003681, allocations: 12 kB / 452.1 MB, free: 2.43 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.296e-05/0.003714, allocations: 11.94 kB / 452.1 MB, free: 2.418 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.003755, allocations: 24.5 kB / 452.1 MB, free: 2.395 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.003887, allocations: 69.33 kB / 452.2 MB, free: 2.328 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.766e-05/0.003905, allocations: 7.938 kB / 452.2 MB, free: 2.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.003905, allocations: 0 / 452.2 MB, free: 2.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.003923, allocations: 0 / 452.2 MB, free: 2.32 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.0005467/0.00447, allocations: 358.7 kB / 452.5 MB, free: 1.938 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.0045, allocations: 8.531 kB / 452.5 MB, free: 1.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.004655, allocations: 98.81 kB / 452.6 MB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.004817, allocations: 137.6 kB / 452.8 MB, free: 1.656 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.004831, allocations: 5.375 kB / 452.8 MB, free: 1.652 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.004846, allocations: 8.375 kB / 452.8 MB, free: 1.645 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.005041, allocations: 130.5 kB / 452.9 MB, free: 1.504 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.005049, allocations: 192 / 452.9 MB, free: 1.504 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.005062, allocations: 8.125 kB / 452.9 MB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.005068, allocations: 0 / 452.9 MB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.917e-05/0.005127, allocations: 61.62 kB / 453 MB, free: 1.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003033/0.00543, allocations: 184.3 kB / 453.2 MB, free: 1.234 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.005537, allocations: 76.27 kB / 453.2 MB, free: 1.145 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.402e-05/0.005581, allocations: 54.67 kB / 453.3 MB, free: 1.082 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.005596, allocations: 5.969 kB / 453.3 MB, free: 1.078 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.005775, allocations: 126.2 kB / 453.4 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.485e-06/0.005777, allocations: 0 / 453.4 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002165/0.005994, allocations: 190.8 kB / 453.6 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.00603, allocations: 56.47 kB / 453.7 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.275e-05/0.006113, allocations: 140.2 kB / 453.8 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.006131, allocations: 29.7 kB / 453.8 MB, free: 488 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.006172, allocations: 93.27 kB / 453.9 MB, free: 392 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.006191, allocations: 15.91 kB / 453.9 MB, free: 376 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.00624, allocations: 33.69 kB / 454 MB, free: 336 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.108e-05/0.006322, allocations: 319.5 kB / 454.3 MB, free: 8 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.282e-05/0.006394, allocations: 83.39 kB / 454.4 MB, free: 15.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.74e-05/0.006442, allocations: 84.81 kB / 454.4 MB, free: 15.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.747e-05/0.006529, allocations: 140.8 kB / 454.6 MB, free: 15.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.006531, allocations: 0 / 454.6 MB, free: 15.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001357/0.006667, allocations: 208.9 kB / 454.8 MB, free: 15.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.273e-05/0.00672, allocations: 67.39 kB / 454.8 MB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.006725, allocations: 1.594 kB / 454.8 MB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.006734, allocations: 0 / 454.8 MB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.382e-05/0.006818, allocations: 15.98 kB / 454.9 MB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.006821, allocations: 160 / 454.9 MB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.187e-05/0.006883, allocations: 24.81 kB / 454.9 MB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.006898, allocations: 17.05 kB / 454.9 MB, free: 15.29 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 8.892e-05/0.006987, allocations: 146.4 kB / 455 MB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.007006, allocations: 20.55 kB / 455.1 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.007031, allocations: 10.94 kB / 455.1 MB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.007032, allocations: 0 / 455.1 MB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-06/0.007033, allocations: 0 / 455.1 MB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.007038, allocations: 5.125 kB / 455.1 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.414e-05/0.007112, allocations: 85.86 kB / 455.2 MB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.007114, allocations: 3.938 kB / 455.2 MB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.567e-05/0.007149, allocations: 9.422 kB / 455.2 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.007161, allocations: 11.94 kB / 455.2 MB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.007163, allocations: 7.875 kB / 455.2 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.007171, allocations: 4 kB / 455.2 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.007173, allocations: 4.641 kB / 455.2 MB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007174, allocations: 0 / 455.2 MB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.007308, allocations: 169.8 kB / 455.4 MB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.007325, allocations: 8 kB / 455.4 MB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.844e-05/0.007374, allocations: 16.58 kB / 455.4 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.673e-05/0.007451, allocations: 35.95 kB / 455.4 MB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.007458, allocations: 4.594 kB / 455.4 MB, free: 14.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.436e-05/0.007482, allocations: 31.64 kB / 455.5 MB, free: 14.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007482, allocations: 0.625 kB / 455.5 MB, free: 14.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000105/0.007587, allocations: 20.62 kB / 455.5 MB, free: 14.64 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 8.608e-05/0.007674, allocations: 93.88 kB / 455.6 MB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.007865, allocations: 269.3 kB / 455.8 MB, free: 14.24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/0.007872, allocations: 0 / 455.8 MB, free: 14.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.152e-05/0.007954, allocations: 130.5 kB / 456 MB, free: 14.09 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.008072, allocations: 24.92 kB / 456 MB, free: 14.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007314/0.008803, allocations: 255.2 kB / 456.2 MB, free: 13.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.564e-05/0.008839, allocations: 67.2 kB / 456.3 MB, free: 13.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.419e-05/0.008873, allocations: 4.875 kB / 456.3 MB, free: 13.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.176e-05/0.008965, allocations: 79.36 kB / 456.4 MB, free: 13.62 MB / 442.7 MB Notification: Performance of SimCode: time 7.12e-07/0.008965, allocations: 0.5312 kB / 456.4 MB, free: 13.62 MB / 442.7 MB Notification: Performance of Templates: time 0.003727/0.01269, allocations: 2.12 MB / 458.5 MB, free: 11.66 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.474951717071235]