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.001231/0.001231, allocations: 104.8 kB / 17.05 MB, free: 6.023 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.001389/0.001389, allocations: 196 kB / 18 MB, free: 5.105 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.627/1.627, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001277/0.001277, allocations: 51.94 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1408, allocations: 46.61 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.003316/0.1442, allocations: 1.641 MB / 376.1 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.1465, allocations: 1.232 MB / 377.4 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.1466, allocations: 0 / 377.4 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004179/0.1471, allocations: 35.78 kB / 377.4 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.1472, allocations: 35.77 kB / 377.4 MB, free: 1.613 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.000874/0.1481, allocations: 295.1 kB / 377.7 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.1483, allocations: 183.5 kB / 377.9 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1485, allocations: 25.06 kB / 377.9 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.1486, allocations: 83.67 kB / 378 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.1488, allocations: 95.64 kB / 378.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.1489, allocations: 12 kB / 378.1 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005346/0.1494, allocations: 287.5 kB / 378.4 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.802e-05/0.1495, allocations: 47.89 kB / 378.4 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1496, allocations: 75.52 kB / 378.5 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004701/0.1501, allocations: 343.1 kB / 378.8 MB, free: 200 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1501, allocations: 0 / 378.8 MB, free: 200 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1502, allocations: 0 / 378.8 MB, free: 200 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1502, allocations: 0 / 378.8 MB, free: 200 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.2761/0.4263, allocations: 0.5513 MB / 379.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.4264, allocations: 10.7 kB / 379.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002729/0.4267, allocations: 27.5 kB / 379.4 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005928/0.4273, allocations: 273.2 kB / 379.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.4273, allocations: 5.797 kB / 379.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.259e-05/0.4274, allocations: 12.02 kB / 379.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.4277, allocations: 105.9 kB / 379.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.4277, allocations: 0 / 379.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.4277, allocations: 4.547 kB / 379.8 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.4277, allocations: 1.375 kB / 379.8 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002075/0.428, allocations: 77.69 kB / 379.9 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.4292, allocations: 449.8 kB / 380.3 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.4296, allocations: 135.6 kB / 380.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.4298, allocations: 56.89 kB / 380.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.4298, allocations: 1.5 kB / 380.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003076/0.4301, allocations: 120.2 kB / 380.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 2.204e-06/0.4301, allocations: 4.625 kB / 380.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007337/0.4309, allocations: 228 kB / 380.9 MB, free: 12.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.4309, allocations: 60.66 kB / 380.9 MB, free: 12.33 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006086/0.4316, allocations: 246.4 kB / 381.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.4316, allocations: 39.06 kB / 381.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.055e-05/0.4317, allocations: 118.6 kB / 381.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.378e-05/0.4318, allocations: 43.48 kB / 381.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.4319, allocations: 44.09 kB / 381.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.4321, allocations: 330.4 kB / 381.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/0.4325, allocations: 89.91 kB / 381.8 MB, free: 11.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.4328, allocations: 116.8 kB / 381.9 MB, free: 11.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006651/0.4335, allocations: 182.8 kB / 382.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.4335, allocations: 0 / 382.1 MB, free: 11.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001238/0.4348, allocations: 253.6 kB / 382.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/0.4349, allocations: 5.719 kB / 382.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.4349, allocations: 0 / 382.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.992e-05/0.4349, allocations: 2.312 kB / 382.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.4353, allocations: 34.55 kB / 382.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/0.4354, allocations: 6.281 kB / 382.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.4357, allocations: 40.11 kB / 382.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/0.4358, allocations: 5.328 kB / 382.5 MB, free: 11.59 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.0002694/0.4361, allocations: 140.3 kB / 382.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/0.4361, allocations: 15.88 kB / 382.6 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.4362, allocations: 27.91 kB / 382.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.4363, allocations: 2.469 kB / 382.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/0.4363, allocations: 3.938 kB / 382.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4363, allocations: 0.5625 kB / 382.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000465/0.4368, allocations: 234.4 kB / 382.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4368, allocations: 1.406 kB / 382.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.437, allocations: 14.81 kB / 382.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.437, allocations: 0 / 382.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.4371, allocations: 9.891 kB / 382.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.4371, allocations: 0 / 382.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4371, allocations: 7.938 kB / 382.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008084/0.4379, allocations: 279.8 kB / 383.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.4381, allocations: 108.8 kB / 383.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.264e-05/0.4382, allocations: 5.125 kB / 383.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.4384, allocations: 21.22 kB / 383.3 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.354e-05/0.4386, allocations: 12.27 kB / 383.3 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.4386, allocations: 7.375 kB / 383.3 MB, free: 10.95 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004582/0.439, allocations: 191.7 kB / 383.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4391, allocations: 0 / 383.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006962/0.4398, allocations: 86.48 kB / 383.6 MB, free: 10.84 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.000944/0.4407, allocations: 298.2 kB / 383.9 MB, free: 10.69 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006024/0.4413, allocations: 172.6 kB / 384.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4414, allocations: 1.094 kB / 384.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.4416, allocations: 62.28 kB / 384.1 MB, free: 10.63 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.4419, allocations: 16.45 kB / 384.1 MB, free: 10.62 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009532/0.4429, allocations: 363.9 kB / 384.5 MB, free: 10.4 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.4432, allocations: 0.7263 MB / 385.2 MB, free: 9.699 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001539/0.4434, allocations: 37.55 kB / 385.3 MB, free: 9.699 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.1e-05/0.4434, allocations: 17.81 kB / 385.3 MB, free: 9.691 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.4435, allocations: 0 / 385.3 MB, free: 9.691 MB / 318.1 MB Notification: Performance of Templates: time 0.01328/0.4567, allocations: 3.208 MB / 388.5 MB, free: 9.387 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)