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.0008332/0.0008332, allocations: 91.61 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.0009982/0.000998, 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.477/1.478, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0004379/0.0004379, allocations: 14.81 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2161, allocations: 47.58 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.001598/0.2178, allocations: 1.354 MB / 327.8 MB, free: 344 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.2196, allocations: 1.144 MB / 329 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.583e-05/0.2197, allocations: 1.375 kB / 329 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.22, allocations: 28.59 kB / 329 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.2201, allocations: 43.33 kB / 329 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000632/0.2208, allocations: 233 kB / 329.3 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.221, allocations: 150.7 kB / 329.4 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.255e-05/0.2211, allocations: 12.84 kB / 329.4 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.2213, allocations: 79.52 kB / 329.5 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.2215, allocations: 94.67 kB / 329.6 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.2215, allocations: 6.562 kB / 329.6 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004944/0.222, allocations: 298.6 kB / 329.9 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.457e-05/0.2221, allocations: 46.16 kB / 329.9 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.522e-05/0.2222, allocations: 49.88 kB / 330 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.2225, allocations: 236.3 kB / 330.2 MB, free: 14.7 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2225, allocations: 7.938 kB / 330.2 MB, free: 14.69 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2225, allocations: 0 / 330.2 MB, free: 14.69 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.2225, allocations: 1.344 kB / 330.2 MB, free: 14.69 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.001181/0.2237, allocations: 0.5362 MB / 330.8 MB, free: 14.2 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.2238, allocations: 8.406 kB / 330.8 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/0.224, allocations: 27.48 kB / 330.8 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.2244, allocations: 252.6 kB / 331 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.2245, allocations: 15.16 kB / 331.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.2245, allocations: 9.234 kB / 331.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.2248, allocations: 116.8 kB / 331.2 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.2248, allocations: 0 / 331.2 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.2248, allocations: 0.875 kB / 331.2 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2248, allocations: 1 kB / 331.2 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.225, allocations: 86.48 kB / 331.3 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008064/0.2259, allocations: 452.5 kB / 331.7 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.2261, allocations: 129.2 kB / 331.8 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.2263, allocations: 62.92 kB / 331.9 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.2263, allocations: 1.156 kB / 331.9 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.2265, allocations: 116.3 kB / 332 MB, free: 13.21 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.2265, allocations: 0 / 332 MB, free: 13.21 MB / 270.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004951/0.227, allocations: 243.3 kB / 332.3 MB, free: 13.09 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.2271, allocations: 55.22 kB / 332.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003835/0.2275, allocations: 244.9 kB / 332.5 MB, free: 12.85 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.2275, allocations: 38.97 kB / 332.6 MB, free: 12.81 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.952e-05/0.2276, allocations: 115.5 kB / 332.7 MB, free: 12.7 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/0.2277, allocations: 46.14 kB / 332.7 MB, free: 12.66 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/0.2277, allocations: 9.219 kB / 332.8 MB, free: 12.65 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.2278, allocations: 331.7 kB / 333.1 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.228, allocations: 86.94 kB / 333.2 MB, free: 12.29 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.2282, allocations: 111.6 kB / 333.3 MB, free: 12.22 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.2283, allocations: 101.4 kB / 333.4 MB, free: 12.18 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2284, allocations: 3.938 kB / 333.4 MB, free: 12.17 MB / 270.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004386/0.2288, allocations: 256.1 kB / 333.6 MB, free: 12.04 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2288, allocations: 5.156 kB / 333.6 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.2288, allocations: 1 kB / 333.6 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2289, allocations: 1.062 kB / 333.6 MB, free: 12.04 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.229, allocations: 39.75 kB / 333.7 MB, free: 12.03 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.2291, allocations: 4.969 kB / 333.7 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.2292, allocations: 25.89 kB / 333.7 MB, free: 12.01 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.2293, allocations: 12.02 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.0001184/0.2294, allocations: 141.6 kB / 333.8 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.2294, allocations: 15.81 kB / 333.9 MB, free: 11.85 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.2295, allocations: 21.53 kB / 333.9 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2295, allocations: 0 / 333.9 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2295, allocations: 8 kB / 333.9 MB, free: 11.82 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2295, allocations: 3.984 kB / 333.9 MB, free: 11.82 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.2298, allocations: 245.4 kB / 334.1 MB, free: 11.53 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2298, allocations: 4 kB / 334.1 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.2299, allocations: 15.98 kB / 334.2 MB, free: 11.51 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2299, allocations: 0 / 334.2 MB, free: 11.51 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.605e-05/0.23, allocations: 11.98 kB / 334.2 MB, free: 11.5 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.23, allocations: 4 kB / 334.2 MB, free: 11.49 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.23, allocations: 0 / 334.2 MB, free: 11.49 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000451/0.2304, allocations: 280.7 kB / 334.4 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-05/0.2305, allocations: 104.9 kB / 334.5 MB, free: 11.08 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.2306, allocations: 4 kB / 334.6 MB, free: 11.07 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.2307, allocations: 23.97 kB / 334.6 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.2308, allocations: 12.05 kB / 334.6 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.2308, allocations: 4 kB / 334.6 MB, free: 11.04 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002781/0.2311, allocations: 189.4 kB / 334.8 MB, free: 10.85 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2311, allocations: 0 / 334.8 MB, free: 10.85 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000391/0.2315, allocations: 91.98 kB / 334.9 MB, free: 10.76 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.0006276/0.2321, allocations: 285.1 kB / 335.1 MB, free: 10.48 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003663/0.2325, allocations: 180.2 kB / 335.3 MB, free: 10.3 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2325, allocations: 0 / 335.3 MB, free: 10.3 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.2327, allocations: 67.91 kB / 335.4 MB, free: 10.24 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.2329, allocations: 19.77 kB / 335.4 MB, free: 10.22 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006658/0.2336, allocations: 404.5 kB / 335.8 MB, free: 9.797 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.2339, allocations: 0.7361 MB / 336.5 MB, free: 9.035 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.234, allocations: 33.39 kB / 336.6 MB, free: 9 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.2341, allocations: 15.44 kB / 336.6 MB, free: 8.984 MB / 270.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2341, allocations: 0 / 336.6 MB, free: 8.984 MB / 270.1 MB Notification: Performance of Templates: time 0.006638/0.2407, allocations: 2.96 MB / 339.5 MB, free: 6.023 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)