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.001099/0.001099, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001017/0.001017, allocations: 173 kB / 23.49 MB, free: 1.055 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 1.062/1.062, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.7914/0.7914, allocations: 154.8 MB / 415.1 MB, free: 500 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.482e-06/1.482e-06, allocations: 0 / 0.5205 GB, free: 2.316 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.109e-05, allocations: 2.875 kB / 0.5205 GB, free: 2.312 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002315/0.002347, allocations: 1.53 MB / 0.522 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007739/0.003121, allocations: 0.4987 MB / 0.5225 GB, free: 296 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.367e-05/0.003194, allocations: 1.594 kB / 0.5225 GB, free: 296 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.003312, allocations: 7.875 kB / 0.5225 GB, free: 288 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.906e-05/0.003371, allocations: 15.81 kB / 0.5225 GB, free: 272 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.00369, allocations: 56.3 kB / 0.5226 GB, free: 216 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.003872, allocations: 96.8 kB / 0.5227 GB, free: 120 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.003989, allocations: 20.09 kB / 0.5227 GB, free: 100 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.004217, allocations: 61.02 kB / 0.5228 GB, free: 40 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.801e-05/0.004316, allocations: 35.94 kB / 0.5228 GB, free: 4 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.083e-05/0.004366, allocations: 8.047 kB / 0.5228 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.212e-05/0.004428, allocations: 12.62 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/0.004486, allocations: 15.88 kB / 0.5228 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.977e-05/0.004556, allocations: 28.95 kB / 0.5229 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.004776, allocations: 83.66 kB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.00478, allocations: 1.562 kB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.683e-06/0.004782, allocations: 0 / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.004788, allocations: 0 / 0.5229 GB, free: 15.86 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.0007936/0.005582, allocations: 475.7 kB / 0.5234 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.005635, allocations: 13.22 kB / 0.5234 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.005838, allocations: 20.88 kB / 0.5234 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.006089, allocations: 141.2 kB / 0.5236 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.006111, allocations: 8.375 kB / 0.5236 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.006133, allocations: 9.656 kB / 0.5236 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.006453, allocations: 136.6 kB / 0.5237 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.006463, allocations: 192 / 0.5237 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.006482, allocations: 9.406 kB / 0.5237 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.006494, allocations: 0 / 0.5237 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.006629, allocations: 73.61 kB / 0.5238 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.007104, allocations: 304.5 kB / 0.5241 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.00726, allocations: 93.58 kB / 0.5242 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.232e-05/0.007333, allocations: 77.44 kB / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.00735, allocations: 2.719 kB / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/0.007554, allocations: 138.6 kB / 0.5244 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 2.525e-06/0.007557, allocations: 0 / 0.5244 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0003616/0.007918, allocations: 262.7 kB / 0.5246 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.007974, allocations: 85.09 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.008084, allocations: 192.3 kB / 0.5249 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.008101, allocations: 29.64 kB / 0.5249 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/0.008172, allocations: 147.4 kB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.00819, allocations: 23.77 kB / 0.5251 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.008241, allocations: 35.88 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.008363, allocations: 0.4928 MB / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.997e-05/0.008443, allocations: 96.47 kB / 0.5257 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.97e-05/0.008513, allocations: 95.38 kB / 0.5258 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.008621, allocations: 132.8 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.008624, allocations: 1 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002367/0.008861, allocations: 272.3 kB / 0.5262 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.994e-05/0.00891, allocations: 64.91 kB / 0.5262 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.008918, allocations: 8 kB / 0.5262 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.008935, allocations: 3.984 kB / 0.5262 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.773e-05/0.009033, allocations: 8 kB / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.00904, allocations: 0.5 kB / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.212e-05/0.009102, allocations: 17.02 kB / 0.5263 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.009116, allocations: 12.14 kB / 0.5263 GB, free: 12.1 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 0.0001067/0.009223, allocations: 195.2 kB / 0.5265 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.009243, allocations: 19.89 kB / 0.5265 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.987e-05/0.009273, allocations: 17.39 kB / 0.5265 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.009276, allocations: 5.281 kB / 0.5265 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.009281, allocations: 0 / 0.5265 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.009284, allocations: 0 / 0.5265 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.009391, allocations: 132.6 kB / 0.5266 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.009393, allocations: 0.6562 kB / 0.5266 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.155e-05/0.009435, allocations: 17.48 kB / 0.5266 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.009437, allocations: 0 / 0.5266 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.00945, allocations: 7.984 kB / 0.5267 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.009452, allocations: 0 / 0.5267 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.009454, allocations: 3.984 kB / 0.5267 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.009697, allocations: 243 kB / 0.5269 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.009713, allocations: 15.83 kB / 0.5269 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.009733, allocations: 0 / 0.5269 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.909e-05/0.009792, allocations: 19.98 kB / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.009908, allocations: 39.89 kB / 0.527 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.00992, allocations: 7.984 kB / 0.527 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.224e-05/0.009972, allocations: 139.2 kB / 0.5271 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009972, allocations: 0 / 0.5271 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001387/0.01011, allocations: 34.38 kB / 0.5271 GB, free: 11.14 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 9.883e-05/0.01021, allocations: 95.25 kB / 0.5272 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002634/0.01047, allocations: 295.5 kB / 0.5275 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01047, allocations: 0 / 0.5275 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.01059, allocations: 153.8 kB / 0.5277 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.01077, allocations: 12.11 kB / 0.5277 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007381/0.01151, allocations: 269.8 kB / 0.5279 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.804e-05/0.01155, allocations: 56.05 kB / 0.528 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.312e-05/0.01159, allocations: 14.73 kB / 0.528 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.01163, allocations: 16.5 kB / 0.528 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of SimCode: time 9.52e-07/0.01163, allocations: 0 / 0.528 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of Templates: time 0.004159/0.01579, allocations: 2.047 MB / 0.53 GB, free: 8.176 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: 4.09651763481088]