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.001084/0.001084, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.000998/0.000998, allocations: 181 kB / 23.36 MB, free: 1.133 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.036/1.036, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.8345/0.8345, allocations: 154.9 MB / 415.1 MB, free: 220 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.743e-06/1.743e-06, allocations: 0.9844 kB / 480.3 MB, free: 6.598 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.919e-05, allocations: 8.453 kB / 480.3 MB, free: 6.594 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002965/0.002995, allocations: 1.513 MB / 481.8 MB, free: 5.102 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000984/0.003979, allocations: 0.5234 MB / 482.4 MB, free: 4.586 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.522e-05/0.004044, allocations: 0 / 482.4 MB, free: 4.586 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.00415, allocations: 3.938 kB / 482.4 MB, free: 4.582 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.165e-05/0.004231, allocations: 21.81 kB / 482.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.004532, allocations: 52.47 kB / 482.4 MB, free: 4.516 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003563/0.004888, allocations: 104.9 kB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.005008, allocations: 5.094 kB / 482.5 MB, free: 4.422 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.005241, allocations: 75.8 kB / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.965e-05/0.005311, allocations: 37.77 kB / 482.7 MB, free: 4.312 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.005332, allocations: 8 kB / 482.7 MB, free: 4.305 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.063e-05/0.005372, allocations: 8 kB / 482.7 MB, free: 4.297 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.626e-05/0.005409, allocations: 23.91 kB / 482.7 MB, free: 4.273 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.005447, allocations: 23.98 kB / 482.7 MB, free: 4.25 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.00558, allocations: 80.59 kB / 482.8 MB, free: 4.172 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.005583, allocations: 0 / 482.8 MB, free: 4.172 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.005585, allocations: 1.281 kB / 482.8 MB, free: 4.172 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.005588, allocations: 0 / 482.8 MB, free: 4.172 MB / 442.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.0004009/0.005989, allocations: 352 kB / 483.1 MB, free: 3.797 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.787e-05/0.006017, allocations: 8.031 kB / 483.2 MB, free: 3.789 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.00612, allocations: 25.67 kB / 483.2 MB, free: 3.766 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.006247, allocations: 133.6 kB / 483.3 MB, free: 3.609 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.006257, allocations: 9.25 kB / 483.3 MB, free: 3.602 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.006276, allocations: 11.28 kB / 483.3 MB, free: 3.594 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.006419, allocations: 129.6 kB / 483.5 MB, free: 3.453 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.006428, allocations: 192 / 483.5 MB, free: 3.453 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.00644, allocations: 8.109 kB / 483.5 MB, free: 3.445 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.006445, allocations: 0.6562 kB / 483.5 MB, free: 3.445 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.459e-05/0.00649, allocations: 58.59 kB / 483.5 MB, free: 3.383 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.006719, allocations: 187 kB / 483.7 MB, free: 3.184 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.774e-05/0.006797, allocations: 77.41 kB / 483.8 MB, free: 3.094 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.667e-05/0.006833, allocations: 54.67 kB / 483.8 MB, free: 3.031 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.006845, allocations: 5.938 kB / 483.8 MB, free: 3.027 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/0.006959, allocations: 121 kB / 484 MB, free: 2.891 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.00696, allocations: 0 / 484 MB, free: 2.891 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001692/0.007129, allocations: 198.7 kB / 484.1 MB, free: 2.672 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.007166, allocations: 85.11 kB / 484.2 MB, free: 2.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.96e-05/0.007225, allocations: 133.5 kB / 484.4 MB, free: 2.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.00724, allocations: 33.7 kB / 484.4 MB, free: 2.391 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.34e-05/0.007274, allocations: 88.69 kB / 484.5 MB, free: 2.301 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.007288, allocations: 23.81 kB / 484.5 MB, free: 2.277 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.007326, allocations: 34.36 kB / 484.5 MB, free: 2.238 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.045e-05/0.007397, allocations: 318.8 kB / 484.8 MB, free: 1.918 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.477e-05/0.007442, allocations: 80.64 kB / 484.9 MB, free: 1.828 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.55e-05/0.007487, allocations: 87.38 kB / 485 MB, free: 1.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.414e-05/0.007561, allocations: 136.7 kB / 485.1 MB, free: 1.574 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.007563, allocations: 0.9062 kB / 485.1 MB, free: 1.574 MB / 442.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001181/0.007681, allocations: 208.4 kB / 485.4 MB, free: 1.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.007712, allocations: 64.27 kB / 485.4 MB, free: 1.266 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.007716, allocations: 0 / 485.4 MB, free: 1.266 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.007726, allocations: 0 / 485.4 MB, free: 1.266 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.322e-05/0.007789, allocations: 24.83 kB / 485.4 MB, free: 1.242 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.007792, allocations: 0 / 485.4 MB, free: 1.242 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.467e-05/0.007846, allocations: 16.61 kB / 485.5 MB, free: 1.227 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.007856, allocations: 4.625 kB / 485.5 MB, free: 1.223 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 6.875e-05/0.007925, allocations: 151 kB / 485.6 MB, free: 1.059 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.007939, allocations: 16.56 kB / 485.6 MB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.007959, allocations: 12.77 kB / 485.6 MB, free: 1.031 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.007961, allocations: 8.5 kB / 485.6 MB, free: 1.023 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.007962, allocations: 0.5312 kB / 485.6 MB, free: 1.023 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.007965, allocations: 0 / 485.6 MB, free: 1.023 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.474e-05/0.00802, allocations: 78.47 kB / 485.7 MB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.00802, allocations: 0 / 485.7 MB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.008042, allocations: 12.8 kB / 485.7 MB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.008043, allocations: 1.781 kB / 485.7 MB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.008052, allocations: 6.719 kB / 485.7 MB, free: 0.9141 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.008055, allocations: 7.938 kB / 485.7 MB, free: 0.9062 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.31e-07/0.008055, allocations: 0 / 485.7 MB, free: 0.9062 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.008164, allocations: 172.4 kB / 485.9 MB, free: 0.707 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.008173, allocations: 12.45 kB / 485.9 MB, free: 0.6953 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.008188, allocations: 4.312 kB / 485.9 MB, free: 0.6914 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.333e-05/0.008231, allocations: 24.92 kB / 486 MB, free: 0.668 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.008303, allocations: 35.95 kB / 486 MB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.008309, allocations: 4.969 kB / 486 MB, free: 0.6289 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.766e-05/0.008327, allocations: 22.81 kB / 486 MB, free: 0.6055 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008327, allocations: 2.344 kB / 486 MB, free: 0.6055 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001028/0.008429, allocations: 24 kB / 486 MB, free: 0.582 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 7.076e-05/0.0085, allocations: 84.55 kB / 486.1 MB, free: 0.4922 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001642/0.008664, allocations: 276.7 kB / 486.4 MB, free: 180 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.008668, allocations: 4 kB / 486.4 MB, free: 176 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.26e-05/0.00874, allocations: 131.1 kB / 486.5 MB, free: 24 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.728e-05/0.008828, allocations: 12 kB / 486.5 MB, free: 12 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.009239, allocations: 248.7 kB / 486.8 MB, free: 15.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.062e-05/0.009269, allocations: 63.34 kB / 486.8 MB, free: 15.65 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.484e-05/0.009294, allocations: 1.594 kB / 486.8 MB, free: 15.65 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.68e-05/0.009371, allocations: 84.52 kB / 486.9 MB, free: 15.57 MB / 458.7 MB Notification: Performance of SimCode: time 4.01e-07/0.009371, allocations: 0 / 486.9 MB, free: 15.57 MB / 458.7 MB Notification: Performance of Templates: time 0.003104/0.01248, allocations: 2.078 MB / 489 MB, free: 13.64 MB / 458.7 MB " [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.834692311938852]