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.001384/0.001384, allocations: 179.6 kB / 16.38 MB, free: 5.762 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.137/1.137, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001529/0.001529, allocations: 110.9 kB / 256.9 MB, free: 4.379 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002955, allocations: 11.98 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0741/0.07441, allocations: 44.5 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2139/0.2883, allocations: 71.97 MB / 427 MB, free: 17.56 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000181/0.2885, allocations: 76.8 kB / 427.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009344/0.2979, allocations: 4.169 MB / 431.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2979, allocations: 1.188 kB / 431.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.2979, allocations: 0 / 431.3 MB, free: 13.98 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003841/0.2983, allocations: 446.6 kB / 431.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.2983, allocations: 12.03 kB / 431.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/0.2986, allocations: 45.81 kB / 431.8 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.87e-05/0.2987, allocations: 198.1 kB / 432 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.2987, allocations: 0 / 432 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.2988, allocations: 10.44 kB / 432 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.2989, allocations: 118.7 kB / 432.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.299, allocations: 0 / 432.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.299, allocations: 3.984 kB / 432.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.299, allocations: 0 / 432.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.2991, allocations: 70.27 kB / 432.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.2996, allocations: 392.6 kB / 432.5 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.2999, allocations: 145.4 kB / 432.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.2999, allocations: 0 / 432.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.3001, allocations: 142.3 kB / 432.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.3001, allocations: 0 / 432.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004534/0.3006, allocations: 406 kB / 433.2 MB, free: 11.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.3006, allocations: 97.31 kB / 433.3 MB, free: 11.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.855e-05/0.3007, allocations: 162.2 kB / 433.5 MB, free: 11.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.3008, allocations: 44.31 kB / 433.5 MB, free: 11.69 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.397e-05/0.3008, allocations: 107.4 kB / 433.6 MB, free: 11.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.3008, allocations: 42.27 kB / 433.7 MB, free: 11.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/0.3009, allocations: 4 kB / 433.7 MB, free: 11.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.611e-05/0.3009, allocations: 331.8 kB / 434 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.3011, allocations: 96.08 kB / 434.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.3012, allocations: 121.2 kB / 434.2 MB, free: 11.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.3014, allocations: 106.3 kB / 434.3 MB, free: 11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3014, allocations: 0 / 434.3 MB, free: 11 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003838/0.3018, allocations: 286.7 kB / 434.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.3018, allocations: 4 kB / 434.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.3018, allocations: 7.812 kB / 434.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3019, allocations: 0 / 434.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.302, allocations: 34.36 kB / 434.6 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.302, allocations: 4 kB / 434.6 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.025e-05/0.3021, allocations: 30.73 kB / 434.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.3021, allocations: 11.69 kB / 434.7 MB, free: 10.7 MB / 314.7 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 () * Number of clocked 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.18e-05/0.3022, allocations: 149.4 kB / 434.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.3022, allocations: 19.81 kB / 434.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.3023, allocations: 11.72 kB / 434.9 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3023, allocations: 4 kB / 434.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3023, allocations: 3.984 kB / 434.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3023, allocations: 4.078 kB / 434.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.3024, allocations: 209.8 kB / 435.1 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3024, allocations: 0 / 435.1 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.3025, allocations: 11.98 kB / 435.1 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3025, allocations: 0 / 435.1 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.3025, allocations: 4 kB / 435.1 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3025, allocations: 4 kB / 435.1 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3025, allocations: 3.984 kB / 435.1 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.3028, allocations: 252.3 kB / 435.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.811e-05/0.3029, allocations: 88.92 kB / 435.4 MB, free: 9.914 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.3029, allocations: 15.48 kB / 435.4 MB, free: 9.902 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.624e-05/0.303, allocations: 5.25 kB / 435.4 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.303, allocations: 15.34 kB / 435.5 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.303, allocations: 4 kB / 435.5 MB, free: 9.883 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.432e-05/0.3031, allocations: 128 kB / 435.6 MB, free: 9.773 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3031, allocations: 0 / 435.6 MB, free: 9.773 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002494/0.3034, allocations: 75.22 kB / 435.7 MB, free: 9.707 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: 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]) * Number of clocked states: 0 () * 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.0003912/0.3038, allocations: 231.3 kB / 435.9 MB, free: 9.512 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003416/0.3041, allocations: 249.5 kB / 436.1 MB, free: 9.305 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3041, allocations: 0 / 436.1 MB, free: 9.305 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.3042, allocations: 71.41 kB / 436.2 MB, free: 9.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001014/0.3044, allocations: 11.92 kB / 436.2 MB, free: 9.242 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.3047, allocations: 268 kB / 436.5 MB, free: 8.973 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.3048, allocations: 0.7121 MB / 437.2 MB, free: 8.234 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.433e-05/0.3049, allocations: 27.33 kB / 437.2 MB, free: 8.207 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.3049, allocations: 23.11 kB / 437.2 MB, free: 8.191 MB / 314.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3049, allocations: 2.062 kB / 437.2 MB, free: 8.191 MB / 314.7 MB Notification: Performance of Templates: time 0.003942/0.3089, allocations: 2.217 MB / 439.5 MB, free: 6.016 MB / 314.7 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)