Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.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.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") [: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.00103/0.00103, allocations: 189.8 kB / 8.136 MB, free: 2.215 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.209/1.209, allocations: 194.2 MB / 202.8 MB, free: 8.762 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.001778/0.001778, allocations: 120.8 kB / 247.7 MB, free: 6.234 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.862e-06/6.883e-06, allocations: 0 / 297.6 MB, free: 8 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08555/0.08557, allocations: 44.49 MB / 342.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.283/0.3686, allocations: 73.36 MB / 415.4 MB, free: 21.76 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.3689, allocations: 77.02 kB / 415.5 MB, free: 21.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02419/0.3931, allocations: 5.931 MB / 421.4 MB, free: 16.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.3932, allocations: 4 kB / 421.4 MB, free: 16.75 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009461/0.3941, allocations: 497.2 kB / 421.9 MB, free: 16.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.3942, allocations: 8.031 kB / 421.9 MB, free: 16.22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003175/0.3945, allocations: 35.69 kB / 422 MB, free: 16.19 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.3949, allocations: 252.9 kB / 422.2 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.395, allocations: 0 / 422.2 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.956e-05/0.395, allocations: 7.938 kB / 422.2 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001994/0.3952, allocations: 68.72 kB / 422.3 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.3954, allocations: 96.52 kB / 422.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3954, allocations: 0 / 422.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.3955, allocations: 0 / 422.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.3955, allocations: 4 kB / 422.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007722/0.3963, allocations: 406.6 kB / 422.8 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.3965, allocations: 91.56 kB / 422.9 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.3966, allocations: 60.45 kB / 422.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.3966, allocations: 2.25 kB / 422.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.3968, allocations: 102.7 kB / 423 MB, free: 15.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.954e-06/0.3968, allocations: 0 / 423 MB, free: 15.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004432/0.3973, allocations: 150.1 kB / 423.2 MB, free: 15.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.3973, allocations: 63.34 kB / 423.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.3976, allocations: 196.5 kB / 423.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.3976, allocations: 37.33 kB / 423.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/0.3977, allocations: 91.81 kB / 423.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.746e-05/0.3977, allocations: 46.78 kB / 423.6 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.528e-05/0.3977, allocations: 0 / 423.6 MB, free: 14.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.652e-05/0.3978, allocations: 337.3 kB / 423.9 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.398, allocations: 70.22 kB / 424 MB, free: 14.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.3982, allocations: 95.62 kB / 424.1 MB, free: 14.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.3985, allocations: 88.34 kB / 424.2 MB, free: 14.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3985, allocations: 0 / 424.2 MB, free: 14.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005468/0.3991, allocations: 244 kB / 424.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3991, allocations: 4 kB / 424.4 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.3991, allocations: 4 kB / 424.4 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3991, allocations: 0 / 424.4 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.3994, allocations: 31.97 kB / 424.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.3994, allocations: 3.906 kB / 424.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.3997, allocations: 31.8 kB / 424.5 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.3997, allocations: 12.56 kB / 424.5 MB, free: 13.85 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$PRE.whiteNoise.state[1],whiteNoise.state[1],$PRE.whiteNoise.state[2],whiteNoise.state[2],$PRE.whiteNoise.state[3],whiteNoise.state[3],$PRE.whiteNoise.state[4],whiteNoise.state[4],$PRE.whiteNoise.r,whiteNoise.r,$PRE.whiteNoise.r_raw,whiteNoise.r_raw,whiteNoise.localSeed,whiteNoise.actualGlobalSeed,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 9.526e-05/0.3998, allocations: 116.7 kB / 424.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.3999, allocations: 15.81 kB / 424.6 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.438e-05/0.4, allocations: 21.14 kB / 424.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.4, allocations: 3.906 kB / 424.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4, allocations: 0 / 424.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4, allocations: 4 kB / 424.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.4002, allocations: 218.3 kB / 424.9 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4002, allocations: 3.906 kB / 424.9 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.4004, allocations: 15.98 kB / 424.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4004, allocations: 0 / 424.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.4005, allocations: 4 kB / 424.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4005, allocations: 3.938 kB / 424.9 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4005, allocations: 0 / 424.9 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004268/0.4009, allocations: 243.6 kB / 425.1 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.671e-05/0.401, allocations: 108.5 kB / 425.2 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.801e-05/0.4011, allocations: 7.984 kB / 425.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.4014, allocations: 15.98 kB / 425.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.4014, allocations: 7.984 kB / 425.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.4015, allocations: 7.875 kB / 425.3 MB, free: 13.08 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001438/0.4016, allocations: 159.7 kB / 425.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006662/0.4023, allocations: 107 kB / 425.5 MB, free: 12.85 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2]) * Number of discrete variables: 7 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw) * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001253/0.4036, allocations: 347.6 kB / 425.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003838/0.404, allocations: 186.7 kB / 426.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.404, allocations: 0 / 426.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.4041, allocations: 62.73 kB / 426.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.4043, allocations: 18.09 kB / 426.1 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007535/0.4051, allocations: 246.6 kB / 426.4 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.4054, allocations: 0.7538 MB / 427.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4054, allocations: 0 / 427.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of Templates: time 0.009331/0.4147, allocations: 3.371 MB / 430.5 MB, free: 7.992 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1)