Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers") translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005001/0.0005003, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2767, allocations: 47.58 MB / 326.4 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001333/0.2781, allocations: 0.9547 MB / 327.4 MB, free: 0.6445 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008288/0.2789, allocations: 430.8 kB / 327.8 MB, free: 344 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.103e-05/0.279, allocations: 3.938 kB / 327.8 MB, free: 340 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.434e-05/0.279, allocations: 0 / 327.8 MB, free: 340 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004523/0.2795, allocations: 58.55 kB / 327.9 MB, free: 300 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.2797, allocations: 52.5 kB / 327.9 MB, free: 260 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 7.87e-05/0.2798, allocations: 23.91 kB / 327.9 MB, free: 248 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.66e-05/0.2798, allocations: 5.891 kB / 328 MB, free: 244 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.107e-05/0.2799, allocations: 20.95 kB / 328 MB, free: 232 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.46e-05/0.2799, allocations: 14.31 kB / 328 MB, free: 224 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.28, allocations: 6.234 kB / 328 MB, free: 220 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002534/0.2802, allocations: 82.73 kB / 328.1 MB, free: 180 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 5.591e-05/0.2803, allocations: 42.52 kB / 328.1 MB, free: 156 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 4.915e-05/0.2804, allocations: 44.36 kB / 328.2 MB, free: 116 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.2806, allocations: 109.3 kB / 328.3 MB, free: 56 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2806, allocations: 0 / 328.3 MB, free: 56 kB / 254.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.2807, allocations: 5.344 kB / 328.3 MB, free: 52 kB / 254.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.2807, allocations: 0 / 328.3 MB, free: 52 kB / 254.1 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.0008135/0.2815, allocations: 0.5544 MB / 328.8 MB, free: 15.53 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.2816, allocations: 8.656 kB / 328.8 MB, free: 15.53 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.2818, allocations: 22.64 kB / 328.9 MB, free: 15.52 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.282, allocations: 179.3 kB / 329 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.282, allocations: 2.562 kB / 329 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.282, allocations: 5.25 kB / 329 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.2824, allocations: 284.8 kB / 329.3 MB, free: 15.16 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2825, allocations: 0 / 329.3 MB, free: 15.16 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.2825, allocations: 2.625 kB / 329.3 MB, free: 15.16 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.2825, allocations: 4 kB / 329.3 MB, free: 15.16 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002542/0.2828, allocations: 147.4 kB / 329.5 MB, free: 15.1 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.283, allocations: 193 kB / 329.7 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004719/0.2835, allocations: 497.4 kB / 330.1 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.2835, allocations: 0.875 kB / 330.1 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006579/0.2842, allocations: 485.4 kB / 330.6 MB, free: 14.2 MB / 270.1 MB Notification: Performance of pre-optimization done (n=46): time 1.783e-06/0.2842, allocations: 0 / 330.6 MB, free: 14.2 MB / 270.1 MB Notification: Performance of matching and sorting (n=46): time 0.001194/0.2854, allocations: 0.8746 MB / 331.5 MB, free: 13.7 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.2856, allocations: 166.3 kB / 331.7 MB, free: 13.52 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.2857, allocations: 107.7 kB / 331.8 MB, free: 13.41 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.2857, allocations: 27.17 kB / 331.8 MB, free: 13.38 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.2858, allocations: 83.02 kB / 331.9 MB, free: 13.3 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.464e-05/0.2859, allocations: 85.22 kB / 331.9 MB, free: 13.23 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.2859, allocations: 1.188 kB / 331.9 MB, free: 13.23 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.2861, allocations: 331.6 kB / 332.3 MB, free: 12.9 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.2862, allocations: 76.64 kB / 332.3 MB, free: 12.88 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.2863, allocations: 117.3 kB / 332.5 MB, free: 12.81 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.2865, allocations: 203.1 kB / 332.7 MB, free: 12.68 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2866, allocations: 0 / 332.7 MB, free: 12.68 MB / 270.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004331/0.287, allocations: 347 kB / 333 MB, free: 12.48 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.2871, allocations: 107.1 kB / 333.1 MB, free: 12.4 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.2872, allocations: 3.953 kB / 333.1 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.2872, allocations: 1.031 kB / 333.1 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.364e-06/0.2872, allocations: 1.094 kB / 333.1 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.2872, allocations: 1.031 kB / 333.1 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.838e-05/0.2873, allocations: 29.97 kB / 333.1 MB, free: 12.38 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.2873, allocations: 8.219 kB / 333.1 MB, free: 12.38 MB / 270.1 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 () * Number of clocked 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.0003587/0.2877, allocations: 297.2 kB / 333.4 MB, free: 12.11 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/0.2877, allocations: 27.81 kB / 333.5 MB, free: 12.08 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.52e-05/0.2878, allocations: 5.562 kB / 333.5 MB, free: 12.08 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2878, allocations: 3.953 kB / 333.5 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.2878, allocations: 0 / 333.5 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.2878, allocations: 4 kB / 333.5 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.2881, allocations: 229.4 kB / 333.7 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2881, allocations: 0 / 333.7 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-06/0.2881, allocations: 0 / 333.7 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.2881, allocations: 7.938 kB / 333.7 MB, free: 11.79 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.215e-05/0.2881, allocations: 23.91 kB / 333.7 MB, free: 11.77 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2882, allocations: 8 kB / 333.7 MB, free: 11.76 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2882, allocations: 7.891 kB / 333.7 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.2896, allocations: 1.226 MB / 335 MB, free: 10.48 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.2897, allocations: 96.86 kB / 335.1 MB, free: 10.37 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.2899, allocations: 67.94 kB / 335.1 MB, free: 10.3 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.2899, allocations: 11.98 kB / 335.1 MB, free: 10.29 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.29, allocations: 15.98 kB / 335.2 MB, free: 10.28 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.29, allocations: 15.98 kB / 335.2 MB, free: 10.26 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.717e-05/0.2901, allocations: 83.28 kB / 335.3 MB, free: 10.18 MB / 270.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2901, allocations: 0 / 335.3 MB, free: 10.18 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005191/0.2906, allocations: 87.98 kB / 335.3 MB, free: 10.09 MB / 270.1 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) * Number of clocked states: 0 () * 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.000688/0.2913, allocations: 301.2 kB / 335.6 MB, free: 9.793 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001846/0.2932, allocations: 2.127 MB / 337.8 MB, free: 7.641 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2932, allocations: 0 / 337.8 MB, free: 7.641 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00169/0.2949, allocations: 2.182 MB / 339.9 MB, free: 5.434 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.2951, allocations: 12.62 kB / 340 MB, free: 5.422 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007279/0.2958, allocations: 419.5 kB / 340.4 MB, free: 4.98 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.2963, allocations: 0.7286 MB / 341.1 MB, free: 4.219 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 1.212e-05/0.2963, allocations: 4 kB / 341.1 MB, free: 4.215 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.355e-05/0.2963, allocations: 7.438 kB / 341.1 MB, free: 4.207 MB / 270.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2963, allocations: 0 / 341.1 MB, free: 4.207 MB / 270.1 MB Notification: Performance of Templates: time 0.006869/0.3032, allocations: 2.749 MB / 343.9 MB, free: 1.453 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) Environment - environmentSimulation: