Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001444/0.001444, allocations: 78.72 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001661/0.001661, allocations: 159.4 kB / 23.01 MB, free: 4.598 MB / 14.72 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.525/1.525, allocations: 177.2 MB / 203.4 MB, free: 8.887 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8482/0.8482, allocations: 101.3 MB / 361.1 MB, free: 8.766 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.Continuous.Examples.NumberOfRequests") translateModel(IDEAS.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002524/0.002524, allocations: 73.86 kB / 0.5356 GB, free: 12.7 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 FrontEnd - Absyn->SCode: time 0.1798/0.1823, allocations: 85.87 MB / 0.6194 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.003652/0.1859, allocations: 1.484 MB / 0.6209 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1872, allocations: 0.5001 MB / 0.6214 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.735e-05/0.1873, allocations: 0 / 0.6214 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.1874, allocations: 3.938 kB / 0.6214 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.315e-05/0.1875, allocations: 15.86 kB / 0.6214 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.1878, allocations: 51.88 kB / 0.6215 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.1881, allocations: 103.7 kB / 0.6216 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1882, allocations: 12.12 kB / 0.6216 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.1884, allocations: 51.84 kB / 0.6216 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.1885, allocations: 43.81 kB / 0.6217 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.1885, allocations: 8 kB / 0.6217 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.89e-05/0.1886, allocations: 12 kB / 0.6217 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.933e-05/0.1886, allocations: 19.92 kB / 0.6217 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.721e-05/0.1887, allocations: 35.86 kB / 0.6217 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1889, allocations: 87.69 kB / 0.6218 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1889, allocations: 0 / 0.6218 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1889, allocations: 0 / 0.6218 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.1889, allocations: 0 / 0.6218 GB, free: 4.359 MB / 0.5294 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.0008092/0.1897, allocations: 377.4 kB / 0.6222 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1898, allocations: 8.031 kB / 0.6222 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.19, allocations: 20.89 kB / 0.6222 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.1903, allocations: 146.3 kB / 0.6223 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.1903, allocations: 8.312 kB / 0.6223 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.1903, allocations: 8.375 kB / 0.6224 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.1907, allocations: 151.4 kB / 0.6225 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1907, allocations: 0 / 0.6225 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.1908, allocations: 3.984 kB / 0.6225 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1908, allocations: 4 kB / 0.6225 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000373/0.1911, allocations: 125.6 kB / 0.6226 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005824/0.1917, allocations: 256.4 kB / 0.6229 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.1921, allocations: 128.2 kB / 0.623 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.1923, allocations: 94.64 kB / 0.6231 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.1923, allocations: 0 / 0.6231 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003403/0.1926, allocations: 161 kB / 0.6232 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1926, allocations: 0 / 0.6232 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0007768/0.1934, allocations: 334.5 kB / 0.6236 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.1935, allocations: 85.11 kB / 0.6236 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.1936, allocations: 132.5 kB / 0.6238 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.1936, allocations: 37.64 kB / 0.6238 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.438e-05/0.1937, allocations: 104.1 kB / 0.6239 GB, free: 2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.1937, allocations: 11.91 kB / 0.6239 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-05/0.1938, allocations: 33.7 kB / 0.6239 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.194, allocations: 322.8 kB / 0.6242 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.1942, allocations: 123.4 kB / 0.6244 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.1944, allocations: 127.3 kB / 0.6245 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.1948, allocations: 185.8 kB / 0.6247 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1948, allocations: 0 / 0.6247 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005572/0.1953, allocations: 320.5 kB / 0.625 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.063e-05/0.1954, allocations: 67.39 kB / 0.625 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1954, allocations: 80 / 0.625 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1954, allocations: 8.188 kB / 0.625 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1956, allocations: 11.98 kB / 0.6251 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.1956, allocations: 7.984 kB / 0.6251 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.1957, allocations: 31.92 kB / 0.6251 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.1957, allocations: 4 kB / 0.6251 GB, free: 0.668 MB / 0.5294 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.000141/0.1959, allocations: 164.3 kB / 0.6253 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.1959, allocations: 11.95 kB / 0.6253 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.428e-05/0.1959, allocations: 8.781 kB / 0.6253 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1959, allocations: 0 / 0.6253 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1959, allocations: 0 / 0.6253 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.196, allocations: 4 kB / 0.6253 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.1961, allocations: 133.2 kB / 0.6254 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1961, allocations: 0 / 0.6254 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.781e-05/0.1962, allocations: 15.98 kB / 0.6254 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1962, allocations: 3.984 kB / 0.6254 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.1962, allocations: 4 kB / 0.6254 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1962, allocations: 0 / 0.6254 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1962, allocations: 0 / 0.6254 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005534/0.1968, allocations: 280.3 kB / 0.6257 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.1968, allocations: 11.95 kB / 0.6257 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.1968, allocations: 7.984 kB / 0.6257 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.1969, allocations: 15.98 kB / 0.6257 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.1971, allocations: 39.95 kB / 0.6258 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.1971, allocations: 0 / 0.6258 GB, free: 15.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.726e-05/0.1971, allocations: 107.2 kB / 0.6259 GB, free: 15.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1971, allocations: 0 / 0.6259 GB, free: 15.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002215/0.1974, allocations: 23.98 kB / 0.6259 GB, free: 15.78 MB / 0.545 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.0001174/0.1975, allocations: 103.2 kB / 0.626 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006059/0.1981, allocations: 347.7 kB / 0.6263 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1981, allocations: 0 / 0.6263 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.1984, allocations: 157 kB / 0.6265 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.1986, allocations: 17.97 kB / 0.6265 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005842/0.1992, allocations: 265 kB / 0.6267 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.532e-05/0.1993, allocations: 83.08 kB / 0.6268 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.441e-05/0.1993, allocations: 15.91 kB / 0.6268 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.1994, allocations: 12.5 kB / 0.6268 GB, free: 14.68 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1994, allocations: 0 / 0.6268 GB, free: 14.68 MB / 0.545 GB Notification: Performance of Templates: time 0.005311/0.2047, allocations: 2.025 MB / 0.6288 GB, free: 12.69 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.747290747007355] Failed to read output from testmodel.py, exit status != 0: 0.2146639219718054 0.22838755100000002 0.036258493 Calling exit ...