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.001206/0.001206, allocations: 80.88 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.001091/0.001091, 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 0.97/0.97, allocations: 177.2 MB / 203.8 MB, free: 5.469 MB / 186.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.7607/0.7607, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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. " [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.653e-06/1.653e-06, allocations: 0 / 480 MB, free: 6.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.156e-05/3.321e-05, allocations: 2.312 kB / 480 MB, free: 6.945 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.006083/0.006116, allocations: 1.525 MB / 481.5 MB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004173/0.01029, allocations: 0.5156 MB / 482 MB, free: 4.926 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.058e-05/0.01038, allocations: 0 / 482 MB, free: 4.926 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.01049, allocations: 9.406 kB / 482 MB, free: 4.918 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.724e-05/0.01057, allocations: 10.77 kB / 482 MB, free: 4.914 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.0109, allocations: 55.81 kB / 482.1 MB, free: 4.859 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.01111, allocations: 102 kB / 482.2 MB, free: 4.773 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.971e-05/0.01121, allocations: 13.38 kB / 482.2 MB, free: 4.762 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.01147, allocations: 71.77 kB / 482.3 MB, free: 4.691 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.52e-05/0.01157, allocations: 33.84 kB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.0116, allocations: 8 kB / 482.3 MB, free: 4.652 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.115e-05/0.01165, allocations: 16 kB / 482.3 MB, free: 4.637 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.875e-05/0.01169, allocations: 15.92 kB / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.26e-05/0.01174, allocations: 27.92 kB / 482.3 MB, free: 4.594 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.01192, allocations: 80.97 kB / 482.4 MB, free: 4.516 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.01192, allocations: 0 / 482.4 MB, free: 4.516 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.01192, allocations: 0 / 482.4 MB, free: 4.516 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.01193, allocations: 0.5 kB / 482.4 MB, free: 4.516 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.0005505/0.01248, allocations: 356.5 kB / 482.8 MB, free: 4.137 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.01251, allocations: 8.031 kB / 482.8 MB, free: 4.129 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.01268, allocations: 29.53 kB / 482.8 MB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.01286, allocations: 125.6 kB / 482.9 MB, free: 3.953 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.01288, allocations: 9.094 kB / 482.9 MB, free: 3.945 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.0129, allocations: 4.375 kB / 482.9 MB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.01312, allocations: 131.5 kB / 483.1 MB, free: 3.801 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.01313, allocations: 192 / 483.1 MB, free: 3.801 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.01314, allocations: 8.125 kB / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.01315, allocations: 0 / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.292e-05/0.01322, allocations: 53.69 kB / 483.1 MB, free: 3.734 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.01359, allocations: 195 kB / 483.3 MB, free: 3.527 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.01372, allocations: 72.88 kB / 483.4 MB, free: 3.441 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.728e-05/0.0138, allocations: 63.75 kB / 483.5 MB, free: 3.371 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.01381, allocations: 0 / 483.5 MB, free: 3.371 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.01399, allocations: 125.6 kB / 483.6 MB, free: 3.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.01399, allocations: 0 / 483.6 MB, free: 3.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.00027/0.01426, allocations: 195.3 kB / 483.8 MB, free: 3.016 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.01431, allocations: 81.73 kB / 483.9 MB, free: 2.918 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.703e-05/0.01441, allocations: 136.3 kB / 484 MB, free: 2.773 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.01443, allocations: 30.33 kB / 484 MB, free: 2.738 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.01449, allocations: 96.06 kB / 484.1 MB, free: 2.641 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.01451, allocations: 20.47 kB / 484.1 MB, free: 2.621 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.073e-05/0.01457, allocations: 34.25 kB / 484.2 MB, free: 2.582 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.01467, allocations: 322.8 kB / 484.5 MB, free: 2.258 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.392e-05/0.01475, allocations: 79.98 kB / 484.6 MB, free: 2.168 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.606e-05/0.01482, allocations: 83.33 kB / 484.6 MB, free: 2.074 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.01494, allocations: 141.5 kB / 484.8 MB, free: 1.914 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01494, allocations: 0 / 484.8 MB, free: 1.914 MB / 442.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001942/0.01514, allocations: 206.9 kB / 485 MB, free: 1.684 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/0.01519, allocations: 67.39 kB / 485 MB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.0152, allocations: 0 / 485 MB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.01521, allocations: 3.938 kB / 485.1 MB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.881e-05/0.0153, allocations: 12.8 kB / 485.1 MB, free: 1.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.0153, allocations: 4 kB / 485.1 MB, free: 1.586 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.581e-05/0.01537, allocations: 16.98 kB / 485.1 MB, free: 1.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.01538, allocations: 0 / 485.1 MB, free: 1.57 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.595e-05/0.01547, allocations: 162.9 kB / 485.2 MB, free: 1.395 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.01548, allocations: 17.17 kB / 485.3 MB, free: 1.379 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.155e-05/0.01551, allocations: 8.781 kB / 485.3 MB, free: 1.371 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01551, allocations: 0.9375 kB / 485.3 MB, free: 1.371 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.01551, allocations: 4.594 kB / 485.3 MB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.01551, allocations: 0 / 485.3 MB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.123e-05/0.01559, allocations: 83.08 kB / 485.4 MB, free: 1.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.0156, allocations: 0 / 485.4 MB, free: 1.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-05/0.01563, allocations: 4 kB / 485.4 MB, free: 1.266 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01563, allocations: 4.75 kB / 485.4 MB, free: 1.262 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.01564, allocations: 7.984 kB / 485.4 MB, free: 1.254 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01564, allocations: 5.094 kB / 485.4 MB, free: 1.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.01564, allocations: 3.938 kB / 485.4 MB, free: 1.246 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.01578, allocations: 164.8 kB / 485.5 MB, free: 1.055 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.01579, allocations: 17.86 kB / 485.6 MB, free: 1.039 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.01581, allocations: 13.34 kB / 485.6 MB, free: 1.027 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.098e-05/0.01586, allocations: 19.92 kB / 485.6 MB, free: 1.008 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.641e-05/0.01594, allocations: 31.97 kB / 485.6 MB, free: 0.9766 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.01595, allocations: 8.578 kB / 485.6 MB, free: 0.9688 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.277e-05/0.01597, allocations: 27.36 kB / 485.7 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01597, allocations: 0.5938 kB / 485.7 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001097/0.01608, allocations: 25.41 kB / 485.7 MB, free: 0.918 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.582e-05/0.01616, allocations: 80.52 kB / 485.8 MB, free: 0.832 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005253/0.01669, allocations: 277.6 kB / 486 MB, free: 0.5156 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.01669, allocations: 0 / 486 MB, free: 0.5156 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.675e-05/0.01678, allocations: 129.9 kB / 486.2 MB, free: 376 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.0169, allocations: 23.72 kB / 486.2 MB, free: 360 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000477/0.01738, allocations: 245.2 kB / 486.4 MB, free: 80 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.25e-05/0.01741, allocations: 59.94 kB / 486.5 MB, free: 0 / 442.7 MB Notification: Performance of simCode: alias equations: time 4.758e-05/0.01746, allocations: 5.484 kB / 486.5 MB, free: 15.99 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.986e-05/0.01756, allocations: 84.16 kB / 486.6 MB, free: 15.91 MB / 458.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01756, allocations: 0 / 486.6 MB, free: 15.91 MB / 458.7 MB Notification: Performance of Templates: time 0.004105/0.02166, allocations: 2.083 MB / 488.7 MB, free: 13.98 MB / 458.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.6161240353249013]