Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.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.AutomaticSeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed") translateModel(Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001046/0.001046, allocations: 179.2 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.116/1.116, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.001604/0.001604, allocations: 111.7 kB / 256.9 MB, free: 4.336 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003235, allocations: 12 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08201/0.08235, allocations: 44.49 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2297/0.312, allocations: 72.02 MB / 427.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.3123, allocations: 73.97 kB / 427.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01769/0.33, allocations: 8.145 MB / 435.3 MB, free: 10.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.33, allocations: 0 / 435.3 MB, free: 10.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.3301, allocations: 4 kB / 435.3 MB, free: 10.48 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007805/0.3308, allocations: 0.6393 MB / 435.9 MB, free: 9.824 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.3309, allocations: 8.031 kB / 435.9 MB, free: 9.816 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007062/0.3316, allocations: 127.9 kB / 436.1 MB, free: 9.695 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.3318, allocations: 245.8 kB / 436.3 MB, free: 9.418 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.3318, allocations: 19 kB / 436.3 MB, free: 9.406 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.3319, allocations: 27.77 kB / 436.4 MB, free: 9.383 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004114/0.3323, allocations: 289.4 kB / 436.6 MB, free: 9.121 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.3323, allocations: 8.5 kB / 436.6 MB, free: 9.113 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.3323, allocations: 3.625 kB / 436.6 MB, free: 9.113 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.3324, allocations: 4 kB / 436.7 MB, free: 9.109 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003811/0.3327, allocations: 192.9 kB / 436.8 MB, free: 8.949 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.3338, allocations: 0.8474 MB / 437.7 MB, free: 8.152 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006402/0.3344, allocations: 425.4 kB / 438.1 MB, free: 7.746 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.3345, allocations: 5.875 kB / 438.1 MB, free: 7.742 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004599/0.3349, allocations: 353 kB / 438.5 MB, free: 7.426 MB / 314.7 MB Notification: Performance of pre-optimization done (n=48): time 2.044e-06/0.3349, allocations: 0 / 438.5 MB, free: 7.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.001184/0.3361, allocations: 1.153 MB / 439.6 MB, free: 6.289 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.3362, allocations: 238.3 kB / 439.8 MB, free: 6.023 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.3365, allocations: 294.8 kB / 440.1 MB, free: 5.781 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.485e-05/0.3365, allocations: 85.48 kB / 440.2 MB, free: 5.711 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.821e-05/0.3367, allocations: 160.8 kB / 440.4 MB, free: 5.598 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.188e-05/0.3367, allocations: 125.8 kB / 440.5 MB, free: 5.496 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.3368, allocations: 10.31 kB / 440.5 MB, free: 5.496 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.651e-05/0.3369, allocations: 364 kB / 440.9 MB, free: 5.152 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/0.3373, allocations: 266.2 kB / 441.1 MB, free: 4.973 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004361/0.3377, allocations: 357.9 kB / 441.5 MB, free: 4.695 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/0.3382, allocations: 312.7 kB / 441.8 MB, free: 4.492 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3382, allocations: 0 / 441.8 MB, free: 4.492 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001046/0.3392, allocations: 0.755 MB / 442.5 MB, free: 3.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3393, allocations: 8 kB / 442.5 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/0.3393, allocations: 12.17 kB / 442.5 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.3393, allocations: 4 kB / 442.5 MB, free: 3.906 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.3396, allocations: 81.27 kB / 442.6 MB, free: 3.832 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3396, allocations: 5.406 kB / 442.6 MB, free: 3.828 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.3398, allocations: 73.56 kB / 442.7 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-05/0.3399, allocations: 31.73 kB / 442.7 MB, free: 3.738 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 92 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.manualSeed3.state[1],manualSeed3.state[1],$PRE.manualSeed3.state[2],manualSeed3.state[2],$PRE.manualSeed3.state[3],manualSeed3.state[3],$PRE.manualSeed3.state[4],manualSeed3.state[4],$PRE.manualSeed3.r,manualSeed3.r,$PRE.manualSeed3.r_raw,manualSeed3.r_raw,$PRE.manualSeed2.state[1],manualSeed2.state[1],$PRE.manualSeed2.state[2],manualSeed2.state[2],$PRE.manualSeed2.state[3],manualSeed2.state[3],$PRE.manualSeed2.state[4],manualSeed2.state[4],$PRE.manualSeed2.r,manualSeed2.r,$PRE.manualSeed2.r_raw,manualSeed2.r_raw,$PRE.manualSeed1.state[1],manualSeed1.state[1],$PRE.manualSeed1.state[2],manualSeed1.state[2],$PRE.manualSeed1.state[3],manualSeed1.state[3],$PRE.manualSeed1.state[4],manualSeed1.state[4],$PRE.manualSeed1.r,manualSeed1.r,$PRE.manualSeed1.r_raw,manualSeed1.r_raw,$PRE.automaticSeed3.state[1],automaticSeed3.state[1],$PRE.automaticSeed3.state[2],automaticSeed3.state[2],$PRE.automaticSeed3.state[3],automaticSeed3.state[3],$PRE.automaticSeed3.state[4],automaticSeed3.state[4],$PRE.automaticSeed3.r,automaticSeed3.r,$PRE.automaticSeed3.r_raw,automaticSeed3.r_raw,$PRE.automaticSeed2.state[1],automaticSeed2.state[1],$PRE.automaticSeed2.state[2],automaticSeed2.state[2],$PRE.automaticSeed2.state[3],automaticSeed2.state[3],$PRE.automaticSeed2.state[4],automaticSeed2.state[4],$PRE.automaticSeed2.r,automaticSeed2.r,$PRE.automaticSeed2.r_raw,automaticSeed2.r_raw,$PRE.automaticSeed1.state[1],automaticSeed1.state[1],$PRE.automaticSeed1.state[2],automaticSeed1.state[2],$PRE.automaticSeed1.state[3],automaticSeed1.state[3],$PRE.automaticSeed1.state[4],automaticSeed1.state[4],$PRE.automaticSeed1.r,automaticSeed1.r,$PRE.automaticSeed1.r_raw,automaticSeed1.r_raw,globalSeed.id_impure,automaticSeed1.localSeed,automaticSeed1.actualGlobalSeed,automaticSeed2.localSeed,automaticSeed2.actualGlobalSeed,automaticSeed3.localSeed,automaticSeed3.actualGlobalSeed,manualSeed1.localSeed,manualSeed1.actualGlobalSeed,manualSeed2.localSeed,manualSeed2.actualGlobalSeed,manualSeed3.localSeed,manualSeed3.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 68 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 6 * 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.000208/0.3401, allocations: 219.2 kB / 443 MB, free: 3.535 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.882e-05/0.3401, allocations: 35.53 kB / 443 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.829e-05/0.3402, allocations: 35.56 kB / 443 MB, free: 3.477 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3402, allocations: 8 kB / 443 MB, free: 3.469 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3402, allocations: 0 / 443 MB, free: 3.469 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3402, allocations: 4 kB / 443 MB, free: 3.465 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.3405, allocations: 342.5 kB / 443.4 MB, free: 3.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3405, allocations: 1.562 kB / 443.4 MB, free: 3.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.3406, allocations: 38.72 kB / 443.4 MB, free: 3.094 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.3406, allocations: 4 kB / 443.4 MB, free: 3.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.3406, allocations: 11.98 kB / 443.4 MB, free: 3.078 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3407, allocations: 4 kB / 443.4 MB, free: 3.074 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3407, allocations: 0.5625 kB / 443.4 MB, free: 3.074 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007171/0.3414, allocations: 0.6455 MB / 444.1 MB, free: 2.477 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/0.3414, allocations: 124.4 kB / 444.2 MB, free: 2.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.597e-05/0.3415, allocations: 32.66 kB / 444.2 MB, free: 2.316 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.3417, allocations: 23.98 kB / 444.2 MB, free: 2.293 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/0.3417, allocations: 40.19 kB / 444.3 MB, free: 2.262 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.3418, allocations: 20.45 kB / 444.3 MB, free: 2.246 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001525/0.3419, allocations: 219.8 kB / 444.5 MB, free: 2.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3419, allocations: 0 / 444.5 MB, free: 2.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003969/0.3423, allocations: 120.4 kB / 444.6 MB, free: 1.965 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition6,automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],automaticSeed1.r,automaticSeed1.r_raw,$whenCondition5,automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed2.r,automaticSeed2.r_raw,$whenCondition4,automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed3.r,automaticSeed3.r_raw,$whenCondition3,manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed1.r,manualSeed1.r_raw,$whenCondition2,manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed2.r,manualSeed2.r_raw,$whenCondition1,manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed3.r,manualSeed3.r_raw) * Number of discrete states: 24 (manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0004827/0.3428, allocations: 296.3 kB / 444.9 MB, free: 1.703 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008745/0.3437, allocations: 0.7142 MB / 445.6 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3437, allocations: 0 / 445.6 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.3441, allocations: 208.2 kB / 445.8 MB, free: 0.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.3442, allocations: 21.08 kB / 445.9 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000757/0.345, allocations: 0.633 MB / 446.5 MB, free: 60 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.3454, allocations: 0.8001 MB / 447.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.3455, allocations: 45.38 kB / 447.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.365e-05/0.3456, allocations: 27.44 kB / 447.4 MB, free: 15.16 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.3456, allocations: 0 / 447.4 MB, free: 15.16 MB / 330.7 MB Notification: Performance of Templates: time 0.007979/0.3536, allocations: 4.386 MB / 451.8 MB, free: 10.8 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.pipe 2>&1)