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.001744/0.001744, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.002037/0.002037, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.47/1.47, allocations: 230.5 MB / 254.8 MB, free: 15.07 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.002017/0.002017, allocations: 79.8 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1067, allocations: 53.32 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002983/0.1097, allocations: 1.677 MB / 428.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.1119, allocations: 1.267 MB / 429.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.434e-05/0.112, allocations: 4 kB / 430 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.1124, allocations: 31.78 kB / 430 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.1125, allocations: 35.77 kB / 430 MB, free: 1.742 MB / 350.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.0007414/0.1132, allocations: 295.1 kB / 430.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.1135, allocations: 179.5 kB / 430.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.172e-05/0.1136, allocations: 17.11 kB / 430.5 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.1137, allocations: 87.67 kB / 430.6 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005506/0.1143, allocations: 111.9 kB / 430.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.1143, allocations: 12 kB / 430.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004413/0.1148, allocations: 283.5 kB / 431 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.1149, allocations: 67.73 kB / 431 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.039e-05/0.115, allocations: 67.59 kB / 431.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005146/0.1155, allocations: 326.9 kB / 431.4 MB, free: 336 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1155, allocations: 0 / 431.4 MB, free: 336 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1155, allocations: 0 / 431.4 MB, free: 336 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1155, allocations: 3.938 kB / 431.4 MB, free: 332 kB / 350.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.1995/0.315, allocations: 0.5502 MB / 432 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.3151, allocations: 14.56 kB / 432 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.3151, allocations: 36.64 kB / 432 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.3153, allocations: 31.03 kB / 432.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004528/0.3158, allocations: 270 kB / 432.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.3158, allocations: 9.641 kB / 432.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.3158, allocations: 5.188 kB / 432.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.316, allocations: 102.8 kB / 432.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3161, allocations: 3.938 kB / 432.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3161, allocations: 2.312 kB / 432.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3161, allocations: 2.25 kB / 432.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.3163, allocations: 86.98 kB / 432.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007523/0.317, allocations: 449.9 kB / 433 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.3173, allocations: 119.6 kB / 433.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.817e-05/0.3174, allocations: 53.84 kB / 433.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.3174, allocations: 0.6875 kB / 433.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.3176, allocations: 124.8 kB / 433.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.3176, allocations: 0 / 433.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000476/0.3181, allocations: 237 kB / 433.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3181, allocations: 57.67 kB / 433.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.3184, allocations: 247.2 kB / 433.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.3185, allocations: 40.28 kB / 433.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.3185, allocations: 117.2 kB / 434 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.3186, allocations: 46.12 kB / 434 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-05/0.3186, allocations: 46 kB / 434 MB, free: 10.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.458e-05/0.3187, allocations: 338.8 kB / 434.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.3188, allocations: 81.64 kB / 434.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.319, allocations: 111.6 kB / 434.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.3193, allocations: 175.8 kB / 434.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3193, allocations: 0 / 434.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003877/0.3197, allocations: 261.5 kB / 435 MB, free: 9.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3197, allocations: 7.359 kB / 435 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3197, allocations: 3 kB / 435 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3197, allocations: 2.469 kB / 435 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.3199, allocations: 32.17 kB / 435 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3199, allocations: 8.469 kB / 435 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.3201, allocations: 26.22 kB / 435.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.3201, allocations: 11.03 kB / 435.1 MB, free: 9.684 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.0001002/0.3202, allocations: 140.2 kB / 435.2 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.3202, allocations: 15.94 kB / 435.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.375e-05/0.3203, allocations: 20.17 kB / 435.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3203, allocations: 3.672 kB / 435.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3203, allocations: 3.938 kB / 435.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3203, allocations: 4.281 kB / 435.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.3205, allocations: 242.8 kB / 435.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3205, allocations: 0 / 435.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.3206, allocations: 18.48 kB / 435.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3206, allocations: 3.656 kB / 435.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.3206, allocations: 5.594 kB / 435.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3206, allocations: 0 / 435.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3206, allocations: 5 kB / 435.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004384/0.321, allocations: 280.1 kB / 435.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.957e-05/0.3211, allocations: 110.2 kB / 435.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.3211, allocations: 8.906 kB / 435.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.3213, allocations: 18.2 kB / 435.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.3214, allocations: 11.73 kB / 436 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.3214, allocations: 4.625 kB / 436 MB, free: 9.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002953/0.3217, allocations: 192.3 kB / 436.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3217, allocations: 0 / 436.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003796/0.3221, allocations: 88.23 kB / 436.2 MB, free: 9.082 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.001132/0.3232, allocations: 0.9663 MB / 437.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00035/0.3235, allocations: 162.7 kB / 437.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3235, allocations: 0 / 437.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.3237, allocations: 63.97 kB / 437.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.3239, allocations: 22.27 kB / 437.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003073/0.327, allocations: 2.36 MB / 439.8 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.3271, allocations: 0.7354 MB / 440.5 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.3272, allocations: 32.05 kB / 440.6 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.751e-05/0.3273, allocations: 48.7 kB / 440.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3273, allocations: 1.094 kB / 440.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.3583, allocations: 5.17 MB / 445.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.535/8.894, allocations: 9.062 kB / 445.8 MB, free: 5.48 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.39597194781527] Failed to read output from testmodel.py, exit status != 0: ['time', 'Hw.x_scaled[1]', 'Hw.x_scaled[2]'] 8.965581639204174 8.98171822 8.86194693 Calling exit ...