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.001006/0.001006, allocations: 69.11 kB / 20.65 MB, free: 3.844 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.001009/0.001009, allocations: 169 kB / 24.06 MB, free: 448 kB / 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.9699/0.9699, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.8/0.8, allocations: 154.9 MB / 415.9 MB, free: 268 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.222e-06/1.222e-06, allocations: 0 / 0.5218 GB, free: 1.602 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063e-05/1.185e-05, allocations: 7.641 kB / 0.5218 GB, free: 1.594 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.001752/0.001764, allocations: 1.513 MB / 0.5233 GB, free: 92 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006003/0.002364, allocations: 0.5131 MB / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.278e-05/0.002407, allocations: 0 / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 6.796e-05/0.002475, allocations: 3.938 kB / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.916e-05/0.002514, allocations: 12.81 kB / 0.5238 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.002695, allocations: 55.73 kB / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.00282, allocations: 101.2 kB / 0.524 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.308e-05/0.002883, allocations: 8.188 kB / 0.524 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.003032, allocations: 71.81 kB / 0.5241 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.291e-05/0.003095, allocations: 37.05 kB / 0.5241 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.003114, allocations: 8 kB / 0.5241 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.607e-05/0.00315, allocations: 8 kB / 0.5241 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.115e-05/0.003181, allocations: 20.72 kB / 0.5241 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/0.003217, allocations: 35.91 kB / 0.5242 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.003322, allocations: 77.06 kB / 0.5242 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.003324, allocations: 0 / 0.5242 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.51e-07/0.003324, allocations: 4 kB / 0.5242 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.003328, allocations: 3.938 kB / 0.5242 GB, free: 15.14 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.0003733/0.003701, allocations: 469.1 kB / 0.5247 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.003729, allocations: 12.02 kB / 0.5247 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.003835, allocations: 25.67 kB / 0.5247 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.00395, allocations: 144.4 kB / 0.5249 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.003958, allocations: 6.219 kB / 0.5249 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.003969, allocations: 8.375 kB / 0.5249 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.004104, allocations: 124.6 kB / 0.525 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.95e-06/0.004109, allocations: 192 / 0.525 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.00412, allocations: 14.17 kB / 0.525 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-06/0.004123, allocations: 0 / 0.525 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.893e-05/0.004172, allocations: 53.69 kB / 0.5251 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002449/0.004417, allocations: 284.3 kB / 0.5253 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.424e-05/0.004501, allocations: 90.2 kB / 0.5254 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.263e-05/0.004544, allocations: 61.5 kB / 0.5255 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.004553, allocations: 0 / 0.5255 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001035/0.004657, allocations: 122.7 kB / 0.5256 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.004658, allocations: 0.9688 kB / 0.5256 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0002348/0.004892, allocations: 246.8 kB / 0.5258 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.004924, allocations: 78.08 kB / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.494e-05/0.004999, allocations: 192 kB / 0.5261 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.005012, allocations: 29.7 kB / 0.5261 GB, free: 13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.005065, allocations: 148 kB / 0.5263 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.005079, allocations: 19.84 kB / 0.5263 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.005119, allocations: 35.34 kB / 0.5263 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.005222, allocations: 0.4891 MB / 0.5268 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.017e-05/0.005272, allocations: 83.38 kB / 0.5269 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.594e-05/0.005318, allocations: 79.89 kB / 0.5269 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.143e-05/0.0054, allocations: 137.6 kB / 0.5271 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.005401, allocations: 0 / 0.5271 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001709/0.005572, allocations: 252.5 kB / 0.5273 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.005608, allocations: 68.55 kB / 0.5274 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.005611, allocations: 0 / 0.5274 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.371e-06/0.005616, allocations: 0 / 0.5274 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.512e-05/0.005682, allocations: 24.42 kB / 0.5274 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.005684, allocations: 1.781 kB / 0.5274 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.727e-05/0.005741, allocations: 15.98 kB / 0.5274 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.00575, allocations: 4 kB / 0.5274 GB, free: 11.55 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.842e-05/0.005828, allocations: 200 kB / 0.5276 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.005846, allocations: 19.88 kB / 0.5276 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.95e-05/0.005866, allocations: 12.78 kB / 0.5277 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.005867, allocations: 0 / 0.5277 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.005869, allocations: 0 / 0.5277 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.005871, allocations: 2.594 kB / 0.5277 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.229e-05/0.005944, allocations: 117.2 kB / 0.5278 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.005944, allocations: 0 / 0.5278 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.005968, allocations: 8 kB / 0.5278 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.62e-07/0.005969, allocations: 0 / 0.5278 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.005979, allocations: 11.92 kB / 0.5278 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.005979, allocations: 0 / 0.5278 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.00598, allocations: 0.9375 kB / 0.5278 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.006153, allocations: 227.7 kB / 0.528 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-06/0.006163, allocations: 8.922 kB / 0.528 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.006179, allocations: 11.92 kB / 0.528 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.803e-05/0.006227, allocations: 18.89 kB / 0.528 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.006296, allocations: 32.09 kB / 0.5281 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.006304, allocations: 11.98 kB / 0.5281 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.126e-05/0.006346, allocations: 139.2 kB / 0.5282 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006346, allocations: 0 / 0.5282 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001241/0.00647, allocations: 20 kB / 0.5282 GB, free: 10.65 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 6.271e-05/0.006532, allocations: 106 kB / 0.5283 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001882/0.006721, allocations: 279.6 kB / 0.5286 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.32e-07/0.006722, allocations: 0 / 0.5286 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.777e-05/0.006799, allocations: 128.8 kB / 0.5287 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.006931, allocations: 19.98 kB / 0.5287 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004913/0.007422, allocations: 250.4 kB / 0.529 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.892e-05/0.007451, allocations: 59.34 kB / 0.529 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.815e-05/0.007479, allocations: 13.27 kB / 0.5291 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.67e-05/0.007566, allocations: 98.19 kB / 0.5291 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.007566, allocations: 0.625 kB / 0.5291 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of Templates: time 0.003287/0.01085, allocations: 2.268 MB / 0.5314 GB, free: 7.449 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.7990500829182565]