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.0007853/0.0007853, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0007592/0.0007592, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8794/0.8794, allocations: 177.1 MB / 203.5 MB, free: 5.738 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-531:686: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-531:694: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.6757/0.6757, allocations: 154.6 MB / 414.5 MB, free: 0.793 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.452e-06/1.452e-06, allocations: 0 / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.928e-05, allocations: 7.469 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.001818/0.001847, allocations: 1.489 MB / 0.6207 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006121/0.002459, allocations: 0.4949 MB / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.727e-05/0.002516, allocations: 7.938 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.865e-05/0.002605, allocations: 7.875 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.485e-05/0.00265, allocations: 7.875 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.00288, allocations: 59.8 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.003023, allocations: 103.7 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.003125, allocations: 8.172 kB / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.003284, allocations: 67.88 kB / 0.6215 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.477e-05/0.003349, allocations: 35.89 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.00337, allocations: 8 kB / 0.6215 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.895e-05/0.003409, allocations: 15.94 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/0.003446, allocations: 15.91 kB / 0.6216 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.003491, allocations: 27.92 kB / 0.6216 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.003634, allocations: 103.7 kB / 0.6217 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.003636, allocations: 0 / 0.6217 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003636, allocations: 4 kB / 0.6217 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.00364, allocations: 0 / 0.6217 GB, free: 10.76 MB / 0.5886 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.0005209/0.004161, allocations: 381.4 kB / 0.622 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.004194, allocations: 8.031 kB / 0.6221 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.004301, allocations: 20.88 kB / 0.6221 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.004468, allocations: 125.7 kB / 0.6222 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.004481, allocations: 8.375 kB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.004495, allocations: 4.375 kB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.0047, allocations: 159.8 kB / 0.6224 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.004708, allocations: 192 / 0.6224 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.004721, allocations: 8.125 kB / 0.6224 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.004725, allocations: 0 / 0.6224 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.004881, allocations: 117.6 kB / 0.6225 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.005234, allocations: 260.4 kB / 0.6227 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.005412, allocations: 132.2 kB / 0.6228 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.005513, allocations: 102.5 kB / 0.6229 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.005525, allocations: 4 kB / 0.623 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.005711, allocations: 157 kB / 0.6231 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.005713, allocations: 3.938 kB / 0.6231 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0004244/0.006137, allocations: 334.6 kB / 0.6234 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.006179, allocations: 89.09 kB / 0.6235 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.672e-05/0.006256, allocations: 141.3 kB / 0.6236 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.006269, allocations: 25.7 kB / 0.6237 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.006331, allocations: 96.09 kB / 0.6238 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.006347, allocations: 23.83 kB / 0.6238 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.006387, allocations: 29.72 kB / 0.6238 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.787e-05/0.006454, allocations: 322.8 kB / 0.6241 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.006601, allocations: 127.3 kB / 0.6242 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.006703, allocations: 119.4 kB / 0.6244 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.006874, allocations: 190 kB / 0.6245 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.006875, allocations: 0 / 0.6245 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002875/0.007163, allocations: 328.2 kB / 0.6248 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.007198, allocations: 69.73 kB / 0.6249 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.007201, allocations: 0 / 0.6249 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.007211, allocations: 0 / 0.6249 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.188e-05/0.007273, allocations: 11.98 kB / 0.6249 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.007277, allocations: 0 / 0.6249 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.813e-05/0.007345, allocations: 27.97 kB / 0.625 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.007356, allocations: 4 kB / 0.625 GB, free: 7.078 MB / 0.5886 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.0001383/0.007495, allocations: 164.5 kB / 0.6251 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.007506, allocations: 12.14 kB / 0.6251 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.007528, allocations: 8.781 kB / 0.6251 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.007531, allocations: 4 kB / 0.6251 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.007535, allocations: 4 kB / 0.6251 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.007538, allocations: 3.984 kB / 0.6251 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.094e-05/0.007609, allocations: 121.3 kB / 0.6253 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.00761, allocations: 0 / 0.6253 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.007644, allocations: 15.92 kB / 0.6253 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.81e-07/0.007645, allocations: 8 kB / 0.6253 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.007654, allocations: 0 / 0.6253 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.007655, allocations: 0 / 0.6253 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.007656, allocations: 0 / 0.6253 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.007919, allocations: 280.4 kB / 0.6256 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.007929, allocations: 7.891 kB / 0.6256 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.007946, allocations: 7.938 kB / 0.6256 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.739e-05/0.008003, allocations: 27.97 kB / 0.6256 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.512e-05/0.008089, allocations: 35.91 kB / 0.6256 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.008097, allocations: 7.984 kB / 0.6256 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.954e-05/0.008137, allocations: 99.27 kB / 0.6257 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008137, allocations: 0 / 0.6257 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001308/0.008268, allocations: 27.94 kB / 0.6258 GB, free: 6.18 MB / 0.5886 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 6.936e-05/0.008337, allocations: 103.2 kB / 0.6259 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003056/0.008643, allocations: 347.8 kB / 0.6262 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.008644, allocations: 0 / 0.6262 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.008771, allocations: 165 kB / 0.6263 GB, free: 5.508 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.00892, allocations: 15.98 kB / 0.6264 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004209/0.009341, allocations: 272.9 kB / 0.6266 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.467e-05/0.009385, allocations: 75.33 kB / 0.6267 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.009419, allocations: 16.5 kB / 0.6267 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/0.009419, allocations: 0 / 0.6267 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of Templates: time 0.00203/0.01145, allocations: 1.492 MB / 0.6282 GB, free: 3.602 MB / 0.5886 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.103453199379146] Failed to read output from testmodel.py, exit status != 0: 0.015941591002047062 0.023499478 0.018333687 Calling exit ...