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.001073/0.001073, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001293/0.001293, allocations: 168.7 kB / 15.95 MB, free: 204 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.806/1.806, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0004934/0.0004935, allocations: 11.98 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2887, allocations: 47.6 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001173/0.2899, allocations: 0.9489 MB / 327.4 MB, free: 0.6133 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008459/0.2908, allocations: 419.9 kB / 327.8 MB, free: 320 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/0.2909, allocations: 0 / 327.8 MB, free: 320 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/0.2909, allocations: 3.938 kB / 327.8 MB, free: 316 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004511/0.2914, allocations: 53.62 kB / 327.9 MB, free: 280 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.2915, allocations: 56.91 kB / 328 MB, free: 240 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 8.723e-05/0.2916, allocations: 36.31 kB / 328 MB, free: 220 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.906e-05/0.2917, allocations: 1.125 kB / 328 MB, free: 220 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.758e-05/0.2918, allocations: 21.52 kB / 328 MB, free: 208 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.178e-05/0.2918, allocations: 23.44 kB / 328 MB, free: 192 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.2919, allocations: 1.094 kB / 328 MB, free: 192 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.2921, allocations: 108.7 kB / 328.1 MB, free: 136 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 5.791e-05/0.2922, allocations: 29.75 kB / 328.2 MB, free: 124 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.2922, allocations: 48.17 kB / 328.2 MB, free: 80 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.2925, allocations: 117 kB / 328.3 MB, free: 16 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.2925, allocations: 4 kB / 328.3 MB, free: 12 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.2925, allocations: 0 / 328.3 MB, free: 12 kB / 254.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2925, allocations: 0 / 328.3 MB, free: 12 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.0006331/0.2931, allocations: 0.5509 MB / 328.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2932, allocations: 10.03 kB / 328.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.2933, allocations: 18.09 kB / 328.9 MB, free: 15.49 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.2935, allocations: 186.9 kB / 329.1 MB, free: 15.27 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.2935, allocations: 6.875 kB / 329.1 MB, free: 15.27 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.2935, allocations: 4.25 kB / 329.1 MB, free: 15.27 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.2939, allocations: 281.4 kB / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2939, allocations: 0 / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.2939, allocations: 2.469 kB / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.2939, allocations: 0 / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.2941, allocations: 150.8 kB / 329.5 MB, free: 15.06 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.2943, allocations: 194.1 kB / 329.7 MB, free: 14.84 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.2948, allocations: 494.1 kB / 330.2 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000428/0.2952, allocations: 471.4 kB / 330.7 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.2953, allocations: 1.438 kB / 330.7 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005527/0.2958, allocations: 488.6 kB / 331.1 MB, free: 13.83 MB / 270.1 MB Notification: Performance of pre-optimization done (n=46): time 1.282e-06/0.2958, allocations: 4 kB / 331.1 MB, free: 13.82 MB / 270.1 MB Notification: Performance of matching and sorting (n=46): time 0.001023/0.2969, allocations: 0.6998 MB / 331.8 MB, free: 13.53 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.297, allocations: 158.6 kB / 332 MB, free: 13.36 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.2971, allocations: 103 kB / 332.1 MB, free: 13.26 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.2971, allocations: 32.17 kB / 332.1 MB, free: 13.22 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.2972, allocations: 82.48 kB / 332.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.39e-05/0.2973, allocations: 81.41 kB / 332.3 MB, free: 13.07 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.2973, allocations: 1.469 kB / 332.3 MB, free: 13.07 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2974, allocations: 336.1 kB / 332.6 MB, free: 12.74 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.103e-05/0.2975, allocations: 80.12 kB / 332.7 MB, free: 12.71 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.2976, allocations: 109.4 kB / 332.8 MB, free: 12.65 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.2979, allocations: 207 kB / 333 MB, free: 12.52 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2979, allocations: 1.062 kB / 333 MB, free: 12.52 MB / 270.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004124/0.2983, allocations: 342.7 kB / 333.3 MB, free: 12.27 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.63e-05/0.2984, allocations: 111.3 kB / 333.5 MB, free: 12.15 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2984, allocations: 0 / 333.5 MB, free: 12.15 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.2984, allocations: 4.094 kB / 333.5 MB, free: 12.15 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.263e-06/0.2984, allocations: 4 kB / 333.5 MB, free: 12.14 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.2985, allocations: 3.938 kB / 333.5 MB, free: 12.14 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.708e-05/0.2985, allocations: 19.75 kB / 333.5 MB, free: 12.12 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.2986, allocations: 11.98 kB / 333.5 MB, free: 12.11 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.0002772/0.2988, allocations: 299.7 kB / 333.8 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.2989, allocations: 24.14 kB / 333.8 MB, free: 11.77 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.527e-05/0.2989, allocations: 13.52 kB / 333.8 MB, free: 11.76 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2989, allocations: 7.984 kB / 333.8 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2989, allocations: 0 / 333.8 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2989, allocations: 3.984 kB / 333.8 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.2991, allocations: 229.4 kB / 334.1 MB, free: 11.48 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2991, allocations: 3.938 kB / 334.1 MB, free: 11.47 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-07/0.2992, allocations: 4 kB / 334.1 MB, free: 11.47 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2992, allocations: 0 / 334.1 MB, free: 11.47 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.2992, allocations: 23.97 kB / 334.1 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-05/0.2992, allocations: 3.953 kB / 334.1 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2992, allocations: 0 / 334.1 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.3004, allocations: 1.224 MB / 335.3 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-05/0.3005, allocations: 96.84 kB / 335.4 MB, free: 10.07 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.737e-05/0.3006, allocations: 67.98 kB / 335.5 MB, free: 10 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.033e-05/0.3007, allocations: 12 kB / 335.5 MB, free: 9.992 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.3007, allocations: 11.94 kB / 335.5 MB, free: 9.98 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.3008, allocations: 19.98 kB / 335.5 MB, free: 9.961 MB / 270.1 MB Notification: Performance of sorting global known variables: time 3.947e-05/0.3008, allocations: 83.28 kB / 335.6 MB, free: 9.879 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3008, allocations: 0 / 335.6 MB, free: 9.879 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003803/0.3012, allocations: 91.98 kB / 335.7 MB, free: 9.789 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.0005496/0.3017, allocations: 305.3 kB / 336 MB, free: 9.484 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001759/0.3035, allocations: 2.123 MB / 338.1 MB, free: 7.336 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3035, allocations: 0 / 338.1 MB, free: 7.336 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.3053, allocations: 2.182 MB / 340.3 MB, free: 5.129 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.3055, allocations: 20.62 kB / 340.3 MB, free: 5.109 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007896/0.3063, allocations: 411.5 kB / 340.7 MB, free: 4.676 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.3066, allocations: 0.7247 MB / 341.4 MB, free: 3.918 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 1.116e-05/0.3066, allocations: 3.984 kB / 341.4 MB, free: 3.914 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.262e-05/0.3067, allocations: 7.438 kB / 341.5 MB, free: 3.906 MB / 270.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3067, allocations: 3.938 kB / 341.5 MB, free: 3.902 MB / 270.1 MB Notification: Performance of Templates: time 0.00605/0.3127, allocations: 2.749 MB / 344.2 MB, free: 1.148 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (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)