Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001491/0.001491, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.544/1.544, allocations: 230.6 MB / 258.3 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 64.77 kB / 378.5 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3241, allocations: 53.38 MB / 431.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003581/0.3277, allocations: 1.681 MB / 433.6 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002764/0.3304, allocations: 1.282 MB / 434.9 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.3305, allocations: 0 / 434.9 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003966/0.3309, allocations: 31.78 kB / 434.9 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.3311, allocations: 43.7 kB / 435 MB, free: 3.816 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0008898/0.3319, allocations: 311.1 kB / 435.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.3323, allocations: 199.5 kB / 435.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.3325, allocations: 21.25 kB / 435.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.3327, allocations: 87.67 kB / 435.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007409/0.3335, allocations: 110.3 kB / 435.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.772e-05/0.3335, allocations: 12 kB / 435.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005946/0.3341, allocations: 323.4 kB / 436 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.3342, allocations: 63.8 kB / 436.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.085e-05/0.3343, allocations: 67.59 kB / 436.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005382/0.3348, allocations: 331.6 kB / 436.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3348, allocations: 0 / 436.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3348, allocations: 0 / 436.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3348, allocations: 0 / 436.5 MB, free: 2.328 MB / 334.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.001202/0.3361, allocations: 496.9 kB / 436.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3361, allocations: 12.03 kB / 437 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.883e-05/0.3361, allocations: 38.69 kB / 437 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.3364, allocations: 36.78 kB / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.3368, allocations: 219 kB / 437.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.3368, allocations: 8.375 kB / 437.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.3369, allocations: 11.94 kB / 437.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.3371, allocations: 101.6 kB / 437.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3371, allocations: 0 / 437.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.3371, allocations: 4 kB / 437.4 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3371, allocations: 0 / 437.4 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.3373, allocations: 79.88 kB / 437.4 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008535/0.3382, allocations: 431.5 kB / 437.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.3385, allocations: 114.5 kB / 438 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.3386, allocations: 56.81 kB / 438 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.3386, allocations: 4.094 kB / 438 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.3388, allocations: 119.3 kB / 438.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.3388, allocations: 0 / 438.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004985/0.3393, allocations: 237.5 kB / 438.4 MB, free: 260 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.3394, allocations: 59.39 kB / 438.4 MB, free: 188 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000418/0.3398, allocations: 247.8 kB / 438.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.3398, allocations: 33.7 kB / 438.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.966e-05/0.3399, allocations: 116.1 kB / 438.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.34, allocations: 43.78 kB / 438.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-05/0.34, allocations: 49.69 kB / 438.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3402, allocations: 330.8 kB / 439.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.3403, allocations: 79.95 kB / 439.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.3405, allocations: 109.7 kB / 439.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.3408, allocations: 177.6 kB / 439.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3408, allocations: 4 kB / 439.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004451/0.3413, allocations: 257.5 kB / 439.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3413, allocations: 7.938 kB / 439.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3413, allocations: 4 kB / 439.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3413, allocations: 4.031 kB / 439.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.3415, allocations: 31.92 kB / 439.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.3415, allocations: 3.984 kB / 439.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.3417, allocations: 35.8 kB / 439.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.3417, allocations: 4 kB / 439.9 MB, free: 14.62 MB / 350.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.0001337/0.3418, allocations: 141.9 kB / 440.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.3419, allocations: 27.77 kB / 440.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.314e-05/0.3419, allocations: 21.47 kB / 440.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.3419, allocations: 0 / 440.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3419, allocations: 0 / 440.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3419, allocations: 0 / 440.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.3422, allocations: 216.5 kB / 440.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3422, allocations: 0 / 440.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.3423, allocations: 15.98 kB / 440.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3423, allocations: 3.938 kB / 440.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.3423, allocations: 4 kB / 440.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.3423, allocations: 4 kB / 440.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3423, allocations: 0 / 440.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004822/0.3428, allocations: 284 kB / 440.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.3429, allocations: 27.88 kB / 440.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.3429, allocations: 15.92 kB / 440.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.3431, allocations: 15.98 kB / 440.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.3431, allocations: 7.984 kB / 440.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.3431, allocations: 12.05 kB / 440.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003105/0.3435, allocations: 189.4 kB / 440.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3435, allocations: 0 / 440.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003335/0.3438, allocations: 87.8 kB / 441 MB, free: 13.5 MB / 350.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.001292/0.3451, allocations: 0.9707 MB / 442 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003646/0.3454, allocations: 151.9 kB / 442.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3454, allocations: 0 / 442.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.3456, allocations: 71.83 kB / 442.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.3458, allocations: 16 kB / 442.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/0.3492, allocations: 2.362 MB / 444.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.3496, allocations: 0.7356 MB / 445.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.931e-05/0.3497, allocations: 37.38 kB / 445.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.505e-05/0.3498, allocations: 47.42 kB / 445.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3498, allocations: 0 / 445.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/0.381, allocations: 5.238 MB / 450.6 MB, free: 3.859 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.352/8.733, allocations: 8 kB / 450.6 MB, free: 3.852 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00249994 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.353556465823203] Failed to read output from testmodel.py, exit status != 0: ['time', 'Hw.x_scaled[1]', 'Hw.x_scaled[2]'] 8.806360057089478 8.823084663 8.484754333 Calling exit ...