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.001416/0.001416, allocations: 111.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.001327/0.001326, allocations: 191.5 kB / 16.25 MB, free: 6.629 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.622/1.622, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.001253/0.001253, allocations: 51.92 kB / 278.2 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3212, allocations: 46.63 MB / 324.8 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.003733/0.325, allocations: 1.719 MB / 326.6 MB, free: 0.5938 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002782/0.3278, allocations: 1.219 MB / 327.8 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.328, allocations: 1.062 kB / 327.8 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004256/0.3284, allocations: 39.48 kB / 327.8 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.3286, allocations: 31.39 kB / 327.9 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.3297, allocations: 259 kB / 328.1 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003084/0.33, allocations: 173.9 kB / 328.3 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3301, allocations: 18.25 kB / 328.3 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.3304, allocations: 84.14 kB / 328.4 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.3306, allocations: 100.5 kB / 328.5 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.444e-05/0.3306, allocations: 12.41 kB / 328.5 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006345/0.3313, allocations: 309 kB / 328.8 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.3314, allocations: 59.31 kB / 328.8 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.3316, allocations: 70.31 kB / 328.9 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006388/0.3322, allocations: 331.3 kB / 329.2 MB, free: 14.76 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3322, allocations: 0 / 329.2 MB, free: 14.76 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3322, allocations: 5.344 kB / 329.2 MB, free: 14.76 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3323, allocations: 0 / 329.2 MB, free: 14.76 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.001623/0.3339, allocations: 0.5573 MB / 329.8 MB, free: 14.25 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.3339, allocations: 13.72 kB / 329.8 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002922/0.3342, allocations: 31.77 kB / 329.8 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006158/0.3349, allocations: 267.6 kB / 330.1 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.3349, allocations: 4.344 kB / 330.1 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.205e-05/0.335, allocations: 18.05 kB / 330.1 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.3353, allocations: 110.8 kB / 330.2 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.3353, allocations: 0.875 kB / 330.2 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.3353, allocations: 4.938 kB / 330.2 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3354, allocations: 4.844 kB / 330.2 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.3356, allocations: 79.09 kB / 330.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.3367, allocations: 449 kB / 330.8 MB, free: 13.44 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.337, allocations: 125.5 kB / 330.9 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.3372, allocations: 60.98 kB / 330.9 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.3372, allocations: 1.031 kB / 330.9 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002946/0.3376, allocations: 115 kB / 331.1 MB, free: 13.25 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.3376, allocations: 1.312 kB / 331.1 MB, free: 13.25 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007325/0.3383, allocations: 232.2 kB / 331.3 MB, free: 13.12 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.3384, allocations: 57 kB / 331.3 MB, free: 13.06 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005913/0.339, allocations: 251.5 kB / 331.6 MB, free: 12.88 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.3391, allocations: 36.39 kB / 331.6 MB, free: 12.84 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.3392, allocations: 114.7 kB / 331.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/0.3393, allocations: 49.95 kB / 331.8 MB, free: 12.69 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.3394, allocations: 47.2 kB / 331.8 MB, free: 12.66 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3396, allocations: 336.1 kB / 332.2 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.3398, allocations: 81.64 kB / 332.2 MB, free: 12.29 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.3401, allocations: 106.2 kB / 332.3 MB, free: 12.23 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000404/0.3405, allocations: 190 kB / 332.5 MB, free: 12.13 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3405, allocations: 5.438 kB / 332.5 MB, free: 12.12 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005613/0.3411, allocations: 252.8 kB / 332.8 MB, free: 11.92 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.3411, allocations: 8 kB / 332.8 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.3411, allocations: 0 / 332.8 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3411, allocations: 0 / 332.8 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.3414, allocations: 39.86 kB / 332.8 MB, free: 11.87 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.3414, allocations: 3.984 kB / 332.8 MB, free: 11.87 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.3416, allocations: 19.89 kB / 332.8 MB, free: 11.85 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.3417, allocations: 12.03 kB / 332.9 MB, free: 11.84 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.0001579/0.3418, allocations: 141.5 kB / 333 MB, free: 11.69 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.3419, allocations: 19.8 kB / 333 MB, free: 11.67 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.9e-05/0.342, allocations: 21.53 kB / 333 MB, free: 11.65 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.342, allocations: 3.938 kB / 333 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.342, allocations: 96 / 333 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.342, allocations: 7.938 kB / 333.1 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.3423, allocations: 245.4 kB / 333.3 MB, free: 11.35 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3423, allocations: 4 kB / 333.3 MB, free: 11.34 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.3425, allocations: 15.98 kB / 333.3 MB, free: 11.33 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3425, allocations: 0 / 333.3 MB, free: 11.33 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.3425, allocations: 8 kB / 333.3 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.3426, allocations: 3.938 kB / 333.3 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3426, allocations: 0 / 333.3 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006087/0.3432, allocations: 280.9 kB / 333.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.3434, allocations: 105 kB / 333.7 MB, free: 10.9 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.3434, allocations: 7.984 kB / 333.7 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.3437, allocations: 23.92 kB / 333.7 MB, free: 10.87 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.3437, allocations: 7.984 kB / 333.7 MB, free: 10.86 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.3438, allocations: 3.984 kB / 333.7 MB, free: 10.86 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0004094/0.3442, allocations: 189.4 kB / 333.9 MB, free: 10.68 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3442, allocations: 3.938 kB / 333.9 MB, free: 10.67 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004596/0.3447, allocations: 95.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.0006883/0.3454, allocations: 283.6 kB / 334.3 MB, free: 10.3 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003827/0.3458, allocations: 179.8 kB / 334.5 MB, free: 10.12 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3458, allocations: 0 / 334.5 MB, free: 10.12 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.3459, allocations: 67.91 kB / 334.5 MB, free: 10.06 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.3462, allocations: 27.7 kB / 334.6 MB, free: 10.03 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006746/0.3469, allocations: 399.9 kB / 335 MB, free: 9.617 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.3471, allocations: 0.7241 MB / 335.7 MB, free: 8.867 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.515e-05/0.3473, allocations: 33.39 kB / 335.7 MB, free: 8.832 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.488e-05/0.3473, allocations: 23.44 kB / 335.7 MB, free: 8.809 MB / 270.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3473, allocations: 4 kB / 335.7 MB, free: 8.805 MB / 270.1 MB Notification: Performance of Templates: time 0.006619/0.3539, allocations: 3.086 MB / 338.8 MB, free: 5.715 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)