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.001381/0.00138, allocations: 187.8 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.669/1.669, allocations: 194.3 MB / 203.1 MB, free: 9.32 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.001708/0.001708, allocations: 122.7 kB / 248.1 MB, free: 6.336 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.281e-05/2.283e-05, allocations: 4 kB / 298.1 MB, free: 8.234 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1332, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.458/0.5912, allocations: 71.26 MB / 413.8 MB, free: 24.53 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.5916, allocations: 73.72 kB / 413.9 MB, free: 24.49 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02605/0.6176, allocations: 8.089 MB / 422 MB, free: 17.6 MB / 315.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6177, allocations: 0 / 422 MB, free: 17.6 MB / 315.1 MB Notification: Performance of Transformations before backend: time 2.444e-05/0.6178, allocations: 4 kB / 422 MB, free: 17.59 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001348/0.6191, allocations: 0.5885 MB / 422.6 MB, free: 16.98 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.864e-05/0.6192, allocations: 12.03 kB / 422.6 MB, free: 16.97 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.6204, allocations: 113.2 kB / 422.7 MB, free: 16.86 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.6207, allocations: 249.3 kB / 423 MB, free: 16.59 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/0.6207, allocations: 10.34 kB / 423 MB, free: 16.58 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.992e-05/0.6208, allocations: 15.98 kB / 423 MB, free: 16.57 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002939/0.6211, allocations: 111.7 kB / 423.1 MB, free: 16.48 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004425/0.6216, allocations: 242.9 kB / 423.3 MB, free: 16.27 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.6216, allocations: 3.938 kB / 423.3 MB, free: 16.27 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.6216, allocations: 3.984 kB / 423.3 MB, free: 16.26 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.6217, allocations: 4 kB / 423.3 MB, free: 16.26 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.6232, allocations: 0.7935 MB / 424.1 MB, free: 15.52 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005002/0.6237, allocations: 292.2 kB / 424.4 MB, free: 15.23 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.6239, allocations: 138.2 kB / 424.5 MB, free: 15.12 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.6239, allocations: 7.938 kB / 424.6 MB, free: 15.11 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000474/0.6244, allocations: 310.9 kB / 424.9 MB, free: 14.84 MB / 315.1 MB Notification: Performance of pre-optimization done (n=48): time 2.484e-06/0.6244, allocations: 0 / 424.9 MB, free: 14.84 MB / 315.1 MB Notification: Performance of matching and sorting (n=48): time 0.0008835/0.6253, allocations: 439.9 kB / 425.3 MB, free: 14.49 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/0.6254, allocations: 222.9 kB / 425.5 MB, free: 14.24 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.6258, allocations: 291.1 kB / 425.8 MB, free: 14 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.6259, allocations: 76.66 kB / 425.9 MB, free: 13.93 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.626, allocations: 157.2 kB / 426 MB, free: 13.82 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.6262, allocations: 115.9 kB / 426.1 MB, free: 13.73 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.6262, allocations: 0 / 426.1 MB, free: 13.73 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.6263, allocations: 360.6 kB / 426.5 MB, free: 13.39 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004163/0.6267, allocations: 212.2 kB / 426.7 MB, free: 13.26 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004574/0.6272, allocations: 295.3 kB / 427 MB, free: 13.04 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000951/0.6282, allocations: 296.1 kB / 427.3 MB, free: 12.84 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.6282, allocations: 4 kB / 427.3 MB, free: 12.83 MB / 315.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001666/0.6299, allocations: 0.673 MB / 427.9 MB, free: 12.32 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.6299, allocations: 4 kB / 428 MB, free: 12.31 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.478e-05/0.63, allocations: 7.984 kB / 428 MB, free: 12.3 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/0.63, allocations: 12.03 kB / 428 MB, free: 12.29 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/0.6305, allocations: 71.89 kB / 428 MB, free: 12.23 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.6305, allocations: 7.938 kB / 428 MB, free: 12.22 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.6308, allocations: 55.45 kB / 428.1 MB, free: 12.16 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.619e-05/0.6309, allocations: 38.12 kB / 428.1 MB, free: 12.13 MB / 315.1 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.0002158/0.6311, allocations: 171.9 kB / 428.3 MB, free: 11.96 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.287e-05/0.6312, allocations: 47.52 kB / 428.4 MB, free: 11.91 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.885e-05/0.6313, allocations: 28.39 kB / 428.4 MB, free: 11.9 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.6313, allocations: 4 kB / 428.4 MB, free: 11.89 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.6314, allocations: 0 / 428.4 MB, free: 11.89 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.6314, allocations: 0 / 428.4 MB, free: 11.89 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.6318, allocations: 309.3 kB / 428.7 MB, free: 11.6 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.6318, allocations: 4 kB / 428.7 MB, free: 11.59 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.632, allocations: 34.97 kB / 428.7 MB, free: 11.56 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.632, allocations: 4 kB / 428.7 MB, free: 11.56 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.632, allocations: 11.98 kB / 428.7 MB, free: 11.55 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.632, allocations: 3.938 kB / 428.7 MB, free: 11.54 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.6321, allocations: 4 kB / 428.7 MB, free: 11.54 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007867/0.6329, allocations: 0.5399 MB / 429.3 MB, free: 11.03 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.6329, allocations: 120.5 kB / 429.4 MB, free: 10.9 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.6331, allocations: 33.09 kB / 429.4 MB, free: 10.88 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.6333, allocations: 23.98 kB / 429.5 MB, free: 10.85 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.6335, allocations: 42.88 kB / 429.5 MB, free: 10.82 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.751e-05/0.6335, allocations: 26.05 kB / 429.5 MB, free: 10.8 MB / 315.1 MB Notification: Performance of sorting global known variables: time 0.0002231/0.6338, allocations: 199.3 kB / 429.7 MB, free: 10.64 MB / 315.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6338, allocations: 0 / 429.7 MB, free: 10.64 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0007043/0.6345, allocations: 103.3 kB / 429.8 MB, free: 10.54 MB / 315.1 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.000787/0.6353, allocations: 281.2 kB / 430.1 MB, free: 10.31 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0009388/0.6362, allocations: 0.6225 MB / 430.7 MB, free: 9.785 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.6362, allocations: 0 / 430.7 MB, free: 9.785 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000331/0.6366, allocations: 149.5 kB / 430.9 MB, free: 9.688 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.637, allocations: 30 kB / 430.9 MB, free: 9.664 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009818/0.638, allocations: 438.3 kB / 431.3 MB, free: 9.25 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.6383, allocations: 0.7971 MB / 432.1 MB, free: 8.426 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 0.0001688/0.6385, allocations: 44.03 kB / 432.2 MB, free: 8.387 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.6386, allocations: 31.42 kB / 432.2 MB, free: 8.355 MB / 315.1 MB Notification: Performance of SimCode: time 4.51e-07/0.6387, allocations: 0 / 432.2 MB, free: 8.355 MB / 315.1 MB Notification: Performance of Templates: time 0.01141/0.6501, allocations: 4.155 MB / 436.4 MB, free: 4.238 MB / 315.1 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)