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.007758/0.007758, allocations: 102.6 kB / 15.73 MB, free: 6.492 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.001523/0.001523, allocations: 195 kB / 16.68 MB, free: 6.375 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.72/1.72, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.001236/0.001236, allocations: 47 kB / 326.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1084, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.004324/0.1127, allocations: 1.646 MB / 374.8 MB, free: 15.65 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002962/0.1157, allocations: 1.22 MB / 376 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002509/0.1161, allocations: 4 kB / 376 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005072/0.1166, allocations: 31.78 kB / 376.1 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.1169, allocations: 39.75 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.001407/0.1183, allocations: 295.1 kB / 376.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004648/0.1188, allocations: 179.5 kB / 376.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.1189, allocations: 17.12 kB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.1192, allocations: 83.67 kB / 376.7 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.1195, allocations: 99.69 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.836e-05/0.1196, allocations: 15.98 kB / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006737/0.1202, allocations: 279.6 kB / 377.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.1204, allocations: 55.8 kB / 377.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.1205, allocations: 67.59 kB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006544/0.1212, allocations: 339.1 kB / 377.5 MB, free: 12.94 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1212, allocations: 4 kB / 377.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1212, allocations: 0 / 377.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.1212, 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.001217/0.1224, allocations: 0.5571 MB / 378.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1225, allocations: 8.031 kB / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/0.1227, allocations: 32.72 kB / 378.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.1232, allocations: 268.8 kB / 378.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.1232, allocations: 8.375 kB / 378.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.1233, allocations: 4.375 kB / 378.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.1235, allocations: 109.9 kB / 378.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.1235, allocations: 4 kB / 378.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.1235, allocations: 4 kB / 378.5 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1236, allocations: 3.938 kB / 378.5 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.1237, allocations: 83.88 kB / 378.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008593/0.1246, allocations: 456.4 kB / 379 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.1249, allocations: 122.5 kB / 379.2 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.125, allocations: 60.86 kB / 379.2 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.125, allocations: 0 / 379.2 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000255/0.1253, allocations: 123.3 kB / 379.3 MB, free: 10.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 2.305e-06/0.1253, allocations: 4 kB / 379.3 MB, free: 10.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005795/0.1259, allocations: 229.5 kB / 379.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.126, allocations: 63.39 kB / 379.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004621/0.1265, allocations: 251.7 kB / 379.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/0.1265, allocations: 33.7 kB / 379.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.1266, allocations: 112.1 kB / 380 MB, free: 10.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.184e-05/0.1267, allocations: 47.58 kB / 380.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.1269, allocations: 49.69 kB / 380.1 MB, free: 10.13 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.1271, allocations: 334.8 kB / 380.4 MB, free: 9.793 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.1273, allocations: 87.8 kB / 380.5 MB, free: 9.707 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.1275, allocations: 109.6 kB / 380.6 MB, free: 9.594 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.1279, allocations: 181.6 kB / 380.8 MB, free: 9.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.1279, allocations: 0 / 380.8 MB, free: 9.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005156/0.1284, allocations: 257.2 kB / 381.1 MB, free: 9.152 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.1284, allocations: 5.094 kB / 381.1 MB, free: 9.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.1285, allocations: 0 / 381.1 MB, free: 9.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/0.1285, allocations: 4 kB / 381.1 MB, free: 9.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.1287, allocations: 35.84 kB / 381.1 MB, free: 9.109 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.1287, allocations: 4 kB / 381.1 MB, free: 9.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.129, allocations: 35.78 kB / 381.1 MB, free: 9.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.129, allocations: 8 kB / 381.1 MB, free: 9.062 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.0002008/0.1292, allocations: 145.7 kB / 381.3 MB, free: 8.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.1292, allocations: 15.81 kB / 381.3 MB, free: 8.895 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.574e-05/0.1293, allocations: 21.53 kB / 381.3 MB, free: 8.871 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1293, allocations: 3.938 kB / 381.3 MB, free: 8.867 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.1294, allocations: 3.984 kB / 381.3 MB, free: 8.863 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1294, allocations: 0 / 381.3 MB, free: 8.863 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.1297, allocations: 233.6 kB / 381.6 MB, free: 8.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1297, allocations: 4 kB / 381.6 MB, free: 8.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.1298, allocations: 20.08 kB / 381.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.1299, allocations: 7.922 kB / 381.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.1299, allocations: 7.984 kB / 381.6 MB, free: 8.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1299, allocations: 3.938 kB / 381.6 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1299, allocations: 0 / 381.6 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/0.1305, allocations: 284.6 kB / 381.9 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.1306, allocations: 104.9 kB / 382 MB, free: 8.125 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.1307, allocations: 12 kB / 382 MB, free: 8.113 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.1309, allocations: 19.91 kB / 382 MB, free: 8.094 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.878e-05/0.1309, allocations: 11.98 kB / 382 MB, free: 8.082 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.131, allocations: 0 / 382 MB, free: 8.082 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003624/0.1313, allocations: 193.4 kB / 382.2 MB, free: 7.895 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1313, allocations: 4.062 kB / 382.2 MB, free: 7.891 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000538/0.1319, allocations: 87.98 kB / 382.3 MB, free: 7.805 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.00107/0.133, allocations: 282.8 kB / 382.6 MB, free: 7.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004478/0.1334, allocations: 167.8 kB / 382.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1334, allocations: 0 / 382.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.1336, allocations: 63.97 kB / 382.8 MB, free: 7.293 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.1339, allocations: 15.98 kB / 382.8 MB, free: 7.277 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000885/0.1348, allocations: 366.3 kB / 383.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.1352, allocations: 0.724 MB / 383.9 MB, free: 6.145 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.1354, allocations: 33.39 kB / 383.9 MB, free: 6.113 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.416e-05/0.1354, allocations: 27.61 kB / 384 MB, free: 6.086 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1354, allocations: 4 kB / 384 MB, free: 6.082 MB / 318.1 MB Notification: Performance of Templates: time 0.008356/0.1438, allocations: 3.144 MB / 387.1 MB, free: 2.934 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)