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.009573/0.009573, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001471/0.001471, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.935/1.935, allocations: 205.1 MB / 222.5 MB, free: 4.387 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: 47.38 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1132, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.003169/0.1164, allocations: 1.653 MB / 374.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.1187, allocations: 1.212 MB / 376 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.1188, allocations: 4 kB / 376 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003746/0.1192, allocations: 31.78 kB / 376.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.1193, allocations: 35.77 kB / 376.1 MB, free: 14.34 MB / 318.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.0007481/0.1201, allocations: 299 kB / 376.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.1203, allocations: 183.5 kB / 376.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1204, allocations: 21.11 kB / 376.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.1206, allocations: 83.67 kB / 376.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.1208, allocations: 91.7 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.1208, allocations: 12 kB / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003941/0.1212, allocations: 283.5 kB / 377.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.826e-05/0.1213, allocations: 55.81 kB / 377.1 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.007e-05/0.1214, allocations: 67.59 kB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000459/0.1219, allocations: 339.1 kB / 377.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1219, allocations: 4 kB / 377.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1219, allocations: 0 / 377.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1219, allocations: 0 / 377.5 MB, free: 12.93 MB / 318.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.001283/0.1232, allocations: 0.5532 MB / 378.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1233, allocations: 12.03 kB / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.1235, allocations: 28.73 kB / 378.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004792/0.124, allocations: 272.8 kB / 378.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.124, allocations: 4.375 kB / 378.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.1241, allocations: 16.36 kB / 378.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.1243, allocations: 102 kB / 378.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1243, allocations: 4 kB / 378.5 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.1243, allocations: 0 / 378.5 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.1243, allocations: 8 kB / 378.5 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.1245, allocations: 87.86 kB / 378.6 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008396/0.1254, allocations: 452.4 kB / 379 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.1256, allocations: 118.5 kB / 379.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.1258, allocations: 56.83 kB / 379.2 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.1258, allocations: 4 kB / 379.2 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.126, allocations: 127.4 kB / 379.3 MB, free: 10.94 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.126, allocations: 4 kB / 379.3 MB, free: 10.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004711/0.1265, allocations: 233.5 kB / 379.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.1265, allocations: 59.41 kB / 379.6 MB, free: 10.63 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.1269, allocations: 247.7 kB / 379.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.127, allocations: 41.69 kB / 379.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.562e-05/0.127, allocations: 108.1 kB / 380 MB, free: 10.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.1271, allocations: 51.58 kB / 380.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.1272, allocations: 41.8 kB / 380.1 MB, free: 10.13 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1273, allocations: 342.7 kB / 380.4 MB, free: 9.785 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.1274, allocations: 83.81 kB / 380.5 MB, free: 9.703 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.1276, allocations: 109.6 kB / 380.6 MB, free: 9.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.1279, allocations: 181.6 kB / 380.8 MB, free: 9.406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1279, allocations: 3.938 kB / 380.8 MB, free: 9.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003998/0.1283, allocations: 253.2 kB / 381.1 MB, free: 9.148 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1283, allocations: 8 kB / 381.1 MB, free: 9.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1284, allocations: 0 / 381.1 MB, free: 9.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1284, allocations: 0 / 381.1 MB, free: 9.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.1286, allocations: 39.86 kB / 381.1 MB, free: 9.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1286, allocations: 3.984 kB / 381.1 MB, free: 9.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.1288, allocations: 31.84 kB / 381.1 MB, free: 9.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.1288, allocations: 11.94 kB / 381.1 MB, free: 9.055 MB / 318.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.0001267/0.1289, allocations: 145.7 kB / 381.3 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.129, allocations: 15.81 kB / 381.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.608e-05/0.129, allocations: 25.52 kB / 381.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.129, allocations: 3.938 kB / 381.3 MB, free: 8.855 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.1291, allocations: 0 / 381.3 MB, free: 8.855 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1291, allocations: 0 / 381.3 MB, free: 8.855 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.1293, allocations: 237.6 kB / 381.6 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1293, allocations: 0 / 381.6 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.1294, allocations: 15.98 kB / 381.6 MB, free: 8.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1294, allocations: 4 kB / 381.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.1295, allocations: 4 kB / 381.6 MB, free: 8.551 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1295, allocations: 3.938 kB / 381.6 MB, free: 8.547 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1295, allocations: 3.984 kB / 381.6 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004419/0.1299, allocations: 288.6 kB / 381.9 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.855e-05/0.13, allocations: 100.9 kB / 382 MB, free: 8.125 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.1301, allocations: 7.984 kB / 382 MB, free: 8.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.1302, allocations: 27.92 kB / 382 MB, free: 8.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.1303, allocations: 7.984 kB / 382 MB, free: 8.082 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.1303, allocations: 4 kB / 382 MB, free: 8.078 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002971/0.1306, allocations: 189.4 kB / 382.2 MB, free: 7.895 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1306, allocations: 4.062 kB / 382.2 MB, free: 7.891 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003369/0.131, allocations: 91.98 kB / 382.3 MB, free: 7.801 MB / 318.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.0005767/0.1316, allocations: 278.8 kB / 382.6 MB, free: 7.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003496/0.1319, allocations: 175.8 kB / 382.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1319, allocations: 0 / 382.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.1321, allocations: 63.97 kB / 382.8 MB, free: 7.285 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.1323, allocations: 12 kB / 382.8 MB, free: 7.273 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006335/0.1329, allocations: 362.3 kB / 383.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.1332, allocations: 0.7318 MB / 383.9 MB, free: 6.137 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.273e-05/0.1333, allocations: 37.38 kB / 383.9 MB, free: 6.102 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.1334, allocations: 19.44 kB / 384 MB, free: 6.082 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1334, allocations: 0 / 384 MB, free: 6.082 MB / 318.1 MB Notification: Performance of Templates: time 0.006412/0.1398, allocations: 3.152 MB / 387.1 MB, free: 2.926 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile (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)