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.001548/0.001548, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001608/0.001608, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.566/1.566, allocations: 177.2 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 1.294/1.294, allocations: 154.8 MB / 414.4 MB, free: 460 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 178] 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 2.394e-06/2.394e-06, allocations: 0.6562 kB / 0.5198 GB, free: 2.367 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.746e-05/3.985e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.363 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.004209/0.004249, allocations: 1.484 MB / 0.5213 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.005614, allocations: 0.4926 MB / 0.5217 GB, free: 404 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.274e-05/0.005687, allocations: 0 / 0.5217 GB, free: 404 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.005837, allocations: 12.73 kB / 0.5218 GB, free: 392 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.897e-05/0.005926, allocations: 16.86 kB / 0.5218 GB, free: 376 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.006264, allocations: 43.94 kB / 0.5218 GB, free: 332 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.006527, allocations: 104.7 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.006655, allocations: 12.11 kB / 0.5219 GB, free: 216 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.006922, allocations: 75.81 kB / 0.522 GB, free: 140 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.00703, allocations: 29.48 kB / 0.522 GB, free: 112 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.007065, allocations: 11.94 kB / 0.522 GB, free: 100 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.217e-05/0.007127, allocations: 12 kB / 0.522 GB, free: 88 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.599e-05/0.007183, allocations: 11.98 kB / 0.5221 GB, free: 76 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.289e-05/0.007276, allocations: 32.97 kB / 0.5221 GB, free: 44 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.007553, allocations: 95.73 kB / 0.5222 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.007561, allocations: 4.688 kB / 0.5222 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.302e-06/0.007562, allocations: 0 / 0.5222 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.007568, allocations: 5.219 kB / 0.5222 GB, free: 15.94 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.001071/0.008639, allocations: 381.4 kB / 0.5226 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.008692, allocations: 8.938 kB / 0.5226 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002589/0.008951, allocations: 24.88 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.009308, allocations: 130.4 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.009337, allocations: 9.156 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.009365, allocations: 4.375 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.00985, allocations: 148.7 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.009861, allocations: 2.531 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.009892, allocations: 12.12 kB / 0.5229 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.009899, allocations: 0 / 0.5229 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004576/0.01036, allocations: 117.6 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007622/0.01112, allocations: 265.3 kB / 0.5232 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004927/0.01161, allocations: 129.6 kB / 0.5234 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/0.01192, allocations: 103.2 kB / 0.5235 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.01194, allocations: 4.75 kB / 0.5235 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004737/0.01242, allocations: 157.5 kB / 0.5236 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.01242, allocations: 0.9062 kB / 0.5236 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.001165/0.01358, allocations: 339.8 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.384e-05/0.01368, allocations: 85.72 kB / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.01385, allocations: 136.4 kB / 0.5242 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.01389, allocations: 30.58 kB / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.88e-05/0.01399, allocations: 92.09 kB / 0.5243 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.01403, allocations: 20.83 kB / 0.5243 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.775e-05/0.01413, allocations: 29.72 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002242/0.01435, allocations: 322.8 kB / 0.5246 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.01469, allocations: 129 kB / 0.5248 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.015, allocations: 119.4 kB / 0.5249 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005384/0.01554, allocations: 191.7 kB / 0.5251 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01554, allocations: 0 / 0.5251 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008373/0.01638, allocations: 334 kB / 0.5254 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.713e-05/0.01646, allocations: 63.41 kB / 0.5254 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.01647, allocations: 0 / 0.5254 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.265e-05/0.0165, allocations: 1.156 kB / 0.5254 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.01667, allocations: 15.98 kB / 0.5254 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.01668, allocations: 3.094 kB / 0.5254 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.01689, allocations: 23.91 kB / 0.5255 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.01691, allocations: 4 kB / 0.5255 GB, free: 12.27 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.0002683/0.01718, allocations: 155.5 kB / 0.5256 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.546e-05/0.01725, allocations: 23.88 kB / 0.5256 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.01729, allocations: 12.78 kB / 0.5257 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.0173, allocations: 7.266 kB / 0.5257 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.0173, allocations: 0 / 0.5257 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.01731, allocations: 7.938 kB / 0.5257 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.01752, allocations: 129.4 kB / 0.5258 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01752, allocations: 0 / 0.5258 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.01764, allocations: 15.92 kB / 0.5258 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.01764, allocations: 0 / 0.5258 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.01767, allocations: 4 kB / 0.5258 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.01767, allocations: 1.5 kB / 0.5258 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.01767, allocations: 0 / 0.5258 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008098/0.01848, allocations: 285.7 kB / 0.5261 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.01851, allocations: 11.89 kB / 0.5261 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.01854, allocations: 4 kB / 0.5261 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.01874, allocations: 25.25 kB / 0.5261 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.01892, allocations: 31.95 kB / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.01894, allocations: 8 kB / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001068/0.01905, allocations: 98.03 kB / 0.5263 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01905, allocations: 4.562 kB / 0.5263 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003789/0.01943, allocations: 28 kB / 0.5263 GB, free: 11.37 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 0.0001829/0.01961, allocations: 102.7 kB / 0.5264 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008512/0.02046, allocations: 340 kB / 0.5267 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02047, allocations: 0 / 0.5267 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003907/0.02086, allocations: 165 kB / 0.5269 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.02119, allocations: 21.75 kB / 0.5269 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008241/0.02202, allocations: 258.3 kB / 0.5271 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.02213, allocations: 76.77 kB / 0.5272 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.188e-05/0.02222, allocations: 11.84 kB / 0.5272 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.02229, allocations: 17.09 kB / 0.5272 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.02229, allocations: 4.594 kB / 0.5272 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.008924/0.03122, allocations: 2.049 MB / 0.5292 GB, free: 8.34 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.130815376061946]