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.001201/0.001201, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001805/0.001805, allocations: 194.5 kB / 16.14 MB, free: 6.66 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.683/1.683, allocations: 205.1 MB / 222 MB, free: 4.734 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.001286/0.001286, allocations: 47.94 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3454, allocations: 46.62 MB / 324.7 MB, free: 1.949 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.00392/0.3494, allocations: 1.721 MB / 326.4 MB, free: 0.5977 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.3517, allocations: 1.26 MB / 327.6 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.393e-05/0.3518, allocations: 1.375 kB / 327.6 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.3522, allocations: 24.28 kB / 327.7 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.3523, allocations: 40.14 kB / 327.7 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006603/0.353, allocations: 247.5 kB / 328 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.3533, allocations: 167.4 kB / 328.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3534, allocations: 21.88 kB / 328.1 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.3535, allocations: 79.12 kB / 328.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.3537, allocations: 92.38 kB / 328.3 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.3538, allocations: 11.03 kB / 328.3 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005285/0.3543, allocations: 299.6 kB / 328.6 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.3544, allocations: 46.94 kB / 328.7 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.656e-05/0.3545, allocations: 66.12 kB / 328.7 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004941/0.355, allocations: 329.5 kB / 329 MB, free: 14.77 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.355, allocations: 4 kB / 329 MB, free: 14.77 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3551, allocations: 0 / 329 MB, free: 14.77 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.3551, allocations: 1.312 kB / 329 MB, free: 14.77 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.001318/0.3564, allocations: 0.5686 MB / 329.6 MB, free: 14.25 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3564, allocations: 10.12 kB / 329.6 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.3567, allocations: 27.33 kB / 329.7 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004665/0.3572, allocations: 264.4 kB / 329.9 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.3572, allocations: 4.062 kB / 329.9 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.3572, allocations: 9.75 kB / 329.9 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.3575, allocations: 107.8 kB / 330 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3575, allocations: 7.938 kB / 330 MB, free: 13.9 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.3575, allocations: 5.312 kB / 330 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3575, allocations: 1.406 kB / 330 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.3577, allocations: 74 kB / 330.1 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009088/0.3587, allocations: 461.1 kB / 330.6 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.359, allocations: 116.9 kB / 330.7 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.3591, allocations: 61.52 kB / 330.7 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.3591, allocations: 1.062 kB / 330.7 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.3593, allocations: 123.9 kB / 330.9 MB, free: 13.26 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.3594, allocations: 0 / 330.9 MB, free: 13.26 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005596/0.3599, allocations: 232.7 kB / 331.1 MB, free: 13.14 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.36, allocations: 60.39 kB / 331.1 MB, free: 13.07 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004435/0.3604, allocations: 248.6 kB / 331.4 MB, free: 12.89 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.3605, allocations: 39.08 kB / 331.4 MB, free: 12.85 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.988e-05/0.3606, allocations: 119.7 kB / 331.5 MB, free: 12.74 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.324e-05/0.3607, allocations: 50.48 kB / 331.6 MB, free: 12.7 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.933e-05/0.3608, allocations: 47.12 kB / 331.6 MB, free: 12.66 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3609, allocations: 332.3 kB / 332 MB, free: 12.33 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.3611, allocations: 81.08 kB / 332 MB, free: 12.3 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.3613, allocations: 106.4 kB / 332.1 MB, free: 12.24 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/0.3617, allocations: 190 kB / 332.3 MB, free: 12.14 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.3617, allocations: 1.062 kB / 332.3 MB, free: 12.14 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004663/0.3621, allocations: 254.1 kB / 332.6 MB, free: 12 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3622, allocations: 7.938 kB / 332.6 MB, free: 11.99 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3622, allocations: 4 kB / 332.6 MB, free: 11.98 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3622, allocations: 0 / 332.6 MB, free: 11.98 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.3624, allocations: 43.84 kB / 332.6 MB, free: 11.94 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3624, allocations: 0 / 332.6 MB, free: 11.94 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.3626, allocations: 23.92 kB / 332.7 MB, free: 11.92 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.3627, allocations: 11.98 kB / 332.7 MB, free: 11.91 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,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.0001401/0.3628, allocations: 145.5 kB / 332.8 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.3628, allocations: 15.81 kB / 332.8 MB, free: 11.74 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.602e-05/0.3629, allocations: 21.53 kB / 332.9 MB, free: 11.72 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3629, allocations: 3.938 kB / 332.9 MB, free: 11.71 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3629, allocations: 0 / 332.9 MB, free: 11.71 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3629, allocations: 3.984 kB / 332.9 MB, free: 11.71 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.3632, allocations: 245.4 kB / 333.1 MB, free: 11.42 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3632, allocations: 0 / 333.1 MB, free: 11.42 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.3633, allocations: 15.98 kB / 333.1 MB, free: 11.41 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3633, allocations: 0 / 333.1 MB, free: 11.41 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.3634, allocations: 11.98 kB / 333.1 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3634, allocations: 3.938 kB / 333.1 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3634, allocations: 0 / 333.1 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004637/0.3638, allocations: 276.8 kB / 333.4 MB, free: 11.1 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.414e-05/0.3639, allocations: 104.9 kB / 333.5 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.364, allocations: 4 kB / 333.5 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.3642, allocations: 31.91 kB / 333.5 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.3642, allocations: 7.984 kB / 333.5 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.3643, allocations: 0 / 333.5 MB, free: 10.94 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000311/0.3646, allocations: 189.5 kB / 333.7 MB, free: 10.75 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3646, allocations: 4 kB / 333.7 MB, free: 10.75 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004106/0.365, allocations: 83.98 kB / 333.8 MB, free: 10.67 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 (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.0006443/0.3656, allocations: 289.3 kB / 334.1 MB, free: 10.38 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003694/0.366, allocations: 176 kB / 334.3 MB, free: 10.21 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.366, allocations: 0 / 334.3 MB, free: 10.21 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.3662, allocations: 63.91 kB / 334.3 MB, free: 10.15 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.3664, allocations: 23.77 kB / 334.4 MB, free: 10.12 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007298/0.3672, allocations: 396.1 kB / 334.7 MB, free: 9.715 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.3675, allocations: 0.7321 MB / 335.5 MB, free: 8.957 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.3676, allocations: 29.41 kB / 335.5 MB, free: 8.926 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.3677, allocations: 23.42 kB / 335.5 MB, free: 8.902 MB / 270.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3677, allocations: 0 / 335.5 MB, free: 8.902 MB / 270.1 MB Notification: Performance of Templates: time 0.006949/0.3747, allocations: 3.019 MB / 338.5 MB, free: 5.883 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)