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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001299/0.001299, allocations: 189.4 kB / 8.137 MB, free: 2.211 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.215/1.215, allocations: 194.2 MB / 202.8 MB, free: 8.746 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.001801/0.001801, allocations: 114.2 kB / 247.7 MB, free: 6.293 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.414e-06/7.424e-06, allocations: 0 / 297.6 MB, free: 7.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09201/0.09204, allocations: 44.5 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2619/0.354, allocations: 71.19 MB / 413.2 MB, free: 23.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.3543, allocations: 67.02 kB / 413.3 MB, free: 23.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01991/0.3742, allocations: 7.756 MB / 421.1 MB, free: 17.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.3743, allocations: 4 kB / 421.1 MB, free: 17.19 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.0009914/0.3753, allocations: 0.5997 MB / 421.7 MB, free: 16.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3753, allocations: 8.031 kB / 421.7 MB, free: 16.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.3764, allocations: 119.4 kB / 421.8 MB, free: 16.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.3767, allocations: 254.5 kB / 422 MB, free: 16.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.3767, allocations: 11.98 kB / 422.1 MB, free: 16.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.342e-05/0.3768, allocations: 12 kB / 422.1 MB, free: 16.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002244/0.3771, allocations: 104.3 kB / 422.2 MB, free: 16.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.3774, allocations: 249.5 kB / 422.4 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.3774, allocations: 0 / 422.4 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.3774, allocations: 5.625 kB / 422.4 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.3775, allocations: 8 kB / 422.4 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009198/0.3784, allocations: 0.7436 MB / 423.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.3788, allocations: 295.7 kB / 423.5 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.3789, allocations: 140.9 kB / 423.6 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.3789, allocations: 7.281 kB / 423.6 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002824/0.3792, allocations: 276.4 kB / 423.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=48): time 2.104e-06/0.3792, allocations: 0 / 423.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.0005285/0.3798, allocations: 349.1 kB / 424.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/0.3799, allocations: 219.6 kB / 424.4 MB, free: 13.96 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.3802, allocations: 286.3 kB / 424.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.3803, allocations: 80.8 kB / 424.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/0.3804, allocations: 123.6 kB / 424.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.3805, allocations: 116 kB / 425 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.3805, allocations: 0 / 425 MB, free: 13.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.274e-05/0.3806, allocations: 359 kB / 425.4 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/0.3809, allocations: 223.1 kB / 425.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/0.3813, allocations: 305.2 kB / 425.9 MB, free: 12.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006678/0.382, allocations: 297.8 kB / 426.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.382, allocations: 0 / 426.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001098/0.3831, allocations: 0.6921 MB / 426.9 MB, free: 12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3831, allocations: 4 kB / 426.9 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.548e-05/0.3831, allocations: 11.17 kB / 426.9 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.3832, allocations: 6.625 kB / 426.9 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/0.3835, allocations: 83.39 kB / 427 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.3835, allocations: 4 kB / 427 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.3837, allocations: 55.42 kB / 427 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.145e-05/0.3838, allocations: 35.23 kB / 427.1 MB, free: 11.82 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 () * 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.0001425/0.384, allocations: 172.7 kB / 427.2 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-05/0.384, allocations: 39.53 kB / 427.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.566e-05/0.3841, allocations: 25.33 kB / 427.3 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3841, allocations: 4 kB / 427.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.3841, allocations: 5.188 kB / 427.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3841, allocations: 4 kB / 427.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.3844, allocations: 300.7 kB / 427.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3844, allocations: 7.984 kB / 427.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.3846, allocations: 35.42 kB / 427.6 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.3846, allocations: 0 / 427.6 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.3846, allocations: 15.98 kB / 427.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3846, allocations: 4 kB / 427.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.3846, allocations: 6.969 kB / 427.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004332/0.3851, allocations: 462.3 kB / 428.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.3851, allocations: 111.8 kB / 428.2 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.113e-05/0.3852, allocations: 38.58 kB / 428.3 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.3854, allocations: 23.98 kB / 428.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.887e-05/0.3855, allocations: 42.72 kB / 428.3 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.3855, allocations: 19.67 kB / 428.4 MB, free: 10.56 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000146/0.3857, allocations: 203.4 kB / 428.6 MB, free: 10.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004313/0.3861, allocations: 107.2 kB / 428.7 MB, free: 10.3 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]) * 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.000479/0.3866, allocations: 269.8 kB / 428.9 MB, free: 10.08 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006996/0.3873, allocations: 0.6284 MB / 429.6 MB, free: 9.543 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.3873, allocations: 4 kB / 429.6 MB, free: 9.539 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.3875, allocations: 155.6 kB / 429.7 MB, free: 9.438 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.3877, allocations: 15.52 kB / 429.7 MB, free: 9.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007241/0.3885, allocations: 445.7 kB / 430.2 MB, free: 9.008 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/0.3888, allocations: 0.8291 MB / 431 MB, free: 8.152 MB / 314.7 MB Notification: Performance of SimCode: time 3e-07/0.3888, allocations: 0 / 431 MB, free: 8.152 MB / 314.7 MB Notification: Performance of Templates: time 0.007737/0.3965, allocations: 4.749 MB / 435.7 MB, free: 3.453 MB / 314.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)