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/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 109.7 kB / 17.06 MB, free: 5.996 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.001406/0.001406, allocations: 194.9 kB / 18.01 MB, free: 5.074 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.621/1.621, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.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.001248/0.001248, allocations: 51.94 kB / 327.9 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1334, allocations: 46.62 MB / 374.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.00283/0.1363, allocations: 1.645 MB / 376.1 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.1384, allocations: 1.228 MB / 377.4 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.1385, allocations: 0 / 377.4 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003734/0.1389, allocations: 31.78 kB / 377.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.139, allocations: 39.77 kB / 377.4 MB, free: 1.594 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.0009657/0.14, allocations: 295.1 kB / 377.7 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.1403, allocations: 187.5 kB / 377.9 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1404, allocations: 17.06 kB / 377.9 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.1406, allocations: 83.67 kB / 378 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.1408, allocations: 95.64 kB / 378.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.1408, allocations: 12 kB / 378.1 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004866/0.1413, allocations: 287.5 kB / 378.4 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.934e-05/0.1415, allocations: 51.89 kB / 378.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.172e-05/0.1416, allocations: 71.52 kB / 378.5 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005133/0.1421, allocations: 338.8 kB / 378.8 MB, free: 188 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1421, allocations: 0 / 378.8 MB, free: 188 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1421, allocations: 0 / 378.8 MB, free: 188 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.1421, allocations: 0 / 378.8 MB, free: 188 kB / 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.3033/0.4454, allocations: 0.5622 MB / 379.4 MB, free: 10.06 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/0.4455, allocations: 9.188 kB / 379.4 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003306/0.4458, allocations: 27.92 kB / 379.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006023/0.4464, allocations: 276.4 kB / 379.7 MB, free: 9.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.4465, allocations: 3.969 kB / 379.7 MB, free: 9.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/0.4465, allocations: 11 kB / 379.7 MB, free: 9.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.4469, allocations: 102.2 kB / 379.8 MB, free: 9.809 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.4469, allocations: 5.312 kB / 379.8 MB, free: 9.805 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.4469, allocations: 5.016 kB / 379.8 MB, free: 9.805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.4469, allocations: 2.484 kB / 379.8 MB, free: 9.805 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.4472, allocations: 80.75 kB / 379.9 MB, free: 9.805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000982/0.4482, allocations: 451.5 kB / 380.4 MB, free: 9.535 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.4485, allocations: 123.9 kB / 380.5 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.4487, allocations: 58.34 kB / 380.5 MB, free: 9.504 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.4487, allocations: 1.5 kB / 380.5 MB, free: 9.504 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.449, allocations: 118.2 kB / 380.6 MB, free: 9.457 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 2.324e-06/0.449, allocations: 3.469 kB / 380.7 MB, free: 9.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006096/0.4496, allocations: 236.7 kB / 380.9 MB, free: 9.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.4496, allocations: 60.39 kB / 380.9 MB, free: 9.352 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004281/0.4501, allocations: 247.4 kB / 381.2 MB, free: 9.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.4501, allocations: 39.62 kB / 381.2 MB, free: 9.219 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.4502, allocations: 122.6 kB / 381.3 MB, free: 9.133 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.4503, allocations: 43.5 kB / 381.4 MB, free: 9.113 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-05/0.4504, allocations: 48.11 kB / 381.4 MB, free: 9.098 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.4505, allocations: 333.3 kB / 381.8 MB, free: 8.781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.4507, allocations: 89.73 kB / 381.8 MB, free: 8.777 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.451, allocations: 108.6 kB / 381.9 MB, free: 8.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.4514, allocations: 179.2 kB / 382.1 MB, free: 8.742 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.4514, allocations: 0 / 382.1 MB, free: 8.742 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006072/0.452, allocations: 260.1 kB / 382.4 MB, free: 8.695 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.452, allocations: 10.06 kB / 382.4 MB, free: 8.691 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.4521, allocations: 0 / 382.4 MB, free: 8.691 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.4521, allocations: 2.453 kB / 382.4 MB, free: 8.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.4523, allocations: 30.02 kB / 382.4 MB, free: 8.691 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.4523, allocations: 5.125 kB / 382.4 MB, free: 8.688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.4525, allocations: 28.94 kB / 382.5 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.4525, allocations: 8.844 kB / 382.5 MB, free: 8.684 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.0001204/0.4527, allocations: 148.6 kB / 382.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.4527, allocations: 15.97 kB / 382.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.741e-05/0.4528, allocations: 23.16 kB / 382.6 MB, free: 8.547 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4528, allocations: 1.625 kB / 382.6 MB, free: 8.547 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.4528, allocations: 7.688 kB / 382.7 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.4528, allocations: 0.5625 kB / 382.7 MB, free: 8.543 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.453, allocations: 242 kB / 382.9 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4531, allocations: 1.156 kB / 382.9 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.4532, allocations: 18.56 kB / 382.9 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.4532, allocations: 0 / 382.9 MB, free: 8.352 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.4532, allocations: 7.016 kB / 382.9 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4532, allocations: 1.531 kB / 382.9 MB, free: 8.348 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4532, allocations: 3.938 kB / 382.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.4538, allocations: 280.1 kB / 383.2 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.053e-05/0.4539, allocations: 106.6 kB / 383.3 MB, free: 8.168 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.4539, allocations: 5.688 kB / 383.3 MB, free: 8.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.4541, allocations: 23.77 kB / 383.3 MB, free: 8.164 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.4541, allocations: 12.38 kB / 383.3 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.4542, allocations: 6.266 kB / 383.3 MB, free: 8.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003289/0.4545, allocations: 191 kB / 383.5 MB, free: 8.082 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4545, allocations: 0 / 383.5 MB, free: 8.082 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004477/0.455, allocations: 92.17 kB / 383.6 MB, free: 8.082 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.0007605/0.4557, allocations: 285.5 kB / 383.9 MB, free: 7.934 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004741/0.4562, allocations: 174.9 kB / 384.1 MB, free: 7.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4562, allocations: 0 / 384.1 MB, free: 7.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.4564, allocations: 68.61 kB / 384.1 MB, free: 7.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.4567, allocations: 13.72 kB / 384.2 MB, free: 7.93 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009601/0.4577, allocations: 368 kB / 384.5 MB, free: 7.742 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.458, allocations: 0.7274 MB / 385.2 MB, free: 7.043 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.4582, allocations: 36.38 kB / 385.3 MB, free: 7.043 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.914e-05/0.4582, allocations: 19.3 kB / 385.3 MB, free: 7.035 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4582, allocations: 0 / 385.3 MB, free: 7.035 MB / 318.1 MB Notification: Performance of Templates: time 0.008961/0.4672, allocations: 3.154 MB / 388.4 MB, free: 6.77 MB / 318.1 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)