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.008815/0.008815, allocations: 100.3 kB / 15.73 MB, free: 5.586 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.001467/0.001467, allocations: 188 kB / 16.67 MB, free: 5.523 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.942/1.942, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001815/0.001816, allocations: 47.92 kB / 326.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1356, allocations: 46.62 MB / 373.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.002879/0.1385, allocations: 1.649 MB / 374.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.1407, allocations: 1.232 MB / 376 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.52e-05/0.1408, allocations: 0 / 376 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003534/0.1412, allocations: 31.78 kB / 376.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.1413, allocations: 39.77 kB / 376.1 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.0007384/0.1421, allocations: 291.1 kB / 376.4 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.1423, allocations: 187.5 kB / 376.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1424, allocations: 21.06 kB / 376.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.1425, allocations: 83.67 kB / 376.7 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.1427, allocations: 91.64 kB / 376.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.583e-05/0.1428, allocations: 12 kB / 376.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003893/0.1432, allocations: 287.5 kB / 377.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.386e-05/0.1433, allocations: 47.89 kB / 377.1 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.326e-05/0.1434, allocations: 83.52 kB / 377.2 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004242/0.1438, allocations: 335.1 kB / 377.5 MB, free: 188 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1438, allocations: 0 / 377.5 MB, free: 188 kB / 318.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1438, allocations: 0 / 377.5 MB, free: 188 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.1438, allocations: 0 / 377.5 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.2769/0.4207, allocations: 0.5555 MB / 378.1 MB, free: 12.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.4208, allocations: 10.16 kB / 378.1 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002903/0.4211, allocations: 27.39 kB / 378.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/0.4216, allocations: 271.1 kB / 378.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.4217, allocations: 8.547 kB / 378.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.4217, allocations: 8.922 kB / 378.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.4219, allocations: 106.4 kB / 378.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.422, allocations: 0 / 378.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.422, allocations: 4.922 kB / 378.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.422, allocations: 1.406 kB / 378.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.4222, allocations: 79.47 kB / 378.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007956/0.423, allocations: 451.4 kB / 379 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.4233, allocations: 127.4 kB / 379.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.4234, allocations: 61.75 kB / 379.2 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.4235, allocations: 1.031 kB / 379.2 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/0.4237, allocations: 118.2 kB / 379.3 MB, free: 12.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.964e-06/0.4237, allocations: 0 / 379.3 MB, free: 12.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005108/0.4242, allocations: 229.8 kB / 379.5 MB, free: 12.31 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.4242, allocations: 66.73 kB / 379.6 MB, free: 12.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/0.4246, allocations: 249.4 kB / 379.9 MB, free: 12.14 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.4247, allocations: 34.39 kB / 379.9 MB, free: 12.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.4247, allocations: 116.7 kB / 380 MB, free: 12.03 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.496e-05/0.4248, allocations: 42.05 kB / 380 MB, free: 12 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.897e-05/0.4249, allocations: 47.83 kB / 380.1 MB, free: 11.99 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.755e-05/0.425, allocations: 329.8 kB / 380.4 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.4252, allocations: 90.09 kB / 380.5 MB, free: 11.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.4254, allocations: 113.3 kB / 380.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.4258, allocations: 181 kB / 380.8 MB, free: 11.63 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4258, allocations: 0.5312 kB / 380.8 MB, free: 11.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005871/0.4264, allocations: 257.7 kB / 381 MB, free: 11.54 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.4264, allocations: 5.469 kB / 381 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.4265, allocations: 1.281 kB / 381 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.4265, allocations: 3.25 kB / 381.1 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.4267, allocations: 35.48 kB / 381.1 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.4267, allocations: 7.531 kB / 381.1 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.4269, allocations: 33.31 kB / 381.1 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.4269, allocations: 9.312 kB / 381.1 MB, free: 11.52 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.0001157/0.4271, allocations: 140.9 kB / 381.3 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.4271, allocations: 15.86 kB / 381.3 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.322e-05/0.4272, allocations: 26.88 kB / 381.3 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4272, allocations: 5.531 kB / 381.3 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4272, allocations: 5.062 kB / 381.3 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4272, allocations: 0 / 381.3 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.4274, allocations: 232.4 kB / 381.6 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4274, allocations: 0 / 381.6 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.4276, allocations: 16.23 kB / 381.6 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4276, allocations: 0 / 381.6 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.4276, allocations: 7.766 kB / 381.6 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4276, allocations: 8.062 kB / 381.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4276, allocations: 5.156 kB / 381.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/0.4281, allocations: 275 kB / 381.9 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.41e-05/0.4282, allocations: 106.5 kB / 382 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.4283, allocations: 5.766 kB / 382 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.4284, allocations: 21.12 kB / 382 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.4285, allocations: 14.84 kB / 382 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.4285, allocations: 3.609 kB / 382 MB, free: 10.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003291/0.4289, allocations: 191.5 kB / 382.2 MB, free: 10.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4289, allocations: 3.938 kB / 382.2 MB, free: 10.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004949/0.4294, allocations: 89.31 kB / 382.3 MB, free: 10.77 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.0006459/0.43, allocations: 290.5 kB / 382.6 MB, free: 10.63 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003966/0.4304, allocations: 174.4 kB / 382.7 MB, free: 10.58 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4304, allocations: 1.594 kB / 382.7 MB, free: 10.58 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.4306, allocations: 64.69 kB / 382.8 MB, free: 10.56 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.4308, allocations: 17.34 kB / 382.8 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006626/0.4315, allocations: 359.4 kB / 383.2 MB, free: 10.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.4317, allocations: 0.7272 MB / 383.9 MB, free: 9.637 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.4318, allocations: 31.55 kB / 383.9 MB, free: 9.637 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.4319, allocations: 17.31 kB / 383.9 MB, free: 9.629 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4319, allocations: 1.938 kB / 383.9 MB, free: 9.629 MB / 318.1 MB Notification: Performance of Templates: time 0.008349/0.4402, allocations: 3.16 MB / 387.1 MB, free: 9.34 MB / 318.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)