Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json 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) Running command: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers") translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers") [: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/Complex 3.2.2+maint.om/package.mo): time 0.001784/0.001784, allocations: 191.8 kB / 8.139 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.128/1.128, allocations: 194.2 MB / 202.8 MB, free: 8.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001722/0.001722, allocations: 120.1 kB / 247.7 MB, free: 6.285 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.653e-06/6.773e-06, allocations: 0 / 297.6 MB, free: 7.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08666/0.08669, allocations: 44.49 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.208/0.2948, allocations: 70.39 MB / 412.4 MB, free: 24.67 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001667/0.295, allocations: 66.91 kB / 412.5 MB, free: 24.63 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.007372/0.3024, allocations: 2.662 MB / 415.2 MB, free: 22.44 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.3024, allocations: 0 / 415.2 MB, free: 22.44 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000343/0.3028, allocations: 0.5514 MB / 415.7 MB, free: 21.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.3028, allocations: 12.03 kB / 415.7 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.3029, allocations: 17.59 kB / 415.7 MB, free: 21.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.369e-05/0.303, allocations: 182.8 kB / 415.9 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3031, allocations: 0.5625 kB / 415.9 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.3031, allocations: 4 kB / 415.9 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001251/0.3032, allocations: 146.8 kB / 416.1 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.3035, allocations: 274 kB / 416.3 MB, free: 21.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.3035, allocations: 3.984 kB / 416.3 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.3035, allocations: 8.75 kB / 416.4 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3035, allocations: 5.062 kB / 416.4 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.3037, allocations: 177.4 kB / 416.5 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.3039, allocations: 495.7 kB / 417 MB, free: 20.85 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.3041, allocations: 471.9 kB / 417.5 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.3041, allocations: 4 kB / 417.5 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002838/0.3044, allocations: 465.7 kB / 417.9 MB, free: 20.24 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 1.182e-06/0.3044, allocations: 0 / 417.9 MB, free: 20.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.0005569/0.305, allocations: 0.5589 MB / 418.5 MB, free: 19.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.3051, allocations: 160.4 kB / 418.6 MB, free: 19.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.364e-05/0.3051, allocations: 97 kB / 418.7 MB, free: 19.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.3051, allocations: 29.7 kB / 418.8 MB, free: 19.44 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.13e-05/0.3051, allocations: 80.92 kB / 418.9 MB, free: 19.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.3052, allocations: 80.77 kB / 418.9 MB, free: 19.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.3052, allocations: 0 / 418.9 MB, free: 19.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.3053, allocations: 333.7 kB / 419.3 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.685e-05/0.3053, allocations: 77.17 kB / 419.3 MB, free: 18.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.364e-05/0.3054, allocations: 111.4 kB / 419.4 MB, free: 18.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.3055, allocations: 109.2 kB / 419.5 MB, free: 18.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3055, allocations: 3.906 kB / 419.6 MB, free: 18.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002927/0.3058, allocations: 413.7 kB / 420 MB, free: 18.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.3059, allocations: 4 kB / 420 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3059, allocations: 0 / 420 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3059, allocations: 4 kB / 420 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-06/0.3059, allocations: 0 / 420 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.155e-06/0.3059, allocations: 3.938 kB / 420 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.707e-05/0.3059, allocations: 18 kB / 420 MB, free: 18.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.306, allocations: 6.266 kB / 420 MB, free: 18.35 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * 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 0.0001585/0.3061, allocations: 263.3 kB / 420.2 MB, free: 18.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.3062, allocations: 31.8 kB / 420.3 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.42e-05/0.3062, allocations: 9.375 kB / 420.3 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3062, allocations: 4 kB / 420.3 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3062, allocations: 3.906 kB / 420.3 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3062, allocations: 0 / 420.3 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.3064, allocations: 210.7 kB / 420.5 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3064, allocations: 2.531 kB / 420.5 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.3064, allocations: 0 / 420.5 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3064, allocations: 4 kB / 420.5 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.3064, allocations: 19.73 kB / 420.5 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3064, allocations: 0 / 420.5 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3064, allocations: 0 / 420.5 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000649/0.3071, allocations: 0.7428 MB / 421.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.592e-05/0.3071, allocations: 96.86 kB / 421.4 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.3073, allocations: 79.91 kB / 421.4 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.612e-05/0.3073, allocations: 9.562 kB / 421.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.3074, allocations: 7.438 kB / 421.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/0.3074, allocations: 31.78 kB / 421.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.842e-05/0.3075, allocations: 91.23 kB / 421.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003372/0.3078, allocations: 87.06 kB / 421.7 MB, free: 16.74 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 46 (iImpure,rImpure,$whenCondition1,r1024,r128,r64,state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0005056/0.3083, allocations: 298.6 kB / 422 MB, free: 16.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003583/0.3087, allocations: 0.5049 MB / 422.5 MB, free: 16.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3087, allocations: 0 / 422.5 MB, free: 16.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.3098, allocations: 2.152 MB / 424.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.31, allocations: 19.97 kB / 424.6 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000442/0.3104, allocations: 292.4 kB / 424.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.3106, allocations: 0.736 MB / 425.7 MB, free: 14.13 MB / 314.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3106, allocations: 0 / 425.7 MB, free: 14.13 MB / 314.7 MB Notification: Performance of Templates: time 0.004956/0.3155, allocations: 3.266 MB / 428.9 MB, free: 10.9 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (rm -f Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1)