Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.005036/0.005036, allocations: 110.7 kB / 21.97 MB, free: 5.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 206.5 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 47.94 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3001, allocations: 49.15 MB / 397.1 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002421/0.3025, allocations: 1.344 MB / 398.5 MB, free: 8.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007081/0.3032, allocations: 366.1 kB / 398.8 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.153e-05/0.3032, allocations: 0 / 398.8 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.667e-05/0.3032, allocations: 1.469 kB / 398.8 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.281e-05/0.3033, allocations: 3.938 kB / 398.8 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005171/0.3038, allocations: 97.61 kB / 398.9 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.713e-05/0.3039, allocations: 20.23 kB / 399 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.3039, allocations: 2.812 kB / 399 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.449e-05/0.3039, allocations: 11.36 kB / 399 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.397e-05/0.304, allocations: 8.531 kB / 399 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.304, allocations: 1.031 kB / 399 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002835/0.3043, allocations: 124.6 kB / 399.1 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.3043, allocations: 6.094 kB / 399.1 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.3043, allocations: 11.48 kB / 399.1 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.3045, allocations: 83.33 kB / 399.2 MB, free: 7.699 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3045, allocations: 0 / 399.2 MB, free: 7.699 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3045, allocations: 9 kB / 399.2 MB, free: 7.691 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3045, allocations: 0 / 399.2 MB, free: 7.691 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003214/0.3048, allocations: 271 kB / 399.5 MB, free: 7.418 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3049, allocations: 13.39 kB / 399.5 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.582e-05/0.3049, allocations: 0.9844 kB / 399.5 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.378e-05/0.3049, allocations: 37.7 kB / 399.5 MB, free: 7.371 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.305, allocations: 7.641 kB / 399.5 MB, free: 7.367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.699e-05/0.305, allocations: 106.8 kB / 399.6 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.305, allocations: 1.75 kB / 399.6 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.3051, allocations: 5.719 kB / 399.6 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.192e-05/0.3052, allocations: 44.67 kB / 399.7 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.3052, allocations: 0 / 399.7 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.3052, allocations: 0 / 399.7 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3052, allocations: 5.5 kB / 399.7 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.72e-05/0.3052, allocations: 10.38 kB / 399.7 MB, free: 7.191 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.3055, allocations: 220.5 kB / 399.9 MB, free: 6.953 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.079e-05/0.3055, allocations: 39.59 kB / 400 MB, free: 6.918 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.136e-05/0.3056, allocations: 15.7 kB / 400 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-06/0.3056, allocations: 9.922 kB / 400 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.3057, allocations: 62.53 kB / 400 MB, free: 6.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3057, allocations: 0 / 400 MB, free: 6.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003067/0.306, allocations: 103.2 kB / 400.1 MB, free: 6.777 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.3061, allocations: 53.97 kB / 400.2 MB, free: 6.715 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.728e-05/0.3061, allocations: 107.7 kB / 400.3 MB, free: 6.609 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.896e-06/0.3061, allocations: 31.56 kB / 400.3 MB, free: 6.574 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.179e-05/0.3062, allocations: 81.2 kB / 400.4 MB, free: 6.492 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.3062, allocations: 15.45 kB / 400.4 MB, free: 6.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.3062, allocations: 22.36 kB / 400.4 MB, free: 6.461 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.019e-05/0.3062, allocations: 317.5 kB / 400.8 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.852e-05/0.3063, allocations: 12.05 kB / 400.8 MB, free: 6.141 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.575e-05/0.3063, allocations: 36.75 kB / 400.8 MB, free: 6.105 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.754e-05/0.3064, allocations: 48.59 kB / 400.8 MB, free: 6.066 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3064, allocations: 0 / 400.8 MB, free: 6.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.883e-05/0.3065, allocations: 71.91 kB / 400.9 MB, free: 6.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3065, allocations: 5.531 kB / 400.9 MB, free: 6.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.3065, allocations: 2.031 kB / 400.9 MB, free: 6.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3065, allocations: 1.125 kB / 400.9 MB, free: 6.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.292e-05/0.3066, allocations: 20.42 kB / 400.9 MB, free: 6.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3066, allocations: 1.219 kB / 400.9 MB, free: 6.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.09e-05/0.3066, allocations: 5.188 kB / 401 MB, free: 6.008 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.3066, allocations: 3.25 kB / 401 MB, free: 6.008 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,globalSeed.id_impure,globalSeed.seed,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * 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 6.058e-05/0.3067, allocations: 122.3 kB / 401.1 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.3067, allocations: 2.219 kB / 401.1 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.11e-05/0.3067, allocations: 9.438 kB / 401.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3067, allocations: 2.156 kB / 401.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3067, allocations: 0 / 401.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3067, allocations: 4 kB / 401.1 MB, free: 5.871 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.307, allocations: 310 kB / 401.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.307, allocations: 0 / 401.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.307, allocations: 7.562 kB / 401.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.307, allocations: 6 kB / 401.4 MB, free: 5.559 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.307, allocations: 1.125 kB / 401.4 MB, free: 5.559 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.307, allocations: 5.969 kB / 401.4 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.307, allocations: 4.875 kB / 401.4 MB, free: 5.551 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.3071, allocations: 170.1 kB / 401.6 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-06/0.3071, allocations: 6.641 kB / 401.6 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.3072, allocations: 6.609 kB / 401.6 MB, free: 5.383 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.69e-05/0.3072, allocations: 1.375 kB / 401.6 MB, free: 5.383 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.3072, allocations: 8.672 kB / 401.6 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.3072, allocations: 7.094 kB / 401.6 MB, free: 5.375 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.723e-05/0.3073, allocations: 85.61 kB / 401.7 MB, free: 5.297 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3073, allocations: 0 / 401.7 MB, free: 5.297 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.3076, allocations: 29.55 kB / 401.7 MB, free: 5.289 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006226/0.3082, allocations: 0.7935 MB / 402.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001207/0.3083, allocations: 45.45 kB / 402.6 MB, free: 4.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3083, allocations: 0 / 402.6 MB, free: 4.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.018e-05/0.3083, allocations: 23.84 kB / 402.6 MB, free: 4.508 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.3086, allocations: 6.625 kB / 402.6 MB, free: 4.504 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.3096, allocations: 1.312 MB / 403.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.3097, allocations: 0.6845 MB / 404.6 MB, free: 2.527 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.387e-05/0.3098, allocations: 12.03 kB / 404.6 MB, free: 2.523 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.3098, allocations: 16.02 kB / 404.6 MB, free: 2.512 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3098, allocations: 0 / 404.6 MB, free: 2.512 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.3331, allocations: 2.218 MB / 406.8 MB, free: 1.777 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.52, allocations: 15.2 kB / 406.9 MB, free: 1.766 MB / 318.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator_fmu --startTime=0 --stopTime=2 --stepSize=0.000384541 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.773788290971424] Failed to read output from testmodel.py, exit status != 0: ['time', 'impureRandom_y'] 11.670377945003565 11.686531301 11.378919016 Calling exit ...