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.0007089/0.0007089, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009619/0.001671, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007305/0.0007305, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008623/0.001593, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.007/1.007, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1094/1.117, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8191/0.8191, allocations: 154.6 MB / 398.5 MB, free: 0.5078 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 NFInstanceAPI.mkTop(): time 0.3034/1.123, allocations: 49.04 MB / 447.6 MB, free: 6.676 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 448.8 MB, free: 5.434 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278e-05/1.408e-05, allocations: 6.25 kB / 448.8 MB, free: 5.43 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.001792/0.001806, allocations: 1.571 MB / 450.4 MB, free: 3.891 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005839/0.00239, allocations: 0.5141 MB / 450.9 MB, free: 3.375 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.002447, allocations: 4.656 kB / 450.9 MB, free: 3.371 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.216e-05/0.002499, allocations: 3.938 kB / 450.9 MB, free: 3.367 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.592e-05/0.002545, allocations: 14.8 kB / 451 MB, free: 3.359 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.002694, allocations: 52.8 kB / 451 MB, free: 3.309 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.002866, allocations: 110.8 kB / 451.1 MB, free: 3.215 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.662e-05/0.002953, allocations: 8.844 kB / 451.1 MB, free: 3.207 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.003138, allocations: 87.3 kB / 451.2 MB, free: 3.125 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.065e-05/0.003209, allocations: 35.89 kB / 451.2 MB, free: 3.09 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.00323, allocations: 8 kB / 451.2 MB, free: 3.082 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.078e-05/0.003281, allocations: 8 kB / 451.3 MB, free: 3.074 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.477e-05/0.003316, allocations: 12.84 kB / 451.3 MB, free: 3.062 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.719e-05/0.003353, allocations: 20 kB / 451.3 MB, free: 3.043 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.00347, allocations: 65.69 kB / 451.4 MB, free: 2.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.522e-05/0.003486, allocations: 4 kB / 451.4 MB, free: 2.977 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.62e-07/0.003486, allocations: 0 / 451.4 MB, free: 2.977 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.003501, allocations: 0 / 451.4 MB, free: 2.977 MB / 426.7 MB 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.0005123/0.004013, allocations: 358.7 kB / 451.7 MB, free: 2.594 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.00405, allocations: 15.97 kB / 451.7 MB, free: 2.578 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.004192, allocations: 99.3 kB / 451.8 MB, free: 2.465 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.004338, allocations: 141.5 kB / 452 MB, free: 2.301 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.004349, allocations: 4.375 kB / 452 MB, free: 2.297 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.004363, allocations: 9.062 kB / 452 MB, free: 2.289 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.004519, allocations: 129.2 kB / 452.1 MB, free: 2.148 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.004526, allocations: 1.25 kB / 452.1 MB, free: 2.148 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.004538, allocations: 12.12 kB / 452.1 MB, free: 2.137 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.004542, allocations: 0.9062 kB / 452.1 MB, free: 2.137 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.186e-05/0.004594, allocations: 54.77 kB / 452.2 MB, free: 2.078 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002792/0.004873, allocations: 183.7 kB / 452.3 MB, free: 1.883 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.004978, allocations: 73.92 kB / 452.4 MB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/0.005032, allocations: 58.67 kB / 452.5 MB, free: 1.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.005046, allocations: 0 / 452.5 MB, free: 1.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.005197, allocations: 129 kB / 452.6 MB, free: 1.586 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.005198, allocations: 0.7188 kB / 452.6 MB, free: 1.586 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002647/0.005463, allocations: 198.7 kB / 452.8 MB, free: 1.367 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.005504, allocations: 52.91 kB / 452.8 MB, free: 1.305 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.58e-05/0.0056, allocations: 140.4 kB / 453 MB, free: 1.156 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.005624, allocations: 29.7 kB / 453 MB, free: 1.121 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.005678, allocations: 88.12 kB / 453.1 MB, free: 1.031 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.0057, allocations: 21.39 kB / 453.1 MB, free: 1.012 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.005744, allocations: 33.64 kB / 453.2 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.546e-05/0.005839, allocations: 322.8 kB / 453.5 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.76e-05/0.005897, allocations: 79.39 kB / 453.5 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.165e-05/0.005959, allocations: 88.02 kB / 453.6 MB, free: 472 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.459e-05/0.006053, allocations: 141.8 kB / 453.8 MB, free: 308 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.006055, allocations: 0 / 453.8 MB, free: 308 kB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001497/0.006205, allocations: 208.4 kB / 454 MB, free: 68 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.685e-05/0.006272, allocations: 68.02 kB / 454 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.006277, allocations: 0 / 454 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.006287, allocations: 3.562 kB / 454 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.23e-05/0.00638, allocations: 19.92 kB / 454.1 MB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.006385, allocations: 4 kB / 454.1 MB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.864e-05/0.006454, allocations: 20.58 kB / 454.1 MB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.006466, allocations: 7.938 kB / 454.1 MB, free: 15.94 MB / 442.7 MB 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 8.827e-05/0.006554, allocations: 154.4 kB / 454.2 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.006568, allocations: 11.94 kB / 454.3 MB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.006595, allocations: 17.98 kB / 454.3 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.006597, allocations: 0 / 454.3 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.006598, allocations: 0 / 454.3 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.006603, allocations: 1.266 kB / 454.3 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.487e-05/0.006678, allocations: 77.88 kB / 454.4 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.006679, allocations: 0.5 kB / 454.4 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.006712, allocations: 16.67 kB / 454.4 MB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.006722, allocations: 7.953 kB / 454.4 MB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.006725, allocations: 4.562 kB / 454.4 MB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.006735, allocations: 6.25 kB / 454.4 MB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.006735, allocations: 0.5625 kB / 454.4 MB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.006739, allocations: 4.609 kB / 454.4 MB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.006876, allocations: 172.5 kB / 454.6 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.006896, allocations: 4.625 kB / 454.6 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.567e-05/0.006942, allocations: 20.86 kB / 454.6 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.254e-05/0.007034, allocations: 35.95 kB / 454.6 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.00704, allocations: 1.719 kB / 454.6 MB, free: 15.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.219e-05/0.007063, allocations: 22.81 kB / 454.6 MB, free: 15.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007063, allocations: 0 / 454.6 MB, free: 15.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001066/0.007169, allocations: 28 kB / 454.7 MB, free: 15.3 MB / 442.7 MB 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 8.581e-05/0.007255, allocations: 89.3 kB / 454.8 MB, free: 15.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002162/0.007471, allocations: 273.7 kB / 455 MB, free: 14.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.00748, allocations: 4 kB / 455 MB, free: 14.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.721e-05/0.007567, allocations: 125.9 kB / 455.2 MB, free: 14.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001144/0.007681, allocations: 25.3 kB / 455.2 MB, free: 14.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000771/0.008452, allocations: 255.6 kB / 455.4 MB, free: 14.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.773e-05/0.00849, allocations: 63.28 kB / 455.5 MB, free: 14.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.125e-05/0.008521, allocations: 5.062 kB / 455.5 MB, free: 14.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.182e-05/0.008613, allocations: 84.45 kB / 455.6 MB, free: 14.28 MB / 442.7 MB Notification: Performance of SimCode: time 9.11e-07/0.008614, allocations: 0 / 455.6 MB, free: 14.28 MB / 442.7 MB Notification: Performance of Templates: time 0.003625/0.01224, allocations: 2.119 MB / 457.7 MB, free: 12.31 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.665061892941594]