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.04292/0.04292, allocations: 9.131 MB / 28.99 MB, free: 0.8203 MB / 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.0009108/0.0009108, allocations: 98.02 kB / 35.33 MB, free: 1.078 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.001127/0.001127, allocations: 164.7 kB / 38.73 MB, free: 2.492 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 1.039/1.039, allocations: 177.2 MB / 219.2 MB, free: 10.11 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.004404/0.004404, allocations: 0.8183 MB / 276.5 MB, free: 0.75 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.6406 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.543e-06/1.543e-06, allocations: 0 / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.601e-05, allocations: 10.25 kB / 0.6378 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.Continuous.Examples.NumberOfRequests): time 0.001901/0.001917, allocations: 1.584 MB / 0.6394 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0006828/0.0026, allocations: 0.5179 MB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/0.002654, allocations: 0 / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 8.447e-05/0.002738, allocations: 3.938 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.003e-05/0.002789, allocations: 23.84 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.002987, allocations: 47.83 kB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.003126, allocations: 107.7 kB / 0.6401 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.206e-05/0.003198, allocations: 4.188 kB / 0.6401 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.00336, allocations: 71.81 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.345e-05/0.003424, allocations: 31.89 kB / 0.6402 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.003443, allocations: 8 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.676e-05/0.00349, allocations: 19.98 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.92e-05/0.003519, allocations: 15.94 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.003558, allocations: 31.95 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.00367, allocations: 75.78 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003672, allocations: 0 / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003672, allocations: 0 / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.866e-06/0.003675, allocations: 0 / 0.6403 GB, free: 11.59 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.0003804/0.004055, allocations: 356 kB / 0.6407 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.004091, allocations: 11.98 kB / 0.6407 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.887e-05/0.00419, allocations: 20.92 kB / 0.6407 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.004322, allocations: 141.5 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.004332, allocations: 8.375 kB / 0.6408 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.004343, allocations: 4.375 kB / 0.6408 GB, free: 11 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.004492, allocations: 128.6 kB / 0.641 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.004498, allocations: 4.188 kB / 0.641 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.004508, allocations: 4.125 kB / 0.641 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.004512, allocations: 0 / 0.641 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.211e-05/0.004564, allocations: 65.66 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/0.004806, allocations: 187 kB / 0.6412 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.853e-05/0.004885, allocations: 72.27 kB / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.154e-05/0.004927, allocations: 58.67 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.004937, allocations: 0 / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.005061, allocations: 121 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.005062, allocations: 0 / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6): time 0.0001685/0.005231, allocations: 194.7 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.005264, allocations: 85.09 kB / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.898e-05/0.005333, allocations: 138.7 kB / 0.6418 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.005349, allocations: 29.7 kB / 0.6419 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.005386, allocations: 88.12 kB / 0.642 GB, free: 9.707 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.005403, allocations: 31.81 kB / 0.642 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.00544, allocations: 21.72 kB / 0.642 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.045e-05/0.00551, allocations: 322.8 kB / 0.6423 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.742e-05/0.005558, allocations: 79.39 kB / 0.6424 GB, free: 9.234 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.473e-05/0.005602, allocations: 79.39 kB / 0.6425 GB, free: 9.145 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.697e-05/0.005679, allocations: 144.7 kB / 0.6426 GB, free: 8.98 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.005681, allocations: 0 / 0.6426 GB, free: 8.98 MB / 0.6043 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001254/0.005806, allocations: 212.4 kB / 0.6428 GB, free: 8.742 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.005839, allocations: 67.39 kB / 0.6429 GB, free: 8.664 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.005843, allocations: 0 / 0.6429 GB, free: 8.664 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.005852, allocations: 4.25 kB / 0.6429 GB, free: 8.66 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-05/0.005917, allocations: 19.92 kB / 0.6429 GB, free: 8.641 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.00592, allocations: 4 kB / 0.6429 GB, free: 8.637 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.823e-05/0.006019, allocations: 19.94 kB / 0.6429 GB, free: 8.617 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.006032, allocations: 4 kB / 0.6429 GB, free: 8.613 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 7.257e-05/0.006105, allocations: 154.4 kB / 0.6431 GB, free: 8.445 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.00612, allocations: 11.94 kB / 0.6431 GB, free: 8.434 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.975e-05/0.00614, allocations: 16.7 kB / 0.6431 GB, free: 8.418 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.006143, allocations: 4 kB / 0.6431 GB, free: 8.414 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.006145, allocations: 4 kB / 0.6431 GB, free: 8.41 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.006147, allocations: 0 / 0.6431 GB, free: 8.41 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.374e-05/0.006211, allocations: 81.88 kB / 0.6432 GB, free: 8.312 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.006212, allocations: 0 / 0.6432 GB, free: 8.312 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.735e-05/0.006239, allocations: 11.98 kB / 0.6432 GB, free: 8.301 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.006241, allocations: 0 / 0.6432 GB, free: 8.301 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.006248, allocations: 0 / 0.6432 GB, free: 8.301 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.006249, allocations: 7.938 kB / 0.6432 GB, free: 8.293 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.00625, allocations: 0 / 0.6432 GB, free: 8.293 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.006365, allocations: 168.4 kB / 0.6434 GB, free: 8.098 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-06/0.006374, allocations: 7.953 kB / 0.6434 GB, free: 8.09 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.006391, allocations: 12 kB / 0.6434 GB, free: 8.078 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.455e-05/0.006435, allocations: 19.92 kB / 0.6434 GB, free: 8.059 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/0.006508, allocations: 31.95 kB / 0.6434 GB, free: 8.027 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.006515, allocations: 4 kB / 0.6434 GB, free: 8.023 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.199e-05/0.006537, allocations: 28.77 kB / 0.6435 GB, free: 7.992 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.006537, allocations: 0 / 0.6435 GB, free: 7.992 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001034/0.00664, allocations: 24 kB / 0.6435 GB, free: 7.969 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 6.143e-05/0.006702, allocations: 80.41 kB / 0.6436 GB, free: 7.883 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001688/0.00687, allocations: 276.7 kB / 0.6438 GB, free: 7.566 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.006874, allocations: 4 kB / 0.6438 GB, free: 7.562 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 8.345e-05/0.006957, allocations: 129.9 kB / 0.644 GB, free: 7.414 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.396e-05/0.007051, allocations: 19.91 kB / 0.644 GB, free: 7.395 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.00745, allocations: 241.4 kB / 0.6442 GB, free: 7.121 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.799e-05/0.007478, allocations: 67.34 kB / 0.6443 GB, free: 7.035 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.647e-05/0.007504, allocations: 0 / 0.6443 GB, free: 7.035 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.642e-05/0.007591, allocations: 83.36 kB / 0.6443 GB, free: 6.953 MB / 0.6043 GB Notification: Performance of SimCode: time 5.41e-07/0.007591, allocations: 0 / 0.6443 GB, free: 6.953 MB / 0.6043 GB Notification: Performance of Templates: time 0.003063/0.01065, allocations: 2.117 MB / 0.6464 GB, free: 4.84 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.293481699656695]