Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests") translateModel(Annex60.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2808/0.2808, allocations: 54.4 MB / 61.68 MB, free: 1.828 MB / 50.85 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001201/0.001201, allocations: 187.1 kB / 75.38 MB, free: 10.61 MB / 66.85 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.561/1.561, allocations: 194.2 MB / 283.2 MB, free: 9.406 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001743/0.001744, allocations: 115.7 kB / 341.3 MB, free: 2.266 MB / 258.8 MB Notification: Performance of FrontEnd - loaded program: time 8.456e-06/8.626e-06, allocations: 0 / 404.9 MB, free: 2.539 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1444, allocations: 57.65 MB / 462.6 MB, free: 8.809 MB / 386.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3737/0.5182, allocations: 85.6 MB / 0.5353 GB, free: 14.14 MB / 386.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.5185, allocations: 67.97 kB / 0.5354 GB, free: 14.07 MB / 386.8 MB Notification: Performance of FrontEnd: time 0.005089/0.5237, allocations: 1.172 MB / 0.5366 GB, free: 12.95 MB / 386.8 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.5237, allocations: 0 / 0.5366 GB, free: 12.95 MB / 386.8 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.0006115/0.5243, allocations: 438.4 kB / 0.537 GB, free: 12.48 MB / 386.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.5244, allocations: 12.53 kB / 0.537 GB, free: 12.47 MB / 386.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.927e-05/0.5245, allocations: 13.59 kB / 0.537 GB, free: 12.46 MB / 386.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.5248, allocations: 190.9 kB / 0.5372 GB, free: 12.23 MB / 386.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.5249, allocations: 6.531 kB / 0.5372 GB, free: 12.23 MB / 386.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.5249, allocations: 4 kB / 0.5372 GB, free: 12.22 MB / 386.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001706/0.5251, allocations: 48.67 kB / 0.5372 GB, free: 12.18 MB / 386.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.5252, allocations: 98.97 kB / 0.5373 GB, free: 12.07 MB / 386.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.5253, allocations: 0 / 0.5373 GB, free: 12.07 MB / 386.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.5253, allocations: 0 / 0.5373 GB, free: 12.07 MB / 386.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.5253, allocations: 4.656 kB / 0.5373 GB, free: 12.07 MB / 386.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/0.5259, allocations: 327.2 kB / 0.5376 GB, free: 11.72 MB / 386.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.5261, allocations: 70.56 kB / 0.5377 GB, free: 11.64 MB / 386.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.376e-05/0.5262, allocations: 52.97 kB / 0.5378 GB, free: 11.59 MB / 386.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.5262, allocations: 1.266 kB / 0.5378 GB, free: 11.59 MB / 386.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.5263, allocations: 95.33 kB / 0.5379 GB, free: 11.48 MB / 386.8 MB Notification: Performance of pre-optimization done (n=6): time 2.004e-06/0.5263, allocations: 0 / 0.5379 GB, free: 11.48 MB / 386.8 MB Notification: Performance of matching and sorting (n=6): time 0.0002693/0.5266, allocations: 109.6 kB / 0.538 GB, free: 11.37 MB / 386.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.5267, allocations: 81.11 kB / 0.538 GB, free: 11.27 MB / 386.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/0.5268, allocations: 119 kB / 0.5381 GB, free: 11.15 MB / 386.8 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.5268, allocations: 29.7 kB / 0.5382 GB, free: 11.11 MB / 386.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.487e-05/0.5268, allocations: 84.14 kB / 0.5383 GB, free: 11.03 MB / 386.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.5269, allocations: 24.61 kB / 0.5383 GB, free: 11 MB / 386.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/0.5269, allocations: 4 kB / 0.5383 GB, free: 11 MB / 386.8 MB Notification: Performance of setup shared object (initialization): time 6.306e-05/0.527, allocations: 318.6 kB / 0.5386 GB, free: 10.68 MB / 386.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.325e-05/0.527, allocations: 51.98 kB / 0.5386 GB, free: 10.63 MB / 386.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.487e-05/0.5271, allocations: 44.06 kB / 0.5387 GB, free: 10.59 MB / 386.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.329e-05/0.5272, allocations: 31.91 kB / 0.5387 GB, free: 10.56 MB / 386.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5272, allocations: 0 / 0.5387 GB, free: 10.56 MB / 386.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001868/0.5274, allocations: 117.6 kB / 0.5388 GB, free: 10.44 MB / 386.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.5274, allocations: 9.656 kB / 0.5388 GB, free: 10.43 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.5274, allocations: 0 / 0.5388 GB, free: 10.43 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.5274, allocations: 0 / 0.5388 GB, free: 10.43 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.5276, allocations: 27.97 kB / 0.5389 GB, free: 10.4 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.5276, allocations: 6.281 kB / 0.5389 GB, free: 10.4 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.5278, allocations: 27.98 kB / 0.5389 GB, free: 10.37 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.5278, allocations: 4 kB / 0.5389 GB, free: 10.37 MB / 386.8 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 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.552e-05/0.5279, allocations: 146.6 kB / 0.539 GB, free: 10.21 MB / 386.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.5279, allocations: 7.906 kB / 0.539 GB, free: 10.2 MB / 386.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.528, allocations: 12.38 kB / 0.5391 GB, free: 10.19 MB / 386.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.528, allocations: 0 / 0.5391 GB, free: 10.19 MB / 386.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.528, allocations: 0.875 kB / 0.5391 GB, free: 10.19 MB / 386.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.528, allocations: 2.953 kB / 0.5391 GB, free: 10.19 MB / 386.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.5281, allocations: 168.4 kB / 0.5392 GB, free: 9.992 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5281, allocations: 0 / 0.5392 GB, free: 9.992 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.295e-05/0.5282, allocations: 23.98 kB / 0.5392 GB, free: 9.969 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.5282, allocations: 3.906 kB / 0.5392 GB, free: 9.965 MB / 386.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.5283, allocations: 2.062 kB / 0.5392 GB, free: 9.965 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.664e-06/0.5283, allocations: 3.984 kB / 0.5393 GB, free: 9.961 MB / 386.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5283, allocations: 4 kB / 0.5393 GB, free: 9.957 MB / 386.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001783/0.5285, allocations: 141.5 kB / 0.5394 GB, free: 9.805 MB / 386.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.5285, allocations: 81.02 kB / 0.5395 GB, free: 9.707 MB / 386.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.5285, allocations: 4 kB / 0.5395 GB, free: 9.703 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.5287, allocations: 31.97 kB / 0.5395 GB, free: 9.672 MB / 386.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.5288, allocations: 35.95 kB / 0.5395 GB, free: 9.637 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.5289, allocations: 8 kB / 0.5395 GB, free: 9.629 MB / 386.8 MB Notification: Performance of sort global known variables: time 4.762e-05/0.5289, allocations: 91.27 kB / 0.5396 GB, free: 9.539 MB / 386.8 MB Notification: Performance of remove unused functions: time 0.0002263/0.5292, allocations: 27.91 kB / 0.5397 GB, free: 9.512 MB / 386.8 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001296/0.5293, allocations: 107.2 kB / 0.5398 GB, free: 9.398 MB / 386.8 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.5295, allocations: 163.4 kB / 0.5399 GB, free: 9.227 MB / 386.8 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.5295, allocations: 0 / 0.5399 GB, free: 9.227 MB / 386.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.5297, allocations: 97.62 kB / 0.54 GB, free: 9.125 MB / 386.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.5299, allocations: 7.984 kB / 0.54 GB, free: 9.117 MB / 386.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.5303, allocations: 142.3 kB / 0.5402 GB, free: 8.961 MB / 386.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.5305, allocations: 0.7075 MB / 0.5408 GB, free: 8.227 MB / 386.8 MB Notification: Performance of SimCode: time 2.5e-07/0.5305, allocations: 0 / 0.5408 GB, free: 8.227 MB / 386.8 MB Notification: Performance of Templates: time 0.003758/0.5343, allocations: 1.602 MB / 0.5424 GB, free: 6.695 MB / 386.8 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)