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.001378/0.001378, allocations: 182.5 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.557/1.557, allocations: 194.3 MB / 208.4 MB, free: 6.699 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.001723/0.001723, allocations: 120.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.785e-05/4.799e-05, allocations: 8 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09476/0.09484, allocations: 44.49 MB / 349.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.359/0.4539, allocations: 71.12 MB / 420.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.4541, allocations: 68.97 kB / 420.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007608/0.4617, allocations: 2.985 MB / 423.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4618, allocations: 0 / 423.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.4618, allocations: 2.688 kB / 423.6 MB, free: 10.59 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.0005156/0.4623, allocations: 0.5544 MB / 424.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.4624, allocations: 14.02 kB / 424.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.4625, allocations: 15.5 kB / 424.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.4626, allocations: 181.5 kB / 424.4 MB, free: 9.902 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.4626, allocations: 0 / 424.4 MB, free: 9.902 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.4627, allocations: 7.688 kB / 424.4 MB, free: 9.902 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.463, allocations: 271.5 kB / 424.6 MB, free: 9.852 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.463, allocations: 7.875 kB / 424.6 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.463, allocations: 10.55 kB / 424.7 MB, free: 9.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.463, allocations: 0 / 424.7 MB, free: 9.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.4631, allocations: 140.2 kB / 424.8 MB, free: 9.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.4633, allocations: 220.9 kB / 425 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.4636, allocations: 493.8 kB / 425.5 MB, free: 9.574 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.4639, allocations: 472.2 kB / 426 MB, free: 9.555 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.991e-06/0.4639, allocations: 3.812 kB / 426 MB, free: 9.555 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000346/0.4643, allocations: 474.5 kB / 426.4 MB, free: 9.355 MB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 1.203e-06/0.4643, allocations: 0 / 426.4 MB, free: 9.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=46): time 0.000584/0.4649, allocations: 0.5071 MB / 426.9 MB, free: 9.238 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.4649, allocations: 158.9 kB / 427.1 MB, free: 9.078 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.489e-05/0.465, allocations: 100.2 kB / 427.2 MB, free: 8.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.465, allocations: 29.55 kB / 427.2 MB, free: 8.949 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.677e-05/0.4651, allocations: 87.86 kB / 427.3 MB, free: 8.859 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.652e-05/0.4651, allocations: 80.41 kB / 427.4 MB, free: 8.805 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.4651, allocations: 3.812 kB / 427.4 MB, free: 8.805 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.1e-05/0.4652, allocations: 327.4 kB / 427.7 MB, free: 8.488 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.057e-05/0.4653, allocations: 80.91 kB / 427.8 MB, free: 8.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.13e-05/0.4654, allocations: 107.3 kB / 427.9 MB, free: 8.453 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.4655, allocations: 202.5 kB / 428.1 MB, free: 8.367 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4655, allocations: 3.953 kB / 428.1 MB, free: 8.363 MB / 298.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002583/0.4658, allocations: 349.8 kB / 428.4 MB, free: 8.227 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.761e-05/0.4659, allocations: 108 kB / 428.5 MB, free: 8.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4659, allocations: 3.938 kB / 428.5 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.4659, allocations: 0 / 428.5 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.4659, allocations: 0 / 428.5 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.4659, allocations: 3.984 kB / 428.5 MB, free: 8.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.945e-05/0.466, allocations: 29.38 kB / 428.6 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.466, allocations: 11.81 kB / 428.6 MB, free: 8.121 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.0001753/0.4662, allocations: 272.4 kB / 428.8 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.4662, allocations: 31.05 kB / 428.9 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.47e-05/0.4662, allocations: 5.344 kB / 428.9 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4663, allocations: 3.844 kB / 428.9 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4663, allocations: 0 / 428.9 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4663, allocations: 0 / 428.9 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.4664, allocations: 250.4 kB / 429.1 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4664, allocations: 0 / 429.1 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.895e-06/0.4665, allocations: 7.828 kB / 429.1 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4665, allocations: 0 / 429.1 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.4665, allocations: 22.91 kB / 429.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4665, allocations: 3.969 kB / 429.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4665, allocations: 4 kB / 429.2 MB, free: 7.656 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009569/0.4675, allocations: 1.231 MB / 430.4 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.4675, allocations: 92.67 kB / 430.5 MB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.4676, allocations: 70.53 kB / 430.6 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.247e-05/0.4677, allocations: 15.25 kB / 430.6 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.4678, allocations: 15.45 kB / 430.6 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.4678, allocations: 30.8 kB / 430.6 MB, free: 7.164 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.829e-05/0.4678, allocations: 79.16 kB / 430.7 MB, free: 7.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4678, allocations: 0 / 430.7 MB, free: 7.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003722/0.4682, allocations: 107 kB / 430.8 MB, free: 7.074 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.0005526/0.4688, allocations: 310.9 kB / 431.1 MB, free: 6.887 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.47, allocations: 2.124 MB / 433.2 MB, free: 6.598 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4701, allocations: 4.125 kB / 433.2 MB, free: 6.594 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.4711, allocations: 2.181 MB / 435.4 MB, free: 6.332 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.4712, allocations: 15.42 kB / 435.4 MB, free: 6.328 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/0.4717, allocations: 313.3 kB / 435.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.4718, allocations: 0.7341 MB / 436.5 MB, free: 5.465 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.776e-06/0.4719, allocations: 3.938 kB / 436.5 MB, free: 5.461 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.078e-05/0.4719, allocations: 7.438 kB / 436.5 MB, free: 5.457 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.4719, allocations: 0 / 436.5 MB, free: 5.457 MB / 298.7 MB Notification: Performance of Templates: time 0.005376/0.4773, allocations: 3.297 MB / 439.8 MB, free: 3.762 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)