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.001107/0.001107, allocations: 182.7 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.415/1.415, allocations: 194.3 MB / 208.4 MB, free: 6.719 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.001625/0.001625, allocations: 124.6 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.832e-05/2.836e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09033/0.09037, allocations: 44.51 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3348/0.4252, allocations: 71.93 MB / 421.4 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/0.4255, allocations: 65.31 kB / 421.4 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01859/0.4441, allocations: 8.113 MB / 429.5 MB, free: 8.246 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4441, allocations: 0 / 429.5 MB, free: 8.246 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.4442, allocations: 3.75 kB / 429.6 MB, free: 8.246 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008107/0.445, allocations: 0.5968 MB / 430.1 MB, free: 7.742 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.445, allocations: 11.44 kB / 430.2 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006682/0.4457, allocations: 108.6 kB / 430.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.4459, allocations: 255.6 kB / 430.5 MB, free: 7.469 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.4459, allocations: 18.56 kB / 430.5 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.172e-05/0.446, allocations: 18.69 kB / 430.6 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.4463, allocations: 256.7 kB / 430.8 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.4464, allocations: 0 / 430.8 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.4464, allocations: 3.5 kB / 430.8 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.4464, allocations: 7.812 kB / 430.8 MB, free: 7.324 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.4466, allocations: 120 kB / 430.9 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.4477, allocations: 0.8481 MB / 431.8 MB, free: 6.664 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.448, allocations: 306.5 kB / 432.1 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.4482, allocations: 155.2 kB / 432.2 MB, free: 6.426 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.4482, allocations: 3.875 kB / 432.2 MB, free: 6.426 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003347/0.4485, allocations: 314.5 kB / 432.5 MB, free: 6.262 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 1.713e-06/0.4485, allocations: 0 / 432.5 MB, free: 6.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.0005902/0.4491, allocations: 467.8 kB / 433 MB, free: 6.152 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/0.4492, allocations: 228.2 kB / 433.2 MB, free: 5.922 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.4495, allocations: 294.1 kB / 433.5 MB, free: 5.789 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.01e-05/0.4496, allocations: 82.78 kB / 433.6 MB, free: 5.746 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.725e-05/0.4496, allocations: 159.8 kB / 433.7 MB, free: 5.648 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.631e-05/0.4497, allocations: 130.3 kB / 433.9 MB, free: 5.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.4498, allocations: 9.875 kB / 433.9 MB, free: 5.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.074e-05/0.4498, allocations: 362.4 kB / 434.2 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/0.4501, allocations: 225.9 kB / 434.5 MB, free: 5.227 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.4505, allocations: 313.8 kB / 434.8 MB, free: 5.141 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.4508, allocations: 265.8 kB / 435 MB, free: 5.094 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4508, allocations: 4 kB / 435 MB, free: 5.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0008196/0.4516, allocations: 0.6657 MB / 435.7 MB, free: 4.941 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4517, allocations: 7.812 kB / 435.7 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.4517, allocations: 3.75 kB / 435.7 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.4517, allocations: 3.844 kB / 435.7 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.452, allocations: 87.92 kB / 435.8 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.452, allocations: 7.828 kB / 435.8 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.4522, allocations: 66.03 kB / 435.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.352e-05/0.4523, allocations: 29.88 kB / 435.9 MB, free: 4.879 MB / 298.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 () * 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.0001271/0.4524, allocations: 190 kB / 436.1 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.4525, allocations: 34.84 kB / 436.1 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/0.4525, allocations: 32.8 kB / 436.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4525, allocations: 3.906 kB / 436.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.4525, allocations: 3.75 kB / 436.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4525, allocations: 7.938 kB / 436.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.4528, allocations: 344.5 kB / 436.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.4528, allocations: 11.84 kB / 436.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.4529, allocations: 34.69 kB / 436.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4529, allocations: 3.875 kB / 436.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.453, allocations: 6.656 kB / 436.6 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.453, allocations: 7.828 kB / 436.6 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.453, allocations: 0 / 436.6 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004894/0.4535, allocations: 0.5634 MB / 437.1 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.4535, allocations: 119.5 kB / 437.2 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.011e-05/0.4536, allocations: 30 kB / 437.3 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.4537, allocations: 30.64 kB / 437.3 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/0.4538, allocations: 38.38 kB / 437.3 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.4539, allocations: 15.36 kB / 437.4 MB, free: 3.973 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001645/0.4541, allocations: 228 kB / 437.6 MB, free: 3.871 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4541, allocations: 0 / 437.6 MB, free: 3.871 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004232/0.4545, allocations: 118.5 kB / 437.7 MB, free: 3.852 MB / 298.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]) * 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.0005682/0.4551, allocations: 273.9 kB / 438 MB, free: 3.672 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008715/0.456, allocations: 0.6474 MB / 438.6 MB, free: 3.434 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.456, allocations: 4.375 kB / 438.6 MB, free: 3.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.4562, allocations: 158.7 kB / 438.8 MB, free: 3.418 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.4564, allocations: 17.81 kB / 438.8 MB, free: 3.418 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006453/0.457, allocations: 447.6 kB / 439.2 MB, free: 3.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.4572, allocations: 0.7935 MB / 440 MB, free: 2.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.4573, allocations: 45.84 kB / 440.1 MB, free: 2.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/0.4574, allocations: 37.77 kB / 440.1 MB, free: 2.395 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4574, allocations: 0 / 440.1 MB, free: 2.395 MB / 298.7 MB Notification: Performance of Templates: time 0.007176/0.4646, allocations: 4.391 MB / 444.5 MB, free: 96 kB / 298.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)