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.0008981/0.0008981, allocations: 85.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001478/0.001478, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 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.9126/0.9126, allocations: 177.1 MB / 203.7 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.7829/0.7829, allocations: 154.9 MB / 415.1 MB, free: 260 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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.563e-06/1.563e-06, allocations: 0 / 0.5211 GB, free: 1.566 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.154e-05, allocations: 4.859 kB / 0.5211 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.001878/0.0019, allocations: 1.505 MB / 0.5226 GB, free: 68 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006871/0.002587, allocations: 0.5139 MB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.117e-05/0.002648, allocations: 0 / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 8.626e-05/0.002734, allocations: 3.938 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.789e-05/0.002782, allocations: 16.39 kB / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.002993, allocations: 53.59 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.003119, allocations: 103.7 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.358e-05/0.003203, allocations: 8.188 kB / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.003365, allocations: 71.8 kB / 0.5233 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.003465, allocations: 33.62 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.003487, allocations: 8 kB / 0.5233 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.075e-05/0.003528, allocations: 15.98 kB / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.003562, allocations: 11.98 kB / 0.5234 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.003603, allocations: 33.38 kB / 0.5234 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.003718, allocations: 79.72 kB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.003719, allocations: 0 / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.112e-06/0.00372, allocations: 0 / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.003724, allocations: 0.75 kB / 0.5235 GB, free: 15.12 MB / 0.4948 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.0004262/0.00415, allocations: 481.2 kB / 0.5239 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.004183, allocations: 8.031 kB / 0.5239 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.802e-05/0.004281, allocations: 20.89 kB / 0.524 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.004414, allocations: 141.8 kB / 0.5241 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.004427, allocations: 12.3 kB / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.00444, allocations: 8.375 kB / 0.5241 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.004663, allocations: 125.2 kB / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.00467, allocations: 192 / 0.5242 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.004683, allocations: 15.41 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.004687, allocations: 3.938 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.739e-05/0.004735, allocations: 57.67 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.005002, allocations: 272.3 kB / 0.5246 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.686e-05/0.005089, allocations: 92.73 kB / 0.5247 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.045e-05/0.005129, allocations: 61.5 kB / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.00514, allocations: 4 kB / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/0.005265, allocations: 123.2 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.005266, allocations: 0.5 kB / 0.5248 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0002499/0.005516, allocations: 239.2 kB / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.005551, allocations: 85.11 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.788e-05/0.005628, allocations: 192.4 kB / 0.5253 GB, free: 13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.005643, allocations: 29.7 kB / 0.5254 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.005693, allocations: 144.3 kB / 0.5255 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.005707, allocations: 19.83 kB / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.005747, allocations: 35.36 kB / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002264/0.005973, allocations: 0.4962 MB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.91e-05/0.006023, allocations: 80.33 kB / 0.5261 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.967e-05/0.006072, allocations: 83.38 kB / 0.5262 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.653e-05/0.006149, allocations: 129.9 kB / 0.5263 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.006151, allocations: 0 / 0.5263 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001732/0.006324, allocations: 256.3 kB / 0.5266 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.006358, allocations: 63.41 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.006362, allocations: 1.344 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.006372, allocations: 0 / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.452e-05/0.006436, allocations: 15.92 kB / 0.5266 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.006439, allocations: 6.75 kB / 0.5266 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.797e-05/0.006497, allocations: 19.98 kB / 0.5267 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.006507, allocations: 3.984 kB / 0.5267 GB, free: 11.52 MB / 0.4948 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.559e-05/0.006582, allocations: 198.3 kB / 0.5269 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.006598, allocations: 15.89 kB / 0.5269 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.006622, allocations: 23.52 kB / 0.5269 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.006623, allocations: 0 / 0.5269 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.006625, allocations: 0 / 0.5269 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.006627, allocations: 0 / 0.5269 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.159e-05/0.006699, allocations: 109.2 kB / 0.527 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.0067, allocations: 0 / 0.527 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.799e-05/0.006728, allocations: 19.92 kB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.00673, allocations: 0 / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.006737, allocations: 4.844 kB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.006739, allocations: 4 kB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.006741, allocations: 4.922 kB / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.006915, allocations: 224 kB / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.006926, allocations: 7.891 kB / 0.5272 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.006943, allocations: 16.94 kB / 0.5273 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.791e-05/0.006991, allocations: 20.53 kB / 0.5273 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.829e-05/0.007059, allocations: 27.97 kB / 0.5273 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.007066, allocations: 5.438 kB / 0.5273 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.44e-05/0.00711, allocations: 148.1 kB / 0.5275 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00711, allocations: 0 / 0.5275 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001244/0.007235, allocations: 20 kB / 0.5275 GB, free: 10.62 MB / 0.4948 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 7.678e-05/0.007311, allocations: 101.7 kB / 0.5276 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001741/0.007485, allocations: 279.6 kB / 0.5278 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.007487, allocations: 0 / 0.5278 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.172e-05/0.007558, allocations: 128.8 kB / 0.528 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.007701, allocations: 30.33 kB / 0.528 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.008125, allocations: 252.2 kB / 0.5282 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.316e-05/0.008158, allocations: 59.34 kB / 0.5283 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.818e-05/0.008187, allocations: 5.969 kB / 0.5283 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.563e-05/0.008282, allocations: 98.19 kB / 0.5284 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/0.008283, allocations: 3.938 kB / 0.5284 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of Templates: time 0.00416/0.01244, allocations: 2.206 MB / 0.5305 GB, free: 7.48 MB / 0.4948 GB " [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.370177275966853]