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.009337/0.009337, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001392/0.001392, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.672/1.672, allocations: 205.1 MB / 222.6 MB, free: 4.562 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.001263/0.001263, allocations: 49.97 kB / 326.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.147, allocations: 46.62 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.003193/0.1502, allocations: 1.649 MB / 374.8 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.1524, allocations: 1.228 MB / 376 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.1525, allocations: 0 / 376 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004377/0.153, allocations: 27.8 kB / 376.1 MB, free: 14.4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.1531, allocations: 47.75 kB / 376.1 MB, free: 14.36 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:321:7-386:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift128plus.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:994:5-1084:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. Notification: Performance of NFTyping.typeClassSections: time 0.0008788/0.154, allocations: 291.1 kB / 376.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.1543, allocations: 183.5 kB / 376.6 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.1545, allocations: 17.12 kB / 376.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.1546, allocations: 83.67 kB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.1548, allocations: 91.69 kB / 376.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.1549, allocations: 12 kB / 376.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.1553, allocations: 283.5 kB / 377.1 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.783e-05/0.1555, allocations: 55.81 kB / 377.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.761e-05/0.1556, allocations: 67.58 kB / 377.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005405/0.1561, allocations: 342.8 kB / 377.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1561, allocations: 0 / 377.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1561, allocations: 4 kB / 377.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1561, allocations: 3.938 kB / 377.5 MB, free: 12.95 MB / 318.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.001318/0.1575, allocations: 0.5644 MB / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.1575, allocations: 12.03 kB / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002304/0.1578, allocations: 24.84 kB / 378.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.1583, allocations: 273 kB / 378.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.1583, allocations: 4.375 kB / 378.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.1583, allocations: 12.38 kB / 378.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.1585, allocations: 101.9 kB / 378.5 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.1586, allocations: 3.984 kB / 378.5 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.1586, allocations: 12 kB / 378.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.1586, allocations: 0 / 378.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.1588, allocations: 79.88 kB / 378.6 MB, free: 11.78 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008572/0.1597, allocations: 448.5 kB / 379 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.1599, allocations: 126.5 kB / 379.2 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.1601, allocations: 60.83 kB / 379.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.1601, allocations: 0 / 379.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002246/0.1603, allocations: 127.4 kB / 379.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.522e-06/0.1603, allocations: 0 / 379.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.000493/0.1608, allocations: 241.4 kB / 379.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.1609, allocations: 59.39 kB / 379.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000416/0.1613, allocations: 243.8 kB / 379.9 MB, free: 10.4 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.1614, allocations: 37.7 kB / 379.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.179e-05/0.1615, allocations: 116.1 kB / 380 MB, free: 10.24 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.1615, allocations: 39.83 kB / 380.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.918e-05/0.1616, allocations: 53.69 kB / 380.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1617, allocations: 334.8 kB / 380.4 MB, free: 9.805 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.1619, allocations: 87.8 kB / 380.5 MB, free: 9.719 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.1621, allocations: 105.6 kB / 380.6 MB, free: 9.609 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.1624, allocations: 173.6 kB / 380.8 MB, free: 9.434 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1624, allocations: 11.94 kB / 380.8 MB, free: 9.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004061/0.1628, allocations: 253.4 kB / 381.1 MB, free: 9.168 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1629, allocations: 8 kB / 381.1 MB, free: 9.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.1629, allocations: 0 / 381.1 MB, free: 9.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1629, allocations: 0 / 381.1 MB, free: 9.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.1631, allocations: 43.84 kB / 381.1 MB, free: 9.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1631, allocations: 0 / 381.1 MB, free: 9.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.1633, allocations: 27.97 kB / 381.1 MB, free: 9.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.1633, allocations: 15.95 kB / 381.2 MB, free: 9.074 MB / 318.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.0001366/0.1635, allocations: 153.7 kB / 381.3 MB, free: 8.914 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.1635, allocations: 15.91 kB / 381.3 MB, free: 8.898 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/0.1636, allocations: 17.53 kB / 381.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1636, allocations: 3.938 kB / 381.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.1636, allocations: 0 / 381.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.1636, allocations: 7.984 kB / 381.3 MB, free: 8.867 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.1639, allocations: 241.5 kB / 381.6 MB, free: 8.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1639, allocations: 4 kB / 381.6 MB, free: 8.578 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.164, allocations: 15.98 kB / 381.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.164, allocations: 4 kB / 381.6 MB, free: 8.559 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.164, allocations: 3.984 kB / 381.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.164, allocations: 3.938 kB / 381.6 MB, free: 8.551 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1641, allocations: 0 / 381.6 MB, free: 8.551 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004975/0.1646, allocations: 277 kB / 381.9 MB, free: 8.262 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.306e-05/0.1647, allocations: 109.1 kB / 382 MB, free: 8.137 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.1647, allocations: 12 kB / 382 MB, free: 8.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.1649, allocations: 19.91 kB / 382 MB, free: 8.105 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.165, allocations: 11.97 kB / 382 MB, free: 8.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.165, allocations: 8 kB / 382 MB, free: 8.086 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003037/0.1653, allocations: 185.4 kB / 382.2 MB, free: 7.906 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1653, allocations: 0 / 382.2 MB, free: 7.906 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003727/0.1657, allocations: 99.73 kB / 382.3 MB, free: 7.809 MB / 318.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.0006776/0.1664, allocations: 278.7 kB / 382.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003865/0.1668, allocations: 175.8 kB / 382.8 MB, free: 7.355 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1668, allocations: 4 kB / 382.8 MB, free: 7.352 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1669, allocations: 59.97 kB / 382.8 MB, free: 7.293 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.1672, allocations: 20.11 kB / 382.8 MB, free: 7.273 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007145/0.1679, allocations: 373.7 kB / 383.2 MB, free: 6.883 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.1682, allocations: 0.7241 MB / 383.9 MB, free: 6.133 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.307e-05/0.1683, allocations: 29.41 kB / 384 MB, free: 6.105 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.223e-05/0.1684, allocations: 19.44 kB / 384 MB, free: 6.086 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1684, allocations: 4 kB / 384 MB, free: 6.082 MB / 318.1 MB Notification: Performance of Templates: time 0.007361/0.1758, allocations: 3.148 MB / 387.1 MB, free: 2.93 MB / 318.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)