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.001215/0.001214, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001333/0.001333, allocations: 193.2 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.222/2.222, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.001455/0.001455, allocations: 55.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3485, allocations: 46.63 MB / 324.8 MB, free: 1.91 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.003378/0.3519, allocations: 1.72 MB / 326.6 MB, free: 0.5586 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.3543, allocations: 1.229 MB / 327.8 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.3545, allocations: 1.344 kB / 327.8 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004192/0.3549, allocations: 27.8 kB / 327.8 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.355, allocations: 30.89 kB / 327.9 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008815/0.3559, allocations: 262.9 kB / 328.1 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.3562, allocations: 178.1 kB / 328.3 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3563, allocations: 17.52 kB / 328.3 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.3565, allocations: 84.7 kB / 328.4 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.3567, allocations: 96.64 kB / 328.5 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.3568, allocations: 20.84 kB / 328.5 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004809/0.3573, allocations: 305.9 kB / 328.8 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.3574, allocations: 59.19 kB / 328.9 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.471e-05/0.3575, allocations: 73.58 kB / 328.9 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000529/0.358, allocations: 335.7 kB / 329.3 MB, free: 14.71 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.358, allocations: 0 / 329.3 MB, free: 14.71 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.358, allocations: 0 / 329.3 MB, free: 14.71 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.3581, allocations: 0 / 329.3 MB, free: 14.71 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.001426/0.3595, allocations: 0.558 MB / 329.8 MB, free: 14.2 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.3595, allocations: 9.188 kB / 329.8 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002328/0.3598, allocations: 28.45 kB / 329.8 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000495/0.3603, allocations: 271.6 kB / 330.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.3603, allocations: 7.781 kB / 330.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.3604, allocations: 6.25 kB / 330.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.3606, allocations: 115.8 kB / 330.2 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.3606, allocations: 0 / 330.2 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3607, allocations: 1.031 kB / 330.2 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3607, allocations: 1.094 kB / 330.2 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002451/0.3609, allocations: 79 kB / 330.3 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009216/0.3619, allocations: 453.9 kB / 330.8 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.3622, allocations: 128.3 kB / 330.9 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.3623, allocations: 65.39 kB / 331 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.3623, allocations: 1.406 kB / 331 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.3626, allocations: 115.3 kB / 331.1 MB, free: 13.2 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.3626, allocations: 0 / 331.1 MB, free: 13.2 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.000533/0.3631, allocations: 232.5 kB / 331.3 MB, free: 13.08 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.3632, allocations: 60.94 kB / 331.4 MB, free: 13.02 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004353/0.3636, allocations: 251.8 kB / 331.6 MB, free: 12.83 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.3637, allocations: 40.09 kB / 331.6 MB, free: 12.79 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.568e-05/0.3638, allocations: 110.7 kB / 331.7 MB, free: 12.69 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.3639, allocations: 46.69 kB / 331.8 MB, free: 12.65 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/0.364, allocations: 43.23 kB / 331.8 MB, free: 12.62 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.3642, allocations: 336.2 kB / 332.2 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.3643, allocations: 85.3 kB / 332.2 MB, free: 12.25 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.3645, allocations: 105.7 kB / 332.3 MB, free: 12.19 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.365, allocations: 186.9 kB / 332.5 MB, free: 12.09 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.365, allocations: 3.938 kB / 332.5 MB, free: 12.09 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004972/0.3655, allocations: 252.3 kB / 332.8 MB, free: 11.92 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.3655, allocations: 11.98 kB / 332.8 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3655, allocations: 4.031 kB / 332.8 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.3656, allocations: 0 / 332.8 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.3657, allocations: 35.86 kB / 332.8 MB, free: 11.87 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3658, allocations: 0 / 332.8 MB, free: 11.87 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.3661, allocations: 27.88 kB / 332.9 MB, free: 11.84 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.3661, allocations: 11.98 kB / 332.9 MB, free: 11.83 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.0002712/0.3664, allocations: 141.5 kB / 333 MB, free: 11.68 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.3665, allocations: 19.81 kB / 333 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.447e-05/0.3665, allocations: 21.52 kB / 333 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.3666, allocations: 3.938 kB / 333.1 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3666, allocations: 4 kB / 333.1 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3666, allocations: 0 / 333.1 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.3669, allocations: 241.4 kB / 333.3 MB, free: 11.35 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.367, allocations: 4 kB / 333.3 MB, free: 11.35 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.3671, allocations: 15.98 kB / 333.3 MB, free: 11.33 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3672, allocations: 0 / 333.3 MB, free: 11.33 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.3672, allocations: 4 kB / 333.3 MB, free: 11.33 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3672, allocations: 8.031 kB / 333.3 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3672, allocations: 3.938 kB / 333.3 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006769/0.3679, allocations: 281.3 kB / 333.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.368, allocations: 104.9 kB / 333.7 MB, free: 10.9 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.669e-05/0.3681, allocations: 8 kB / 333.7 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.3684, allocations: 19.91 kB / 333.7 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.3685, allocations: 12.05 kB / 333.7 MB, free: 10.86 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.3685, allocations: 4 kB / 333.7 MB, free: 10.86 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0004598/0.369, allocations: 193.4 kB / 333.9 MB, free: 10.67 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.369, allocations: 0 / 333.9 MB, free: 10.67 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006719/0.3696, allocations: 91.98 kB / 334 MB, free: 10.58 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.0009891/0.3706, allocations: 276.8 kB / 334.3 MB, free: 10.31 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005872/0.3713, allocations: 187.8 kB / 334.5 MB, free: 10.12 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3713, allocations: 0 / 334.5 MB, free: 10.12 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.3715, allocations: 59.97 kB / 334.5 MB, free: 10.07 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.3719, allocations: 23.06 kB / 334.6 MB, free: 10.05 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.373, allocations: 403.6 kB / 335 MB, free: 9.629 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/0.3735, allocations: 0.7319 MB / 335.7 MB, free: 8.871 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001547/0.3736, allocations: 37.38 kB / 335.7 MB, free: 8.832 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.632e-05/0.3737, allocations: 15.44 kB / 335.7 MB, free: 8.816 MB / 270.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3737, allocations: 0 / 335.7 MB, free: 8.816 MB / 270.1 MB Notification: Performance of Templates: time 0.01091/0.3846, allocations: 3.098 MB / 338.8 MB, free: 5.715 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)