Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00144/0.00144, allocations: 188.5 kB / 8.353 MB, free: 0.707 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.391/1.391, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001688/0.001688, allocations: 115.6 kB / 248.1 MB, free: 6.359 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.014e-05/2.032e-05, allocations: 4 kB / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09032/0.09036, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2944/0.3848, allocations: 71.22 MB / 413.8 MB, free: 24.54 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/0.3851, allocations: 74.88 kB / 413.9 MB, free: 24.5 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.009767/0.3949, allocations: 4.127 MB / 418 MB, free: 21.02 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3949, allocations: 0 / 418 MB, free: 21.02 MB / 315.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.3949, allocations: 4 kB / 418 MB, free: 21.02 MB / 315.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004681/0.3954, allocations: 433.8 kB / 418.4 MB, free: 20.56 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3954, allocations: 8.031 kB / 418.4 MB, free: 20.55 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003222/0.3957, allocations: 46.44 kB / 418.5 MB, free: 20.51 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.3959, allocations: 186.9 kB / 418.7 MB, free: 20.29 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.396, allocations: 3.266 kB / 418.7 MB, free: 20.29 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.396, allocations: 4 kB / 418.7 MB, free: 20.29 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.348e-05/0.3961, allocations: 41.98 kB / 418.7 MB, free: 20.25 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.3962, allocations: 100.9 kB / 418.8 MB, free: 20.16 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.3963, allocations: 0 / 418.8 MB, free: 20.16 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3963, allocations: 4 kB / 418.8 MB, free: 20.16 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3963, allocations: 0 / 418.8 MB, free: 20.16 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.3968, allocations: 361.7 kB / 419.2 MB, free: 19.8 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.397, allocations: 102.5 kB / 419.3 MB, free: 19.7 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.771e-05/0.397, allocations: 43.53 kB / 419.3 MB, free: 19.66 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.3971, allocations: 7.984 kB / 419.3 MB, free: 19.66 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.3973, allocations: 132.6 kB / 419.4 MB, free: 19.53 MB / 315.1 MB Notification: Performance of pre-optimization done (n=16): time 1.452e-06/0.3973, allocations: 0 / 419.4 MB, free: 19.53 MB / 315.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003074/0.3976, allocations: 166.2 kB / 419.6 MB, free: 19.39 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.3977, allocations: 89.33 kB / 419.7 MB, free: 19.29 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.3978, allocations: 152.1 kB / 419.8 MB, free: 19.15 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.3979, allocations: 41.06 kB / 419.9 MB, free: 19.11 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.3979, allocations: 118.5 kB / 420 MB, free: 19 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.398, allocations: 34.59 kB / 420 MB, free: 18.98 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.398, allocations: 0 / 420 MB, free: 18.98 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 5.685e-05/0.3981, allocations: 337.4 kB / 420.4 MB, free: 18.65 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.3982, allocations: 69.03 kB / 420.4 MB, free: 18.6 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.3983, allocations: 109 kB / 420.5 MB, free: 18.52 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.3985, allocations: 103.2 kB / 420.6 MB, free: 18.45 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3985, allocations: 4 kB / 420.6 MB, free: 18.44 MB / 315.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004011/0.399, allocations: 250 kB / 420.9 MB, free: 18.25 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.399, allocations: 4.938 kB / 420.9 MB, free: 18.24 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.399, allocations: 7.984 kB / 420.9 MB, free: 18.23 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.399, allocations: 0 / 420.9 MB, free: 18.23 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.3992, allocations: 33.23 kB / 420.9 MB, free: 18.21 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.3992, allocations: 4 kB / 420.9 MB, free: 18.2 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.216e-05/0.3993, allocations: 23.75 kB / 420.9 MB, free: 18.18 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.3993, allocations: 20.95 kB / 421 MB, free: 18.16 MB / 315.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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 9.265e-05/0.3994, allocations: 127.2 kB / 421.1 MB, free: 18.04 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.3994, allocations: 7.906 kB / 421.1 MB, free: 18.03 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.3995, allocations: 17.2 kB / 421.1 MB, free: 18.02 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3995, allocations: 3.938 kB / 421.1 MB, free: 18.01 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3995, allocations: 0 / 421.1 MB, free: 18.01 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3995, allocations: 4 kB / 421.1 MB, free: 18.01 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.3997, allocations: 183.5 kB / 421.3 MB, free: 17.8 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3997, allocations: 0 / 421.3 MB, free: 17.8 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.517e-05/0.3997, allocations: 11.98 kB / 421.3 MB, free: 17.79 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.3997, allocations: 4 kB / 421.3 MB, free: 17.79 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.3998, allocations: 0 / 421.3 MB, free: 17.79 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3998, allocations: 0 / 421.3 MB, free: 17.79 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.3998, allocations: 6 kB / 421.3 MB, free: 17.79 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.4, allocations: 216.8 kB / 421.5 MB, free: 17.58 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.169e-05/0.4, allocations: 96.8 kB / 421.6 MB, free: 17.47 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.4001, allocations: 11.92 kB / 421.6 MB, free: 17.46 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.87e-05/0.4002, allocations: 4 kB / 421.6 MB, free: 17.46 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.4002, allocations: 23.88 kB / 421.7 MB, free: 17.44 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.4002, allocations: 4 kB / 421.7 MB, free: 17.43 MB / 315.1 MB Notification: Performance of sorting global known variables: time 6.346e-05/0.4003, allocations: 122.9 kB / 421.8 MB, free: 17.33 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4003, allocations: 0.75 kB / 421.8 MB, free: 17.33 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.4006, allocations: 59.17 kB / 421.9 MB, free: 17.27 MB / 315.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: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004537/0.4011, allocations: 222.7 kB / 422.1 MB, free: 17.09 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.4013, allocations: 214.2 kB / 422.3 MB, free: 16.92 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4013, allocations: 0 / 422.3 MB, free: 16.92 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 6.973e-05/0.4014, allocations: 60.86 kB / 422.3 MB, free: 16.88 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.4015, allocations: 4.984 kB / 422.3 MB, free: 16.87 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003106/0.4018, allocations: 176.6 kB / 422.5 MB, free: 16.69 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.402, allocations: 0.7119 MB / 423.2 MB, free: 15.95 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 5.454e-05/0.4021, allocations: 15.69 kB / 423.2 MB, free: 15.94 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.4021, allocations: 23.42 kB / 423.3 MB, free: 15.91 MB / 315.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4021, allocations: 0 / 423.3 MB, free: 15.91 MB / 315.1 MB Notification: Performance of Templates: time 0.004706/0.4068, allocations: 2.147 MB / 425.4 MB, free: 13.8 MB / 315.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1)