Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001551/0.001551, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 198.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.001204/0.001204, allocations: 51.94 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2443, allocations: 46.63 MB / 325.3 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.003021/0.2473, allocations: 1.646 MB / 327 MB, free: 0.5312 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.2496, allocations: 1.221 MB / 328.2 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.889e-05/0.2497, allocations: 1.062 kB / 328.2 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004254/0.2502, allocations: 39.77 kB / 328.2 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.2503, allocations: 39.92 kB / 328.3 MB, free: 15.52 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:321:7-386:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift128plus.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:994:5-1084:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. Notification: Performance of NFTyping.typeClassSections: time 0.000872/0.2512, allocations: 284.6 kB / 328.5 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.2515, allocations: 182.2 kB / 328.7 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.2516, allocations: 13.16 kB / 328.7 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.2518, allocations: 84.95 kB / 328.8 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.252, allocations: 101.3 kB / 328.9 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.2521, allocations: 16.11 kB / 328.9 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004473/0.2525, allocations: 282.6 kB / 329.2 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.929e-05/0.2526, allocations: 55.5 kB / 329.3 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.807e-05/0.2527, allocations: 69.59 kB / 329.3 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.2532, allocations: 336.9 kB / 329.6 MB, free: 14.66 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2532, allocations: 1.094 kB / 329.6 MB, free: 14.66 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2532, allocations: 0 / 329.6 MB, free: 14.66 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.2532, allocations: 0 / 329.6 MB, free: 14.66 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.001264/0.2545, allocations: 0.5625 MB / 330.2 MB, free: 14.15 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.2545, allocations: 9.5 kB / 330.2 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002299/0.2548, allocations: 27.52 kB / 330.2 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004891/0.2553, allocations: 276.1 kB / 330.5 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.2553, allocations: 7.906 kB / 330.5 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.2553, allocations: 6.031 kB / 330.5 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.2556, allocations: 107.5 kB / 330.6 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.2556, allocations: 0 / 330.6 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.2556, allocations: 1.594 kB / 330.6 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.2556, allocations: 3.984 kB / 330.6 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.2558, allocations: 87.17 kB / 330.7 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008359/0.2567, allocations: 453.7 kB / 331.2 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.257, allocations: 124.7 kB / 331.3 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.2571, allocations: 57.86 kB / 331.3 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.2571, allocations: 1.469 kB / 331.3 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.2573, allocations: 114.7 kB / 331.5 MB, free: 13.16 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.2573, allocations: 0 / 331.5 MB, free: 13.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005123/0.2579, allocations: 225.5 kB / 331.7 MB, free: 13.04 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.2579, allocations: 68.38 kB / 331.7 MB, free: 12.97 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004256/0.2584, allocations: 247.3 kB / 332 MB, free: 12.79 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.2584, allocations: 39.66 kB / 332 MB, free: 12.75 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.655e-05/0.2585, allocations: 111 kB / 332.1 MB, free: 12.64 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.659e-05/0.2586, allocations: 50.27 kB / 332.2 MB, free: 12.6 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.561e-05/0.2587, allocations: 44.3 kB / 332.2 MB, free: 12.57 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2588, allocations: 335.9 kB / 332.6 MB, free: 12.24 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.259, allocations: 85.14 kB / 332.6 MB, free: 12.2 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.2591, allocations: 106.6 kB / 332.7 MB, free: 12.14 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.2595, allocations: 189.9 kB / 332.9 MB, free: 12.04 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.2595, allocations: 1.156 kB / 332.9 MB, free: 12.04 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004627/0.26, allocations: 259 kB / 333.2 MB, free: 11.79 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.26, allocations: 8.125 kB / 333.2 MB, free: 11.79 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.26, allocations: 3.938 kB / 333.2 MB, free: 11.78 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.26, allocations: 4 kB / 333.2 MB, free: 11.78 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.2602, allocations: 35.8 kB / 333.2 MB, free: 11.74 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.2602, allocations: 4 kB / 333.2 MB, free: 11.74 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.2604, allocations: 27.88 kB / 333.3 MB, free: 11.71 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.2604, allocations: 4 kB / 333.3 MB, free: 11.71 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,globalSeed.id_impure,globalSeed.seed,whiteNoise.actualGlobalSeed,whiteNoise.localSeed,whiteNoise.r_raw,$PRE.whiteNoise.r_raw,whiteNoise.r,$PRE.whiteNoise.r,whiteNoise.state[4],$PRE.whiteNoise.state[4],whiteNoise.state[3],$PRE.whiteNoise.state[3],whiteNoise.state[2],$PRE.whiteNoise.state[2],whiteNoise.state[1],$PRE.whiteNoise.state[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.2605, allocations: 141.6 kB / 333.4 MB, free: 11.56 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.2606, allocations: 19.75 kB / 333.4 MB, free: 11.54 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.065e-05/0.2606, allocations: 21.52 kB / 333.4 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2606, allocations: 7.938 kB / 333.5 MB, free: 11.51 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2606, allocations: 0 / 333.5 MB, free: 11.51 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2607, allocations: 0 / 333.5 MB, free: 11.51 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.2609, allocations: 249.4 kB / 333.7 MB, free: 11.22 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.2609, allocations: 0 / 333.7 MB, free: 11.22 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.261, allocations: 15.98 kB / 333.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.261, allocations: 0 / 333.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.2611, allocations: 4 kB / 333.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.2611, allocations: 3.938 kB / 333.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2611, allocations: 8 kB / 333.7 MB, free: 11.19 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004301/0.2615, allocations: 268.8 kB / 334 MB, free: 10.91 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.14e-05/0.2616, allocations: 104.9 kB / 334.1 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.2616, allocations: 11.98 kB / 334.1 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.2619, allocations: 19.98 kB / 334.1 MB, free: 10.75 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.2619, allocations: 7.984 kB / 334.1 MB, free: 10.75 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.262, allocations: 8 kB / 334.1 MB, free: 10.74 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002999/0.2623, allocations: 189.4 kB / 334.3 MB, free: 10.55 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2623, allocations: 0 / 334.3 MB, free: 10.55 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003426/0.2626, allocations: 91.98 kB / 334.4 MB, free: 10.46 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000652/0.2633, allocations: 289.4 kB / 334.7 MB, free: 10.18 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003542/0.2636, allocations: 183.8 kB / 334.9 MB, free: 10 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2637, allocations: 3.938 kB / 334.9 MB, free: 9.996 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.2638, allocations: 59.97 kB / 334.9 MB, free: 9.938 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.264, allocations: 23.77 kB / 335 MB, free: 9.914 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006212/0.2646, allocations: 359.7 kB / 335.3 MB, free: 9.539 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.265, allocations: 0.728 MB / 336 MB, free: 8.785 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.88e-05/0.2651, allocations: 33.39 kB / 336.1 MB, free: 8.75 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.2651, allocations: 15.44 kB / 336.1 MB, free: 8.734 MB / 270.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2652, allocations: 4 kB / 336.1 MB, free: 8.73 MB / 270.1 MB Notification: Performance of Templates: time 0.006387/0.2715, allocations: 3.128 MB / 339.2 MB, free: 5.602 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1)