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.000995/0.0009949, allocations: 179.1 kB / 16.38 MB, free: 5.766 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.271/1.271, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001644/0.001644, allocations: 112.7 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003226, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0918/0.09214, allocations: 44.5 MB / 355.1 MB, free: 2.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2727/0.3649, allocations: 71.21 MB / 426.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.3652, allocations: 67.09 kB / 426.3 MB, free: 18.24 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00708/0.3723, allocations: 2.997 MB / 429.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3723, allocations: 0 / 429.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3723, allocations: 7.219 kB / 429.3 MB, free: 15.69 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.0003709/0.3727, allocations: 0.5609 MB / 429.9 MB, free: 15.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3728, allocations: 8.031 kB / 429.9 MB, free: 15.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.3729, allocations: 21.5 kB / 429.9 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.373, allocations: 182.8 kB / 430.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.373, allocations: 0 / 430.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.3731, allocations: 8 kB / 430.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.3733, allocations: 270.3 kB / 430.4 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.3734, allocations: 0.9062 kB / 430.4 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.3734, allocations: 7.938 kB / 430.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3734, allocations: 1.031 kB / 430.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.3735, allocations: 143.8 kB / 430.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.3737, allocations: 221.7 kB / 430.7 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.374, allocations: 498.6 kB / 431.2 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.374, allocations: 0 / 431.2 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003252/0.3743, allocations: 476.3 kB / 431.7 MB, free: 13.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 9.32e-07/0.3744, allocations: 0.5 kB / 431.7 MB, free: 13.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007987/0.3752, allocations: 0.8969 MB / 432.6 MB, free: 12.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.3753, allocations: 159.3 kB / 432.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.119e-05/0.3753, allocations: 100.5 kB / 432.8 MB, free: 12.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.3753, allocations: 25.7 kB / 432.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.3754, allocations: 88.95 kB / 433 MB, free: 12.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.535e-05/0.3754, allocations: 85.25 kB / 433 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.3755, allocations: 3.938 kB / 433 MB, free: 12.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.151e-05/0.3755, allocations: 327.7 kB / 433.4 MB, free: 12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.238e-05/0.3756, allocations: 81.97 kB / 433.4 MB, free: 11.94 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.19e-05/0.3757, allocations: 109.9 kB / 433.6 MB, free: 11.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.3758, allocations: 194 kB / 433.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3758, allocations: 1.938 kB / 433.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000293/0.3761, allocations: 355.6 kB / 434.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.773e-05/0.3762, allocations: 110.3 kB / 434.2 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3762, allocations: 0 / 434.2 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3762, allocations: 0 / 434.2 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.944e-06/0.3763, allocations: 8.5 kB / 434.2 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3763, allocations: 160 / 434.2 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.452e-05/0.3763, allocations: 19.84 kB / 434.2 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.3764, allocations: 10.44 kB / 434.2 MB, free: 11.25 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 () * 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.0002164/0.3766, allocations: 298.1 kB / 434.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.3766, allocations: 31.75 kB / 434.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.719e-05/0.3766, allocations: 9.078 kB / 434.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3767, allocations: 4 kB / 434.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3767, allocations: 0 / 434.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3767, allocations: 0 / 434.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.3768, allocations: 251.7 kB / 434.8 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3768, allocations: 0 / 434.8 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-07/0.3768, allocations: 0 / 434.8 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3768, allocations: 3.953 kB / 434.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.3769, allocations: 27.73 kB / 434.8 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3769, allocations: 1.25 kB / 434.9 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3769, allocations: 0 / 434.9 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009225/0.3778, allocations: 1.238 MB / 436.1 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.88e-05/0.3779, allocations: 96.81 kB / 436.2 MB, free: 9.434 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.378, allocations: 71.91 kB / 436.3 MB, free: 9.363 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.567e-05/0.378, allocations: 12.03 kB / 436.3 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.3781, allocations: 11.19 kB / 436.3 MB, free: 9.344 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.159e-05/0.3781, allocations: 31.22 kB / 436.3 MB, free: 9.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.57e-05/0.3782, allocations: 79.28 kB / 436.4 MB, free: 9.242 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3782, allocations: 3.938 kB / 436.4 MB, free: 9.238 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000348/0.3785, allocations: 107.5 kB / 436.5 MB, free: 9.137 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) * 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.0005822/0.3791, allocations: 306.1 kB / 436.8 MB, free: 8.883 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.3805, allocations: 2.128 MB / 438.9 MB, free: 7.785 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.3805, allocations: 3.562 kB / 438.9 MB, free: 7.785 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.3817, allocations: 2.183 MB / 441.1 MB, free: 5.648 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.3819, allocations: 15.94 kB / 441.1 MB, free: 5.633 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005573/0.3825, allocations: 408.6 kB / 441.5 MB, free: 5.207 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.3827, allocations: 0.7355 MB / 442.3 MB, free: 4.445 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.134e-05/0.3827, allocations: 4 kB / 442.3 MB, free: 4.441 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.459e-05/0.3827, allocations: 7.438 kB / 442.3 MB, free: 4.441 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3827, allocations: 0 / 442.3 MB, free: 4.441 MB / 314.7 MB Notification: Performance of Templates: time 0.006286/0.389, allocations: 3.293 MB / 445.6 MB, free: 1.215 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)