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.0009231/0.0009231, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009636/0.0009636, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.931/0.931, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.7743/0.7743, allocations: 154.6 MB / 415.6 MB, free: 0.5273 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.403e-06/1.403e-06, allocations: 0 / 0.5215 GB, free: 1.969 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.425e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.965 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.001695/0.001709, allocations: 1.506 MB / 0.523 GB, free: 476 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006484/0.002358, allocations: 0.5095 MB / 0.5235 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.641e-05/0.002414, allocations: 0 / 0.5235 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.913e-05/0.002513, allocations: 7.938 kB / 0.5235 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.576e-05/0.002559, allocations: 12.91 kB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.002768, allocations: 51.81 kB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.002906, allocations: 108.5 kB / 0.5236 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.052e-05/0.002987, allocations: 12.17 kB / 0.5236 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.003143, allocations: 68.66 kB / 0.5237 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.279e-05/0.003206, allocations: 35.89 kB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.003229, allocations: 10.59 kB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.945e-05/0.003269, allocations: 15.98 kB / 0.5238 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.01e-05/0.003299, allocations: 8 kB / 0.5238 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.003337, allocations: 35.91 kB / 0.5238 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.003456, allocations: 83.7 kB / 0.5239 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.003458, allocations: 0 / 0.5239 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003459, allocations: 0 / 0.5239 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.003462, allocations: 0.6562 kB / 0.5239 GB, free: 15.52 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.0004699/0.003932, allocations: 472.9 kB / 0.5243 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.003967, allocations: 12.03 kB / 0.5243 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.004086, allocations: 20.89 kB / 0.5244 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.004246, allocations: 143 kB / 0.5245 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.004262, allocations: 4.938 kB / 0.5245 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.004275, allocations: 9.25 kB / 0.5245 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.004454, allocations: 128.6 kB / 0.5246 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.004462, allocations: 4.625 kB / 0.5246 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.004474, allocations: 5.125 kB / 0.5247 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.004481, allocations: 4 kB / 0.5247 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.08e-05/0.004532, allocations: 53.67 kB / 0.5247 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.004846, allocations: 293.2 kB / 0.525 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.004963, allocations: 89.36 kB / 0.5251 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.293e-05/0.005016, allocations: 57.5 kB / 0.5251 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.005031, allocations: 1.125 kB / 0.5251 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.005187, allocations: 122.7 kB / 0.5252 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.005188, allocations: 0.7188 kB / 0.5252 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0003057/0.005494, allocations: 238.6 kB / 0.5255 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.005548, allocations: 86.73 kB / 0.5256 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.005649, allocations: 185.9 kB / 0.5257 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.005668, allocations: 33.7 kB / 0.5258 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.503e-05/0.005743, allocations: 142.8 kB / 0.5259 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.00576, allocations: 21.42 kB / 0.5259 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.005814, allocations: 39.36 kB / 0.526 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.005963, allocations: 0.4923 MB / 0.5264 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.196e-05/0.006025, allocations: 75.39 kB / 0.5265 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.486e-05/0.00608, allocations: 79.39 kB / 0.5266 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.006182, allocations: 145.5 kB / 0.5267 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.006184, allocations: 0 / 0.5267 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005565/0.006741, allocations: 257.5 kB / 0.527 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/0.006782, allocations: 63.39 kB / 0.527 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.006787, allocations: 0 / 0.527 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.006796, allocations: 4.875 kB / 0.527 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.843e-05/0.006864, allocations: 11.98 kB / 0.527 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.006867, allocations: 1.156 kB / 0.527 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.103e-05/0.006928, allocations: 19.98 kB / 0.5271 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.006939, allocations: 4.531 kB / 0.5271 GB, free: 11.92 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 8.64e-05/0.007025, allocations: 197.1 kB / 0.5273 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.007045, allocations: 23.89 kB / 0.5273 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.364e-05/0.007069, allocations: 8.781 kB / 0.5273 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.007071, allocations: 0 / 0.5273 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.007074, allocations: 4 kB / 0.5273 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.007078, allocations: 3.984 kB / 0.5273 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.983e-05/0.007158, allocations: 121.2 kB / 0.5274 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.007159, allocations: 3.031 kB / 0.5274 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/0.007187, allocations: 7.984 kB / 0.5274 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.007189, allocations: 0 / 0.5274 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.007198, allocations: 11.88 kB / 0.5274 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.007199, allocations: 256 / 0.5274 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.0072, allocations: 0 / 0.5274 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.007384, allocations: 231.8 kB / 0.5277 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.269e-05/0.007397, allocations: 15.88 kB / 0.5277 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.007414, allocations: 9.438 kB / 0.5277 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.84e-05/0.007463, allocations: 11.98 kB / 0.5277 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/0.007534, allocations: 31.97 kB / 0.5277 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.007544, allocations: 11.98 kB / 0.5277 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.006e-05/0.007584, allocations: 134.5 kB / 0.5279 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.007584, allocations: 0 / 0.5279 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001338/0.007718, allocations: 24 kB / 0.5279 GB, free: 11.01 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 6.878e-05/0.007787, allocations: 104.5 kB / 0.528 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001893/0.007976, allocations: 271.5 kB / 0.5282 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.007977, allocations: 0.8438 kB / 0.5282 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.359e-05/0.008061, allocations: 132.8 kB / 0.5284 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.008205, allocations: 22.33 kB / 0.5284 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004121/0.008617, allocations: 240.2 kB / 0.5286 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.086e-05/0.008648, allocations: 63.34 kB / 0.5287 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.786e-05/0.008675, allocations: 2.438 kB / 0.5287 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.2e-05/0.008767, allocations: 98.19 kB / 0.5288 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.008768, allocations: 0 / 0.5288 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of Templates: time 0.00368/0.01245, allocations: 2.261 MB / 0.531 GB, free: 7.836 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.471046881750226]