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.001537/0.001537, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001937/0.001937, allocations: 192.2 kB / 16.14 MB, free: 6.734 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.756/1.756, allocations: 205.1 MB / 222 MB, free: 4.773 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.001505/0.001505, allocations: 47.94 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.348, allocations: 46.63 MB / 324.7 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.004042/0.3521, allocations: 1.708 MB / 326.4 MB, free: 0.582 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002692/0.3548, allocations: 1.262 MB / 327.6 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.3549, allocations: 1.156 kB / 327.7 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004258/0.3554, allocations: 27.64 kB / 327.7 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.3555, allocations: 31.73 kB / 327.7 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007535/0.3563, allocations: 251.8 kB / 328 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.3566, allocations: 172.8 kB / 328.1 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.3567, allocations: 17.72 kB / 328.1 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.3569, allocations: 74.17 kB / 328.2 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.3572, allocations: 95.48 kB / 328.3 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.3572, allocations: 8.406 kB / 328.3 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006183/0.3578, allocations: 295 kB / 328.6 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.358, allocations: 59.45 kB / 328.7 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.836e-05/0.3581, allocations: 62.62 kB / 328.7 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000565/0.3586, allocations: 332.5 kB / 329 MB, free: 14.75 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3587, allocations: 3.938 kB / 329.1 MB, free: 14.75 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3587, allocations: 1.188 kB / 329.1 MB, free: 14.75 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.3587, allocations: 0 / 329.1 MB, free: 14.75 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.001673/0.3604, allocations: 0.566 MB / 329.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/0.3604, allocations: 9.031 kB / 329.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002733/0.3607, allocations: 27.36 kB / 329.7 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005165/0.3612, allocations: 264.3 kB / 329.9 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.3613, allocations: 8.312 kB / 329.9 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.3613, allocations: 13.64 kB / 329.9 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.3616, allocations: 110.8 kB / 330 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.3616, allocations: 1.125 kB / 330 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.3617, allocations: 0 / 330 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.3617, allocations: 2.125 kB / 330 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.3619, allocations: 82.72 kB / 330.1 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.363, allocations: 453 kB / 330.6 MB, free: 13.44 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.3633, allocations: 124.6 kB / 330.7 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.3635, allocations: 62.2 kB / 330.7 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.3635, allocations: 5.5 kB / 330.8 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002686/0.3638, allocations: 113.8 kB / 330.9 MB, free: 13.24 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.3638, allocations: 1.031 kB / 330.9 MB, free: 13.24 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006413/0.3645, allocations: 233.5 kB / 331.1 MB, free: 13.12 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.3645, allocations: 60 kB / 331.2 MB, free: 13.05 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004962/0.365, allocations: 247.7 kB / 331.4 MB, free: 12.87 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.3651, allocations: 39.47 kB / 331.4 MB, free: 12.83 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.513e-05/0.3652, allocations: 115 kB / 331.5 MB, free: 12.72 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/0.3653, allocations: 50.48 kB / 331.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.505e-05/0.3654, allocations: 43.2 kB / 331.6 MB, free: 12.65 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3656, allocations: 340.5 kB / 332 MB, free: 12.31 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.3658, allocations: 81.98 kB / 332.1 MB, free: 12.28 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.3661, allocations: 105.8 kB / 332.2 MB, free: 12.22 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.3664, allocations: 194.4 kB / 332.3 MB, free: 12.11 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3665, allocations: 0 / 332.3 MB, free: 12.11 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005227/0.367, allocations: 253.1 kB / 332.6 MB, free: 11.98 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.367, allocations: 5.844 kB / 332.6 MB, free: 11.98 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.367, allocations: 0 / 332.6 MB, free: 11.98 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.3671, allocations: 1.375 kB / 332.6 MB, free: 11.98 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.3672, allocations: 37.89 kB / 332.6 MB, free: 11.95 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3673, allocations: 3.969 kB / 332.6 MB, free: 11.95 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.3675, allocations: 31.88 kB / 332.7 MB, free: 11.92 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.3675, allocations: 4 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.000166/0.3677, allocations: 145.5 kB / 332.8 MB, free: 11.76 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.3677, allocations: 15.81 kB / 332.8 MB, free: 11.75 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.879e-05/0.3678, allocations: 21.52 kB / 332.9 MB, free: 11.73 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3678, allocations: 3.938 kB / 332.9 MB, free: 11.72 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3678, allocations: 4 kB / 332.9 MB, free: 11.72 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3678, allocations: 0 / 332.9 MB, free: 11.72 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.3681, allocations: 245.4 kB / 333.1 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3681, allocations: 0 / 333.1 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.3682, allocations: 19.98 kB / 333.1 MB, free: 11.41 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.3683, allocations: 3.984 kB / 333.1 MB, free: 11.41 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.3683, allocations: 4 kB / 333.1 MB, free: 11.4 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.3683, allocations: 3.938 kB / 333.1 MB, free: 11.4 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3683, allocations: 0 / 333.1 MB, free: 11.4 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005478/0.3688, allocations: 280.8 kB / 333.4 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.369, allocations: 100.9 kB / 333.5 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.369, allocations: 11.94 kB / 333.5 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.3692, allocations: 23.91 kB / 333.5 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.3693, allocations: 11.98 kB / 333.6 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.3693, allocations: 0 / 333.6 MB, free: 10.94 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003452/0.3696, allocations: 201.5 kB / 333.7 MB, free: 10.75 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3697, allocations: 0 / 333.7 MB, free: 10.75 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004353/0.3701, allocations: 83.98 kB / 333.8 MB, free: 10.66 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.0008153/0.3709, allocations: 279.6 kB / 334.1 MB, free: 10.39 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003917/0.3713, allocations: 171.8 kB / 334.3 MB, free: 10.22 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3713, allocations: 0 / 334.3 MB, free: 10.22 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.3715, allocations: 67.91 kB / 334.3 MB, free: 10.16 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.3718, allocations: 23.78 kB / 334.4 MB, free: 10.13 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.3728, allocations: 400 kB / 334.8 MB, free: 9.719 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/0.3734, allocations: 0.7244 MB / 335.5 MB, free: 8.969 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.3736, allocations: 45.36 kB / 335.5 MB, free: 8.922 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.701e-05/0.3736, allocations: 19.44 kB / 335.5 MB, free: 8.902 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3737, allocations: 0 / 335.5 MB, free: 8.902 MB / 270.1 MB Notification: Performance of Templates: time 0.007449/0.3811, allocations: 3.012 MB / 338.5 MB, free: 5.887 MB / 270.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)