Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") translateModel(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0009524/0.0009525, allocations: 91.8 kB / 16.65 MB, free: 6.348 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.00105/0.00105, allocations: 180.1 kB / 17.57 MB, free: 5.949 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.826/1.826, allocations: 205.4 MB / 223.7 MB, free: 13.05 MB / 190.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.0005389/0.0005393, allocations: 12 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1338, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.002135/0.136, allocations: 1.375 MB / 329.7 MB, free: 2.367 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.1385, allocations: 1.233 MB / 330.9 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.1387, allocations: 4 kB / 330.9 MB, free: 1.117 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004481/0.1391, allocations: 31.83 kB / 331 MB, free: 1.086 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.1392, allocations: 35.83 kB / 331 MB, free: 1.051 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008641/0.1401, allocations: 239.5 kB / 331.2 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.1404, allocations: 171.6 kB / 331.4 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.1406, allocations: 21.08 kB / 331.4 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.1408, allocations: 71.67 kB / 331.5 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.141, allocations: 91.64 kB / 331.6 MB, free: 480 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.608e-05/0.1411, allocations: 8 kB / 331.6 MB, free: 472 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006061/0.1417, allocations: 299.4 kB / 331.9 MB, free: 172 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.1418, allocations: 47.83 kB / 331.9 MB, free: 124 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.142, allocations: 101.3 kB / 332 MB, free: 16 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005867/0.1425, allocations: 331.3 kB / 332.3 MB, free: 15.69 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.1426, allocations: 0 / 332.3 MB, free: 15.69 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.439e-06/0.1426, allocations: 0 / 332.3 MB, free: 15.69 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.1426, allocations: 0 / 332.3 MB, free: 15.69 MB / 286.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.001425/0.144, allocations: 0.5338 MB / 332.9 MB, free: 15.11 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.1441, allocations: 8.031 kB / 332.9 MB, free: 15.1 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.1443, allocations: 32.73 kB / 332.9 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/0.1448, allocations: 272.8 kB / 333.2 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.1448, allocations: 8.375 kB / 333.2 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.1448, allocations: 16.36 kB / 333.2 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.1451, allocations: 105.9 kB / 333.3 MB, free: 14.63 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1451, allocations: 4 kB / 333.3 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.885e-05/0.1451, allocations: 4 kB / 333.3 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1451, allocations: 3.938 kB / 333.3 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.1453, allocations: 79.94 kB / 333.4 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008776/0.1462, allocations: 456.5 kB / 333.8 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.1465, allocations: 130.5 kB / 334 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.1466, allocations: 56.83 kB / 334 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.1467, allocations: 0 / 334 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.1469, allocations: 123.4 kB / 334.2 MB, free: 13.71 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.1469, allocations: 0 / 334.2 MB, free: 13.71 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005421/0.1475, allocations: 237.5 kB / 334.4 MB, free: 13.48 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.1475, allocations: 63.38 kB / 334.4 MB, free: 13.4 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004212/0.148, allocations: 255.6 kB / 334.7 MB, free: 13.14 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.148, allocations: 33.7 kB / 334.7 MB, free: 13.1 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.1481, allocations: 124.2 kB / 334.8 MB, free: 12.98 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/0.1482, allocations: 39.45 kB / 334.9 MB, free: 12.94 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/0.1483, allocations: 29.7 kB / 334.9 MB, free: 12.9 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1484, allocations: 334.8 kB / 335.2 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.1486, allocations: 83.95 kB / 335.3 MB, free: 12.48 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.1488, allocations: 109.7 kB / 335.4 MB, free: 12.37 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.1491, allocations: 189.8 kB / 335.6 MB, free: 12.18 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1491, allocations: 0 / 335.6 MB, free: 12.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004522/0.1496, allocations: 269.1 kB / 335.9 MB, free: 11.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.1496, allocations: 4 kB / 335.9 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1496, allocations: 32 / 335.9 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1496, allocations: 8 kB / 335.9 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.1498, allocations: 31.86 kB / 335.9 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1498, allocations: 4 kB / 335.9 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.15, allocations: 31.81 kB / 336 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.1501, allocations: 4 kB / 336 MB, free: 11.83 MB / 286.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.0001414/0.1502, allocations: 145.6 kB / 336.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.1502, allocations: 15.81 kB / 336.1 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.748e-05/0.1503, allocations: 21.52 kB / 336.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.1503, allocations: 7.875 kB / 336.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1503, allocations: 0 / 336.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1503, allocations: 0 / 336.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.1506, allocations: 241.5 kB / 336.4 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1506, allocations: 0 / 336.4 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.1507, allocations: 20.08 kB / 336.4 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1507, allocations: 3.938 kB / 336.4 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.1508, allocations: 0 / 336.4 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.1508, allocations: 7.938 kB / 336.4 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1508, allocations: 0 / 336.4 MB, free: 11.32 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004728/0.1513, allocations: 288.7 kB / 336.7 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.865e-05/0.1514, allocations: 104.9 kB / 336.8 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.1514, allocations: 11.98 kB / 336.8 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.1516, allocations: 23.98 kB / 336.8 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.1517, allocations: 7.984 kB / 336.8 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.1517, allocations: 7.984 kB / 336.9 MB, free: 10.84 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003202/0.152, allocations: 189.4 kB / 337 MB, free: 10.66 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.152, allocations: 0 / 337 MB, free: 10.66 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004164/0.1524, allocations: 95.92 kB / 337.1 MB, free: 10.57 MB / 286.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.0006905/0.1531, allocations: 283.7 kB / 337.4 MB, free: 10.29 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003741/0.1535, allocations: 167.8 kB / 337.6 MB, free: 10.13 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1535, allocations: 0 / 337.6 MB, free: 10.13 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.1537, allocations: 71.91 kB / 337.6 MB, free: 10.06 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.1539, allocations: 23.77 kB / 337.7 MB, free: 10.04 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007086/0.1547, allocations: 408.7 kB / 338.1 MB, free: 9.609 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.155, allocations: 0.7282 MB / 338.8 MB, free: 8.855 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.1551, allocations: 33.39 kB / 338.8 MB, free: 8.816 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.355e-05/0.1551, allocations: 19.44 kB / 338.8 MB, free: 8.801 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1551, allocations: 7.938 kB / 338.9 MB, free: 8.793 MB / 286.1 MB Notification: Performance of Templates: time 0.007356/0.1625, allocations: 2.98 MB / 341.8 MB, free: 5.809 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1)