Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001623, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001973/0.001974, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004814/0.0004816, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.297, allocations: 47.59 MB / 326.4 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.001947/0.299, allocations: 1.35 MB / 327.8 MB, free: 356 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.301, allocations: 1.151 MB / 328.9 MB, free: 15.47 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.463e-05/0.3012, allocations: 9.594 kB / 329 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003519/0.3015, allocations: 18.98 kB / 329 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.3016, allocations: 36.59 kB / 329 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006618/0.3023, allocations: 223.8 kB / 329.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.3025, allocations: 109.8 kB / 329.3 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3026, allocations: 17.67 kB / 329.4 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.3028, allocations: 81.98 kB / 329.4 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.303, allocations: 87.33 kB / 329.5 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.303, allocations: 7 kB / 329.5 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005017/0.3035, allocations: 275.5 kB / 329.8 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.247e-05/0.3036, allocations: 47.16 kB / 329.8 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.815e-05/0.3037, allocations: 49.7 kB / 329.9 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.3041, allocations: 235.8 kB / 330.1 MB, free: 14.75 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.3041, allocations: 0 / 330.1 MB, free: 14.75 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.3041, allocations: 1.344 kB / 330.1 MB, free: 14.75 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3042, allocations: 0 / 330.1 MB, free: 14.75 MB / 270.1 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.001345/0.3055, allocations: 0.5429 MB / 330.7 MB, free: 14.25 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.3056, allocations: 9.594 kB / 330.7 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/0.3058, allocations: 27.27 kB / 330.7 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/0.3064, allocations: 256.4 kB / 331 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.3064, allocations: 11.02 kB / 331 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/0.3065, allocations: 17.2 kB / 331 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.3067, allocations: 104 kB / 331.1 MB, free: 13.9 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.3067, allocations: 1.25 kB / 331.1 MB, free: 13.9 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.3068, allocations: 4 kB / 331.1 MB, free: 13.9 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3068, allocations: 2.281 kB / 331.1 MB, free: 13.9 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.307, allocations: 78.44 kB / 331.2 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009382/0.3079, allocations: 455.7 kB / 331.6 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.3082, allocations: 132.8 kB / 331.7 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.3083, allocations: 6.109 kB / 331.7 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.3085, allocations: 115.4 kB / 331.9 MB, free: 13.3 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.3085, allocations: 0 / 331.9 MB, free: 13.3 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007322/0.3093, allocations: 328.7 kB / 332.2 MB, free: 13.07 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.3093, allocations: 56.47 kB / 332.2 MB, free: 13.01 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004554/0.3098, allocations: 248.9 kB / 332.5 MB, free: 12.83 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.45e-05/0.3099, allocations: 39.02 kB / 332.5 MB, free: 12.79 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.921e-05/0.31, allocations: 111.2 kB / 332.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.717e-05/0.31, allocations: 46.03 kB / 332.7 MB, free: 12.64 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.3101, allocations: 5.812 kB / 332.7 MB, free: 12.64 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.3102, allocations: 340 kB / 333 MB, free: 12.3 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.3104, allocations: 81.73 kB / 333.1 MB, free: 12.27 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.3106, allocations: 107.5 kB / 333.2 MB, free: 12.21 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.3108, allocations: 100.9 kB / 333.3 MB, free: 12.16 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3109, allocations: 4 kB / 333.3 MB, free: 12.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004946/0.3114, allocations: 259.7 kB / 333.5 MB, free: 12.03 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.3114, allocations: 5.844 kB / 333.6 MB, free: 12.03 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3114, allocations: 0 / 333.6 MB, free: 12.03 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.3114, allocations: 6.172 kB / 333.6 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.3116, allocations: 31.42 kB / 333.6 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3117, allocations: 1.344 kB / 333.6 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.3119, allocations: 32.69 kB / 333.6 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.3119, allocations: 5.531 kB / 333.6 MB, free: 12 MB / 270.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0001879/0.3121, allocations: 143.8 kB / 333.8 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.3121, allocations: 19 kB / 333.8 MB, free: 11.85 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.963e-05/0.3122, allocations: 22.73 kB / 333.8 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.3122, allocations: 1.062 kB / 333.8 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3122, allocations: 0 / 333.8 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3122, allocations: 5.062 kB / 333.8 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.3125, allocations: 247.8 kB / 334.1 MB, free: 11.57 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3126, allocations: 1.375 kB / 334.1 MB, free: 11.57 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.3127, allocations: 22.28 kB / 334.1 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.3127, allocations: 3.984 kB / 334.1 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.3127, allocations: 0 / 334.1 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.3128, allocations: 4 kB / 334.1 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3128, allocations: 0 / 334.1 MB, free: 11.55 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005084/0.3133, allocations: 276.8 kB / 334.4 MB, free: 11.26 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.3134, allocations: 112.8 kB / 334.5 MB, free: 11.13 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.3134, allocations: 8 kB / 334.5 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.3136, allocations: 19.97 kB / 334.5 MB, free: 11.1 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.3137, allocations: 7.984 kB / 334.5 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.3137, allocations: 8.062 kB / 334.5 MB, free: 11.09 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003401/0.314, allocations: 189.4 kB / 334.7 MB, free: 10.9 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3141, allocations: 0 / 334.7 MB, free: 10.9 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004935/0.3146, allocations: 95.97 kB / 334.8 MB, free: 10.81 MB / 270.1 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]) * Number of clocked states: 0 () * 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.0007874/0.3154, allocations: 280.6 kB / 335.1 MB, free: 10.53 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004156/0.3158, allocations: 172.2 kB / 335.2 MB, free: 10.36 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.3158, allocations: 0 / 335.2 MB, free: 10.36 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.316, allocations: 75.89 kB / 335.3 MB, free: 10.29 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.3162, allocations: 11.78 kB / 335.3 MB, free: 10.28 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009775/0.3172, allocations: 404.7 kB / 335.7 MB, free: 9.855 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.3176, allocations: 0.74 MB / 336.5 MB, free: 9.09 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.3177, allocations: 37.39 kB / 336.5 MB, free: 9.051 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/0.3178, allocations: 15.44 kB / 336.5 MB, free: 9.035 MB / 270.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3178, allocations: 0 / 336.5 MB, free: 9.035 MB / 270.1 MB Notification: Performance of Templates: time 0.007579/0.3254, allocations: 2.956 MB / 339.5 MB, free: 6.078 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.sim & ./Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1) Environment - environmentSimulation: