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.0009948/0.0009948, allocations: 182 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.474/1.474, allocations: 194.3 MB / 208.4 MB, free: 6.703 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: 116.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.736e-05/3.748e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1107, allocations: 44.5 MB / 349.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3878/0.4987, allocations: 71.89 MB / 421.3 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.499, allocations: 70.97 kB / 421.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01038/0.5093, allocations: 4.149 MB / 425.5 MB, free: 9.988 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5094, allocations: 4 kB / 425.5 MB, free: 9.984 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.5094, allocations: 0 / 425.5 MB, free: 9.984 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004759/0.5099, allocations: 427.7 kB / 426 MB, free: 9.582 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.5099, allocations: 7.875 kB / 426 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002864/0.5102, allocations: 42.44 kB / 426 MB, free: 9.566 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.5104, allocations: 192.7 kB / 426.2 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.5104, allocations: 11.59 kB / 426.2 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.5104, allocations: 7.828 kB / 426.2 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.5106, allocations: 100.3 kB / 426.3 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.5106, allocations: 0 / 426.3 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.5106, allocations: 7.922 kB / 426.3 MB, free: 9.281 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.5106, allocations: 0 / 426.3 MB, free: 9.281 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.08e-05/0.5107, allocations: 37.47 kB / 426.4 MB, free: 9.277 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005288/0.5112, allocations: 394 kB / 426.7 MB, free: 8.938 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.5114, allocations: 100.7 kB / 426.8 MB, free: 8.883 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.557e-05/0.5115, allocations: 55.94 kB / 426.9 MB, free: 8.855 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.5115, allocations: 3.938 kB / 426.9 MB, free: 8.852 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.5117, allocations: 137 kB / 427 MB, free: 8.762 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.5117, allocations: 0 / 427 MB, free: 8.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002585/0.512, allocations: 167.5 kB / 427.2 MB, free: 8.711 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.512, allocations: 96.22 kB / 427.3 MB, free: 8.609 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.5121, allocations: 158 kB / 427.4 MB, free: 8.508 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.5122, allocations: 44.22 kB / 427.5 MB, free: 8.473 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.5122, allocations: 110.2 kB / 427.6 MB, free: 8.379 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.5123, allocations: 41.72 kB / 427.6 MB, free: 8.355 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.5123, allocations: 7.219 kB / 427.6 MB, free: 8.355 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.582e-05/0.5123, allocations: 333.1 kB / 428 MB, free: 8.035 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.5125, allocations: 71.84 kB / 428 MB, free: 8.023 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.5126, allocations: 114.3 kB / 428.2 MB, free: 7.984 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.5127, allocations: 86.58 kB / 428.2 MB, free: 7.973 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5127, allocations: 0 / 428.2 MB, free: 7.973 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003101/0.513, allocations: 258.2 kB / 428.5 MB, free: 7.898 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.513, allocations: 7.656 kB / 428.5 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.5131, allocations: 0 / 428.5 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.5131, allocations: 11.89 kB / 428.5 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.5132, allocations: 27.08 kB / 428.5 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.5132, allocations: 3.844 kB / 428.5 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.276e-05/0.5133, allocations: 25.28 kB / 428.6 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.5134, allocations: 7.688 kB / 428.6 MB, free: 7.871 MB / 298.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 () * 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 7.661e-05/0.5134, allocations: 138.4 kB / 428.7 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.5135, allocations: 15.56 kB / 428.7 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.5135, allocations: 17.2 kB / 428.7 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.5135, allocations: 4 kB / 428.7 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5135, allocations: 0 / 428.7 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.5135, allocations: 0 / 428.7 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.5137, allocations: 220.4 kB / 429 MB, free: 7.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.5137, allocations: 3.938 kB / 429 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/0.5137, allocations: 7.781 kB / 429 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5137, allocations: 3.844 kB / 429 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.5138, allocations: 7.984 kB / 429 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.5138, allocations: 0 / 429 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5138, allocations: 3.844 kB / 429 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.514, allocations: 210 kB / 429.2 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.514, allocations: 92.75 kB / 429.3 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.5141, allocations: 11.19 kB / 429.3 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.871e-05/0.5141, allocations: 15.42 kB / 429.3 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.5142, allocations: 11.67 kB / 429.3 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.5142, allocations: 11.75 kB / 429.3 MB, free: 7.258 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.651e-05/0.5143, allocations: 125.3 kB / 429.5 MB, free: 7.176 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5143, allocations: 0 / 429.5 MB, free: 7.176 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003075/0.5146, allocations: 69.25 kB / 429.5 MB, free: 7.16 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: 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.0004215/0.515, allocations: 238.5 kB / 429.8 MB, free: 6.988 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003162/0.5154, allocations: 221.7 kB / 430 MB, free: 6.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5154, allocations: 4.125 kB / 430 MB, free: 6.906 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.541e-05/0.5154, allocations: 56.11 kB / 430 MB, free: 6.902 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001162/0.5156, allocations: 3.844 kB / 430 MB, free: 6.902 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.5159, allocations: 183.9 kB / 430.2 MB, free: 6.773 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.516, allocations: 0.711 MB / 430.9 MB, free: 6.062 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.508e-05/0.5161, allocations: 20.47 kB / 430.9 MB, free: 6.051 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.5161, allocations: 15.12 kB / 431 MB, free: 6.043 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.5161, allocations: 0 / 431 MB, free: 6.043 MB / 298.7 MB Notification: Performance of Templates: time 0.004329/0.5204, allocations: 2.23 MB / 433.2 MB, free: 4.914 MB / 298.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)