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.001307/0.001307, allocations: 103 kB / 16.51 MB, free: 6.645 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.001134/0.001134, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.77/1.77, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001969/0.001969, allocations: 56.34 kB / 279.3 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1255, allocations: 46.64 MB / 326 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence): time 0.004458/0.13, allocations: 1.721 MB / 327.7 MB, free: 3.156 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002777/0.1329, allocations: 1.26 MB / 328.9 MB, free: 1.883 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.1331, allocations: 3.938 kB / 328.9 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004017/0.1335, allocations: 23.86 kB / 329 MB, free: 1.855 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.1337, allocations: 39.83 kB / 329 MB, free: 1.816 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009337/0.1346, allocations: 243.5 kB / 329.2 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003815/0.135, allocations: 171.6 kB / 329.4 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.1352, allocations: 17.08 kB / 329.4 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002814/0.1355, allocations: 83.67 kB / 329.5 MB, free: 1.312 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.1358, allocations: 91.58 kB / 329.6 MB, free: 1.223 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.285e-05/0.1359, allocations: 8 kB / 329.6 MB, free: 1.215 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006771/0.1365, allocations: 295.5 kB / 329.9 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.1367, allocations: 51.8 kB / 329.9 MB, free: 0.875 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.1368, allocations: 63.53 kB / 330 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000666/0.1375, allocations: 335.4 kB / 330.3 MB, free: 496 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1375, allocations: 4 kB / 330.3 MB, free: 492 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1375, allocations: 0 / 330.3 MB, free: 492 kB / 270.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1375, allocations: 4 kB / 330.3 MB, free: 488 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.001617/0.1392, allocations: 0.5571 MB / 330.9 MB, free: 15.87 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.1392, allocations: 8.031 kB / 330.9 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002703/0.1395, allocations: 32.73 kB / 330.9 MB, free: 15.83 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005123/0.14, allocations: 272.8 kB / 331.2 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.14, allocations: 4.375 kB / 331.2 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.1401, allocations: 12.36 kB / 331.2 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.1403, allocations: 101.9 kB / 331.3 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1403, allocations: 7.906 kB / 331.3 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.1404, allocations: 8 kB / 331.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1404, allocations: 0 / 331.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.1406, allocations: 79.88 kB / 331.4 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000973/0.1416, allocations: 448.6 kB / 331.9 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.1419, allocations: 122.5 kB / 332 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.142, allocations: 56.83 kB / 332 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.142, allocations: 4.031 kB / 332 MB, free: 14.63 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/0.1422, allocations: 119.3 kB / 332.1 MB, free: 14.5 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.1423, allocations: 0 / 332.1 MB, free: 14.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005633/0.1428, allocations: 237.4 kB / 332.4 MB, free: 14.27 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.1429, allocations: 55.41 kB / 332.4 MB, free: 14.2 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004519/0.1434, allocations: 243.8 kB / 332.7 MB, free: 13.95 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/0.1434, allocations: 41.78 kB / 332.7 MB, free: 13.9 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.147e-05/0.1435, allocations: 120.1 kB / 332.8 MB, free: 13.78 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/0.1436, allocations: 51.34 kB / 332.9 MB, free: 13.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.7e-05/0.1437, allocations: 49.7 kB / 332.9 MB, free: 13.68 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1438, allocations: 334.8 kB / 333.3 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.144, allocations: 79.95 kB / 333.3 MB, free: 13.26 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.1442, allocations: 105.7 kB / 333.4 MB, free: 13.15 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.1445, allocations: 193.7 kB / 333.6 MB, free: 12.96 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1445, allocations: 0 / 333.6 MB, free: 12.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005171/0.145, allocations: 253.3 kB / 333.9 MB, free: 12.7 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.1451, allocations: 4 kB / 333.9 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.1451, allocations: 4 kB / 333.9 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.1451, allocations: 0 / 333.9 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.1453, allocations: 39.86 kB / 333.9 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.1453, allocations: 0 / 333.9 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.1456, allocations: 31.84 kB / 334 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.1456, allocations: 12 kB / 334 MB, free: 12.61 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.0001637/0.1458, allocations: 137.5 kB / 334.1 MB, free: 12.47 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.1458, allocations: 15.81 kB / 334.1 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.64e-05/0.1459, allocations: 25.52 kB / 334.1 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1459, allocations: 3.938 kB / 334.1 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1459, allocations: 4 kB / 334.1 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1459, allocations: 0 / 334.1 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/0.1462, allocations: 241.5 kB / 334.4 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1462, allocations: 4 kB / 334.4 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.1464, allocations: 15.98 kB / 334.4 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.1464, allocations: 3.984 kB / 334.4 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.1464, allocations: 4 kB / 334.4 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.1464, allocations: 3.938 kB / 334.4 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1464, allocations: 0 / 334.4 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005238/0.1469, allocations: 277.1 kB / 334.7 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.1471, allocations: 108.9 kB / 334.8 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.1471, allocations: 4 kB / 334.8 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.1473, allocations: 19.91 kB / 334.8 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/0.1474, allocations: 11.98 kB / 334.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.1474, allocations: 4 kB / 334.8 MB, free: 11.65 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003349/0.1478, allocations: 189.5 kB / 335 MB, free: 11.47 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1478, allocations: 4 kB / 335 MB, free: 11.46 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004459/0.1482, allocations: 95.92 kB / 335.1 MB, free: 11.37 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.0008817/0.1491, allocations: 277.3 kB / 335.4 MB, free: 11.1 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000441/0.1496, allocations: 171.8 kB / 335.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.1496, allocations: 4 kB / 335.6 MB, free: 10.93 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.1497, allocations: 59.97 kB / 335.6 MB, free: 10.87 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.15, allocations: 15.84 kB / 335.6 MB, free: 10.86 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000779/0.1508, allocations: 407.9 kB / 336 MB, free: 10.43 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.1511, allocations: 0.7244 MB / 336.8 MB, free: 9.684 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.1512, allocations: 41.36 kB / 336.8 MB, free: 9.637 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.063e-05/0.1513, allocations: 19.44 kB / 336.8 MB, free: 9.621 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1513, allocations: 0 / 336.8 MB, free: 9.621 MB / 286.1 MB Notification: Performance of Templates: time 0.007612/0.1589, allocations: 3.018 MB / 339.8 MB, free: 6.602 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)