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.001544/0.001545, allocations: 104.8 kB / 16.62 MB, free: 6.812 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.001709/0.001709, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.698/1.698, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001505/0.001505, allocations: 47.92 kB / 279.5 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1422, allocations: 46.63 MB / 326.1 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.003701/0.146, allocations: 1.721 MB / 327.9 MB, free: 3.066 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002449/0.1485, allocations: 1.225 MB / 329.1 MB, free: 1.828 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.1487, allocations: 4 kB / 329.1 MB, free: 1.824 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005088/0.1492, allocations: 27.83 kB / 329.1 MB, free: 1.797 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.1494, allocations: 35.84 kB / 329.1 MB, free: 1.762 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008346/0.1502, allocations: 263.4 kB / 329.4 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.1505, allocations: 171.6 kB / 329.6 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.1506, allocations: 21.08 kB / 329.6 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.1508, allocations: 83.67 kB / 329.7 MB, free: 1.234 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.1511, allocations: 99.58 kB / 329.8 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.1511, allocations: 12 kB / 329.8 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004858/0.1516, allocations: 307.4 kB / 330.1 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1517, allocations: 55.77 kB / 330.1 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.722e-05/0.1518, allocations: 71.58 kB / 330.2 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005179/0.1523, allocations: 339.4 kB / 330.5 MB, free: 376 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1524, allocations: 4 kB / 330.5 MB, free: 372 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1524, allocations: 0 / 330.5 MB, free: 372 kB / 270.1 MB Notification: Performance of Transformations before backend: time 9.188e-06/0.1524, allocations: 0 / 330.5 MB, free: 372 kB / 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.001593/0.154, allocations: 0.5571 MB / 331.1 MB, free: 15.76 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.154, allocations: 12.02 kB / 331.1 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002492/0.1543, allocations: 24.75 kB / 331.1 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/0.1548, allocations: 272.8 kB / 331.4 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.1549, allocations: 8.375 kB / 331.4 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.1549, allocations: 8.375 kB / 331.4 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.1552, allocations: 109.9 kB / 331.5 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.1552, allocations: 11.84 kB / 331.5 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.1552, allocations: 0 / 331.5 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1552, allocations: 0 / 331.5 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/0.1554, allocations: 79.94 kB / 331.6 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009161/0.1563, allocations: 448.6 kB / 332.1 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.1566, allocations: 122.5 kB / 332.2 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.1568, allocations: 56.83 kB / 332.2 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.1568, allocations: 0 / 332.2 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.1571, allocations: 123.3 kB / 332.3 MB, free: 14.39 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 3.387e-06/0.1571, allocations: 3.984 kB / 332.4 MB, free: 14.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005508/0.1577, allocations: 237.5 kB / 332.6 MB, free: 14.15 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.1577, allocations: 55.41 kB / 332.6 MB, free: 14.08 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004296/0.1582, allocations: 251.7 kB / 332.9 MB, free: 13.82 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.1582, allocations: 33.7 kB / 332.9 MB, free: 13.79 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.486e-05/0.1583, allocations: 124.2 kB / 333 MB, free: 13.66 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.733e-05/0.1583, allocations: 39.36 kB / 333.1 MB, free: 13.62 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.731e-05/0.1584, allocations: 49.7 kB / 333.1 MB, free: 13.57 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1586, allocations: 334.8 kB / 333.5 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.1588, allocations: 87.95 kB / 333.5 MB, free: 13.14 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.159, allocations: 105.7 kB / 333.6 MB, free: 13.04 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.1593, allocations: 189.7 kB / 333.8 MB, free: 12.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1593, allocations: 0 / 333.8 MB, free: 12.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004328/0.1597, allocations: 261.3 kB / 334.1 MB, free: 12.58 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.1598, allocations: 4 kB / 334.1 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.1598, allocations: 0 / 334.1 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.1598, allocations: 4 kB / 334.1 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.16, allocations: 31.91 kB / 334.1 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.16, allocations: 4 kB / 334.1 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.1602, allocations: 31.86 kB / 334.2 MB, free: 12.51 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.1603, allocations: 8 kB / 334.2 MB, free: 12.5 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.0001606/0.1604, allocations: 141.5 kB / 334.3 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.1605, allocations: 15.8 kB / 334.3 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.736e-05/0.1605, allocations: 17.53 kB / 334.3 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1605, allocations: 7.938 kB / 334.3 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1605, allocations: 0 / 334.3 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1606, allocations: 4 kB / 334.3 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.1608, allocations: 241.5 kB / 334.6 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1609, allocations: 0 / 334.6 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.161, allocations: 15.98 kB / 334.6 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.161, allocations: 0 / 334.6 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.161, allocations: 0 / 334.6 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.161, allocations: 7.938 kB / 334.6 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.161, allocations: 0 / 334.6 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005168/0.1616, allocations: 280.8 kB / 334.9 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.1617, allocations: 108.8 kB / 335 MB, free: 11.58 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.1617, allocations: 7.984 kB / 335 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.1619, allocations: 19.91 kB / 335 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.162, allocations: 8.188 kB / 335 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.162, allocations: 11.92 kB / 335 MB, free: 11.54 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003374/0.1623, allocations: 197.4 kB / 335.2 MB, free: 11.34 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1623, allocations: 0 / 335.2 MB, free: 11.34 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003972/0.1627, allocations: 87.98 kB / 335.3 MB, free: 11.26 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.000754/0.1635, allocations: 281.8 kB / 335.6 MB, free: 10.98 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004317/0.164, allocations: 175.8 kB / 335.8 MB, free: 10.81 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.164, allocations: 0 / 335.8 MB, free: 10.81 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.1641, allocations: 67.91 kB / 335.8 MB, free: 10.75 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.1644, allocations: 19.83 kB / 335.8 MB, free: 10.73 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008628/0.1653, allocations: 406.4 kB / 336.2 MB, free: 10.3 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/0.1658, allocations: 0.7241 MB / 337 MB, free: 9.555 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.1659, allocations: 33.39 kB / 337 MB, free: 9.516 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.222e-05/0.166, allocations: 19.44 kB / 337 MB, free: 9.5 MB / 286.1 MB Notification: Performance of SimCode: time 5.11e-07/0.166, allocations: 0 / 337 MB, free: 9.5 MB / 286.1 MB Notification: Performance of Templates: time 0.008704/0.1747, allocations: 3.119 MB / 340.1 MB, free: 6.379 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)