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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001549/0.001549, allocations: 184 kB / 8.354 MB, free: 0.7305 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.364/1.364, allocations: 194.4 MB / 203.1 MB, free: 13.03 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.001649/0.001649, allocations: 112.7 kB / 248.1 MB, free: 36 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.468e-05/1.477e-05, allocations: 7.938 kB / 298.1 MB, free: 35.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07799/0.07802, allocations: 44.5 MB / 342.6 MB, free: 7 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3121/0.3902, allocations: 70.46 MB / 413 MB, free: 10.79 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000155/0.3904, allocations: 67.16 kB / 413.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007117/0.3976, allocations: 2.969 MB / 416.1 MB, free: 10.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3976, allocations: 0 / 416.1 MB, free: 10.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.3976, allocations: 3.75 kB / 416.1 MB, free: 10.33 MB / 298.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.0003827/0.398, allocations: 0.5611 MB / 416.6 MB, free: 9.855 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.398, allocations: 7.844 kB / 416.6 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.3982, allocations: 19.34 kB / 416.7 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.3983, allocations: 181.8 kB / 416.8 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.3983, allocations: 3.812 kB / 416.8 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.3983, allocations: 3.875 kB / 416.8 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001235/0.3985, allocations: 145.7 kB / 417 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.3987, allocations: 268.2 kB / 417.2 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3987, allocations: 0 / 417.2 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.3987, allocations: 3.844 kB / 417.3 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3987, allocations: 0 / 417.3 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/0.3989, allocations: 178.6 kB / 417.4 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.3991, allocations: 496 kB / 417.9 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.3994, allocations: 469.2 kB / 418.4 MB, free: 9.328 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.3994, allocations: 3.938 kB / 418.4 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003148/0.3997, allocations: 472 kB / 418.8 MB, free: 9.129 MB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 1.563e-06/0.3997, allocations: 3.938 kB / 418.8 MB, free: 9.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=46): time 0.0005305/0.4003, allocations: 412.5 kB / 419.2 MB, free: 9.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.4003, allocations: 154.5 kB / 419.4 MB, free: 8.914 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.918e-05/0.4004, allocations: 95.95 kB / 419.5 MB, free: 8.824 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.4004, allocations: 29.33 kB / 419.5 MB, free: 8.793 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.313e-05/0.4004, allocations: 80.92 kB / 419.6 MB, free: 8.711 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.4005, allocations: 80.38 kB / 419.7 MB, free: 8.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-06/0.4005, allocations: 3.875 kB / 419.7 MB, free: 8.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.248e-05/0.4006, allocations: 329 kB / 420 MB, free: 8.348 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.4006, allocations: 82.03 kB / 420.1 MB, free: 8.344 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.408e-05/0.4007, allocations: 102.6 kB / 420.2 MB, free: 8.328 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.4008, allocations: 102.3 kB / 420.3 MB, free: 8.328 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4009, allocations: 3.969 kB / 420.3 MB, free: 8.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002707/0.4011, allocations: 252 kB / 420.5 MB, free: 8.273 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.426e-05/0.4012, allocations: 113.1 kB / 420.6 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4012, allocations: 0 / 420.6 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.4012, allocations: 4.125 kB / 420.6 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.763e-06/0.4012, allocations: 7.75 kB / 420.6 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.4013, allocations: 0 / 420.6 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.302e-05/0.4013, allocations: 23.34 kB / 420.7 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.4013, allocations: 11.67 kB / 420.7 MB, free: 8.188 MB / 298.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.0001725/0.4015, allocations: 271.5 kB / 420.9 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.4016, allocations: 31.02 kB / 421 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.4016, allocations: 8.594 kB / 421 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4016, allocations: 3.938 kB / 421 MB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.4016, allocations: 0 / 421 MB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4016, allocations: 0 / 421 MB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.4018, allocations: 209.2 kB / 421.2 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4018, allocations: 0 / 421.2 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-06/0.4018, allocations: 7.219 kB / 421.2 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4018, allocations: 4 kB / 421.2 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.4018, allocations: 18.56 kB / 421.2 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4018, allocations: 11.86 kB / 421.2 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.4018, allocations: 0 / 421.2 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006508/0.4025, allocations: 0.5767 MB / 421.8 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.4025, allocations: 99.05 kB / 421.9 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.4027, allocations: 81.12 kB / 422 MB, free: 7.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.405e-05/0.4027, allocations: 7.781 kB / 422 MB, free: 7.598 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.4028, allocations: 8.891 kB / 422 MB, free: 7.598 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.402e-05/0.4028, allocations: 31.23 kB / 422 MB, free: 7.598 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.598e-05/0.4029, allocations: 79.12 kB / 422.1 MB, free: 7.523 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4029, allocations: 0 / 422.1 MB, free: 7.523 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003303/0.4032, allocations: 109.8 kB / 422.2 MB, free: 7.508 MB / 298.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.0005141/0.4037, allocations: 316.7 kB / 422.5 MB, free: 7.344 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.405, allocations: 2.095 MB / 424.6 MB, free: 7.211 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.405, allocations: 3.875 kB / 424.6 MB, free: 7.211 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.4062, allocations: 2.164 MB / 426.8 MB, free: 7.086 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.4064, allocations: 7.688 kB / 426.8 MB, free: 7.086 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.4068, allocations: 306.2 kB / 427.1 MB, free: 6.973 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.407, allocations: 0.7316 MB / 427.8 MB, free: 6.273 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.223e-05/0.407, allocations: 0 / 427.8 MB, free: 6.273 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.192e-05/0.407, allocations: 7.438 kB / 427.8 MB, free: 6.27 MB / 298.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4071, allocations: 0 / 427.8 MB, free: 6.27 MB / 298.7 MB Notification: Performance of Templates: time 0.006462/0.4135, allocations: 3.298 MB / 431.1 MB, free: 5.008 MB / 298.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)