Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04248/0.04248, allocations: 9.135 MB / 28.99 MB, free: 392 kB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0009166/0.0009166, allocations: 98.64 kB / 35.33 MB, free: 0.9023 MB / 24.77 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.001042/0.001042, allocations: 159.1 kB / 38.73 MB, free: 2.383 MB / 24.77 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.9788/0.9788, allocations: 177.1 MB / 219.2 MB, free: 10.13 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.006271/0.006271, allocations: 0.8185 MB / 276.5 MB, free: 0.7656 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.638/1.638, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests") translateModel(AixLib.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6378 GB, free: 14.19 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.729e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.18 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.Continuous.Examples.NumberOfRequests): time 0.003027/0.003054, allocations: 1.533 MB / 0.6393 GB, free: 12.64 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.004143, allocations: 0.514 MB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.615e-05/0.004219, allocations: 0 / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.00434, allocations: 11.86 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.247e-05/0.004412, allocations: 11.88 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.004745, allocations: 59.8 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.004941, allocations: 99.7 kB / 0.64 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.575e-05/0.005036, allocations: 12.17 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.005302, allocations: 67.88 kB / 0.6401 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 9.817e-05/0.0054, allocations: 31.89 kB / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.005428, allocations: 8 kB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 5.045e-05/0.005478, allocations: 8 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.162e-05/0.00552, allocations: 19.97 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.005575, allocations: 27.92 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.005744, allocations: 87.7 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.005749, allocations: 7.984 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.42e-07/0.00575, allocations: 0 / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.005754, allocations: 0 / 0.6402 GB, free: 11.67 MB / 0.6043 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.0005533/0.006308, allocations: 348 kB / 0.6406 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.006347, allocations: 15.98 kB / 0.6406 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.006513, allocations: 20.92 kB / 0.6406 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.006973, allocations: 133.6 kB / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.006991, allocations: 4.375 kB / 0.6407 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.007015, allocations: 12.38 kB / 0.6408 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.007268, allocations: 132.6 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.007277, allocations: 4.125 kB / 0.6409 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.007293, allocations: 8.109 kB / 0.6409 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.007299, allocations: 4 kB / 0.6409 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.772e-05/0.007387, allocations: 53.69 kB / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.007766, allocations: 187 kB / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.007895, allocations: 72.27 kB / 0.6412 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.547e-05/0.007961, allocations: 62.61 kB / 0.6413 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.007975, allocations: 0 / 0.6413 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.008155, allocations: 125 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.008157, allocations: 0 / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6): time 0.0002677/0.008425, allocations: 190.8 kB / 0.6416 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.008479, allocations: 93.03 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.669e-05/0.008575, allocations: 127 kB / 0.6418 GB, free: 9.918 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.0086, allocations: 37.69 kB / 0.6418 GB, free: 9.875 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.008649, allocations: 88.12 kB / 0.6419 GB, free: 9.785 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.008672, allocations: 19.84 kB / 0.6419 GB, free: 9.766 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-05/0.008735, allocations: 33.69 kB / 0.6419 GB, free: 9.727 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.008827, allocations: 322.8 kB / 0.6422 GB, free: 9.402 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.46e-05/0.008912, allocations: 83.39 kB / 0.6423 GB, free: 9.309 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-05/0.008989, allocations: 79.39 kB / 0.6424 GB, free: 9.219 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.009117, allocations: 132.8 kB / 0.6425 GB, free: 9.066 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.00912, allocations: 0 / 0.6425 GB, free: 9.066 MB / 0.6043 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002097/0.009329, allocations: 216.4 kB / 0.6427 GB, free: 8.824 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.009e-05/0.009379, allocations: 59.41 kB / 0.6428 GB, free: 8.754 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.009384, allocations: 0 / 0.6428 GB, free: 8.754 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.009397, allocations: 0 / 0.6428 GB, free: 8.754 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.009503, allocations: 19.98 kB / 0.6428 GB, free: 8.734 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-06/0.009507, allocations: 0 / 0.6428 GB, free: 8.734 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.009608, allocations: 23.94 kB / 0.6428 GB, free: 8.711 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.009625, allocations: 7.984 kB / 0.6428 GB, free: 8.703 MB / 0.6043 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.000114/0.009739, allocations: 158.2 kB / 0.643 GB, free: 8.531 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.009769, allocations: 15.92 kB / 0.643 GB, free: 8.516 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.0098, allocations: 12.78 kB / 0.643 GB, free: 8.504 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.009803, allocations: 256 / 0.643 GB, free: 8.504 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.009805, allocations: 0 / 0.643 GB, free: 8.504 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.00981, allocations: 4 kB / 0.643 GB, free: 8.5 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.009918, allocations: 81.86 kB / 0.6431 GB, free: 8.402 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.00992, allocations: 4 kB / 0.6431 GB, free: 8.398 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.504e-05/0.009985, allocations: 11.98 kB / 0.6431 GB, free: 8.387 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.009989, allocations: 0 / 0.6431 GB, free: 8.387 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.01, allocations: 11.94 kB / 0.6431 GB, free: 8.375 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.01001, allocations: 3.938 kB / 0.6431 GB, free: 8.371 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.01001, allocations: 0 / 0.6431 GB, free: 8.371 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.01022, allocations: 168.5 kB / 0.6433 GB, free: 8.176 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.731e-05/0.01024, allocations: 7.938 kB / 0.6433 GB, free: 8.168 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.01026, allocations: 4 kB / 0.6433 GB, free: 8.164 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.729e-05/0.01036, allocations: 23.92 kB / 0.6433 GB, free: 8.141 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.01047, allocations: 39.89 kB / 0.6434 GB, free: 8.102 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.01048, allocations: 4 kB / 0.6434 GB, free: 8.098 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 3.86e-05/0.01052, allocations: 32.84 kB / 0.6434 GB, free: 8.062 MB / 0.6043 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01052, allocations: 0 / 0.6434 GB, free: 8.062 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002017/0.01072, allocations: 28 kB / 0.6434 GB, free: 8.035 MB / 0.6043 GB 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.0001252/0.01084, allocations: 76.42 kB / 0.6435 GB, free: 7.953 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0002852/0.01113, allocations: 272.7 kB / 0.6438 GB, free: 7.641 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.01113, allocations: 0 / 0.6438 GB, free: 7.641 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.01127, allocations: 125.9 kB / 0.6439 GB, free: 7.496 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.01143, allocations: 23.98 kB / 0.6439 GB, free: 7.473 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008182/0.01225, allocations: 241.4 kB / 0.6441 GB, free: 7.199 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.584e-05/0.01229, allocations: 59.34 kB / 0.6442 GB, free: 7.121 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 5.144e-05/0.01234, allocations: 15.97 kB / 0.6442 GB, free: 7.105 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.01248, allocations: 75.38 kB / 0.6443 GB, free: 7.031 MB / 0.6043 GB Notification: Performance of SimCode: time 1.303e-06/0.01248, allocations: 4 kB / 0.6443 GB, free: 7.027 MB / 0.6043 GB Notification: Performance of Templates: time 0.003652/0.01613, allocations: 2.101 MB / 0.6463 GB, free: 4.926 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests.sim & ./AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.273949808906764]