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.001367/0.001367, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001968/0.001968, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.897/1.897, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.0005088/0.0005089, allocations: 10.81 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3465, allocations: 47.59 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.002313/0.3489, allocations: 1.353 MB / 327.8 MB, free: 344 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.3511, allocations: 1.141 MB / 329 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.612e-05/0.3513, allocations: 1.406 kB / 329 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004151/0.3517, allocations: 28 kB / 329 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.3518, allocations: 44.33 kB / 329 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007428/0.3526, allocations: 233.3 kB / 329.3 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.3529, allocations: 158.1 kB / 329.4 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.353, allocations: 12.98 kB / 329.4 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.3532, allocations: 84.42 kB / 329.5 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.3534, allocations: 89.17 kB / 329.6 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/0.3534, allocations: 7.438 kB / 329.6 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005546/0.354, allocations: 297.4 kB / 329.9 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.3541, allocations: 46.97 kB / 329.9 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.3542, allocations: 45.36 kB / 330 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003852/0.3546, allocations: 236.3 kB / 330.2 MB, free: 14.7 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.3546, allocations: 4 kB / 330.2 MB, free: 14.7 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3546, allocations: 1.094 kB / 330.2 MB, free: 14.7 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.3546, allocations: 0 / 330.2 MB, free: 14.7 MB / 270.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.001279/0.3559, allocations: 0.5402 MB / 330.8 MB, free: 14.2 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.356, allocations: 8.875 kB / 330.8 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002368/0.3562, allocations: 27.11 kB / 330.8 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.3567, allocations: 260.5 kB / 331.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.3567, allocations: 7.047 kB / 331.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.3568, allocations: 9.406 kB / 331.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.357, allocations: 113.2 kB / 331.2 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.357, allocations: 0 / 331.2 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.3571, allocations: 5.125 kB / 331.2 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3571, allocations: 0.9688 kB / 331.2 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.3573, allocations: 78.53 kB / 331.3 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000894/0.3582, allocations: 460.1 kB / 331.7 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.3585, allocations: 121.2 kB / 331.8 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.3586, allocations: 66.84 kB / 331.9 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.3587, allocations: 0.9688 kB / 331.9 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.3589, allocations: 120.6 kB / 332 MB, free: 13.21 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.3589, allocations: 1.125 kB / 332 MB, free: 13.21 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005298/0.3595, allocations: 233.3 kB / 332.2 MB, free: 13.09 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.3595, allocations: 60.61 kB / 332.3 MB, free: 13.03 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004277/0.3599, allocations: 244.2 kB / 332.5 MB, free: 12.85 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.36, allocations: 43.7 kB / 332.6 MB, free: 12.81 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.293e-05/0.3601, allocations: 114.6 kB / 332.7 MB, free: 12.7 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.174e-05/0.3602, allocations: 47.19 kB / 332.7 MB, free: 12.66 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.3602, allocations: 7.938 kB / 332.8 MB, free: 12.65 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3603, allocations: 332.5 kB / 333.1 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.3605, allocations: 83.48 kB / 333.2 MB, free: 12.29 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.3607, allocations: 107.5 kB / 333.3 MB, free: 12.23 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.3609, allocations: 105.3 kB / 333.4 MB, free: 12.18 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3609, allocations: 3.938 kB / 333.4 MB, free: 12.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000463/0.3614, allocations: 262.9 kB / 333.6 MB, free: 12.04 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3614, allocations: 5.438 kB / 333.6 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.3614, allocations: 1.156 kB / 333.6 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3614, allocations: 1.062 kB / 333.6 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.3616, allocations: 27.58 kB / 333.7 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3616, allocations: 1.281 kB / 333.7 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.3618, allocations: 36.53 kB / 333.7 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.3618, allocations: 4 kB / 333.7 MB, free: 12 MB / 270.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,$PRE.whiteNoise.state[1],whiteNoise.state[1],$PRE.whiteNoise.state[2],whiteNoise.state[2],$PRE.whiteNoise.state[3],whiteNoise.state[3],$PRE.whiteNoise.state[4],whiteNoise.state[4],$PRE.whiteNoise.r,whiteNoise.r,$PRE.whiteNoise.r_raw,whiteNoise.r_raw,whiteNoise.localSeed,whiteNoise.actualGlobalSeed,globalSeed.seed,globalSeed.id_impure) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.362, allocations: 149.7 kB / 333.8 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.362, allocations: 11.81 kB / 333.9 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.954e-05/0.3621, allocations: 21.52 kB / 333.9 MB, free: 11.81 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3621, allocations: 7.984 kB / 333.9 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.3621, allocations: 4 kB / 333.9 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3621, allocations: 0 / 333.9 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.3624, allocations: 253.4 kB / 334.1 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3624, allocations: 0 / 334.1 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.3625, allocations: 19.98 kB / 334.2 MB, free: 11.48 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3625, allocations: 0 / 334.2 MB, free: 11.48 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.851e-05/0.3626, allocations: 7.938 kB / 334.2 MB, free: 11.48 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3626, allocations: 0 / 334.2 MB, free: 11.48 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3626, allocations: 0 / 334.2 MB, free: 11.48 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004782/0.3631, allocations: 280.8 kB / 334.4 MB, free: 11.18 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.563e-05/0.3632, allocations: 100.9 kB / 334.5 MB, free: 11.07 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.3632, allocations: 11.98 kB / 334.6 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.3634, allocations: 15.98 kB / 334.6 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.3635, allocations: 8.047 kB / 334.6 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.3635, allocations: 11.98 kB / 334.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002897/0.3638, allocations: 197.3 kB / 334.8 MB, free: 10.83 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3638, allocations: 0 / 334.8 MB, free: 10.83 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004142/0.3642, allocations: 91.98 kB / 334.9 MB, free: 10.74 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007584/0.365, allocations: 289.1 kB / 335.2 MB, free: 10.45 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004009/0.3654, allocations: 172.2 kB / 335.3 MB, free: 10.29 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3654, allocations: 0 / 335.3 MB, free: 10.29 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.3656, allocations: 71.91 kB / 335.4 MB, free: 10.21 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.3658, allocations: 19.77 kB / 335.4 MB, free: 10.2 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007937/0.3666, allocations: 404.5 kB / 335.8 MB, free: 9.773 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.367, allocations: 0.7321 MB / 336.5 MB, free: 9.016 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.3671, allocations: 29.41 kB / 336.6 MB, free: 8.984 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.3672, allocations: 19.42 kB / 336.6 MB, free: 8.965 MB / 270.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3672, allocations: 0 / 336.6 MB, free: 8.965 MB / 270.1 MB Notification: Performance of Templates: time 0.007051/0.3743, allocations: 2.952 MB / 339.5 MB, free: 6.012 MB / 270.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)