Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.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.00126/0.00126, allocations: 112.2 kB / 21.22 MB, free: 0.7422 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.001425/0.001425, allocations: 209.2 kB / 24.52 MB, free: 4.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 7.984 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+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.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 55.92 kB / 378.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2971, allocations: 53.36 MB / 431.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002869/0.2999, allocations: 1.356 MB / 433.3 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008182/0.3008, allocations: 366.8 kB / 433.6 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.615e-05/0.3008, allocations: 0 / 433.6 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.3008, allocations: 4 kB / 433.6 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.104e-05/0.3009, allocations: 7.938 kB / 433.7 MB, free: 5.121 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.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.0005231/0.3014, allocations: 91.7 kB / 433.7 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.929e-05/0.3015, allocations: 11.98 kB / 433.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.908e-05/0.3015, allocations: 4 kB / 433.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.083e-05/0.3015, allocations: 23.86 kB / 433.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.42e-05/0.3016, allocations: 11.86 kB / 433.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.3016, allocations: 4 kB / 433.8 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/0.3018, allocations: 119.8 kB / 433.9 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.3018, allocations: 0 / 433.9 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.3019, allocations: 15.92 kB / 433.9 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.3021, allocations: 79.62 kB / 434 MB, free: 4.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3021, allocations: 0 / 434 MB, free: 4.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3021, allocations: 0 / 434 MB, free: 4.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.3021, allocations: 0 / 434 MB, free: 4.77 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004395/0.3025, allocations: 286.7 kB / 434.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.3026, allocations: 8.031 kB / 434.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.771e-05/0.3026, allocations: 192 / 434.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.3026, allocations: 30.75 kB / 434.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.3027, allocations: 8.875 kB / 434.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.3028, allocations: 114.5 kB / 434.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.3028, allocations: 384 / 434.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.3028, allocations: 4.375 kB / 434.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.3029, allocations: 42 kB / 434.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3029, allocations: 4 kB / 434.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3029, allocations: 3.984 kB / 434.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.303, allocations: 0 / 434.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.322e-05/0.303, allocations: 15.94 kB / 434.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.3034, allocations: 216 kB / 434.7 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.338e-05/0.3034, allocations: 38.5 kB / 434.8 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.3035, allocations: 12.86 kB / 434.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.3035, allocations: 8.094 kB / 434.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.3036, allocations: 59.33 kB / 434.8 MB, free: 3.801 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3036, allocations: 0 / 434.8 MB, free: 3.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003332/0.304, allocations: 101.5 kB / 434.9 MB, free: 3.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.304, allocations: 51.41 kB / 435 MB, free: 3.633 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.3041, allocations: 113.8 kB / 435.1 MB, free: 3.512 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.3042, allocations: 25.7 kB / 435.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.3042, allocations: 84.14 kB / 435.2 MB, free: 3.395 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.3042, allocations: 15.91 kB / 435.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.3043, allocations: 21.7 kB / 435.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3044, allocations: 322.8 kB / 435.6 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.799e-05/0.3044, allocations: 7.984 kB / 435.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.481e-05/0.3045, allocations: 26.58 kB / 435.6 MB, free: 2.984 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.346e-05/0.3046, allocations: 54.5 kB / 435.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3046, allocations: 0.6875 kB / 435.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001243/0.3047, allocations: 77.58 kB / 435.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3047, allocations: 7.938 kB / 435.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.3047, allocations: 4 kB / 435.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.3047, allocations: 8 kB / 435.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/0.3048, allocations: 8 kB / 435.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.3048, allocations: 3.984 kB / 435.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.089e-05/0.3048, allocations: 8.062 kB / 435.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.3048, allocations: 0 / 435.8 MB, free: 2.801 MB / 334.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 0.0001061/0.3049, allocations: 121.7 kB / 435.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.305, allocations: 4 kB / 435.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.305, allocations: 8.375 kB / 435.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.305, allocations: 3.984 kB / 435.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.305, allocations: 0 / 435.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.305, allocations: 0 / 435.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.3054, allocations: 311.2 kB / 436.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3054, allocations: 0 / 436.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.883e-05/0.3054, allocations: 11.98 kB / 436.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3054, allocations: 0 / 436.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.3054, allocations: 0 / 436.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.3054, allocations: 4 kB / 436.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3054, allocations: 3.938 kB / 436.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.3056, allocations: 177.3 kB / 436.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.3056, allocations: 3.953 kB / 436.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.3056, allocations: 4 kB / 436.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.889e-05/0.3057, allocations: 3.984 kB / 436.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.3057, allocations: 7.938 kB / 436.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.3057, allocations: 0 / 436.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.595e-05/0.3058, allocations: 87.27 kB / 436.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3058, allocations: 4 kB / 436.5 MB, free: 1.969 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00031/0.3061, allocations: 27.94 kB / 436.5 MB, free: 1.941 MB / 334.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.0009602/0.307, allocations: 0.8002 MB / 437.3 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.3072, allocations: 35.92 kB / 437.4 MB, free: 1.105 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3072, allocations: 0 / 437.4 MB, free: 1.105 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.128e-05/0.3072, allocations: 20.12 kB / 437.4 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.3075, allocations: 11.92 kB / 437.4 MB, free: 1.074 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.3091, allocations: 1.313 MB / 438.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.3096, allocations: 0.6807 MB / 439.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.579e-05/0.3096, allocations: 7.984 kB / 439.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.3097, allocations: 19.38 kB / 439.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3097, allocations: 0 / 439.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.3364, allocations: 2.214 MB / 441.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.31, allocations: 14.91 kB / 441.6 MB, free: 12.84 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_ImpureGenerator_fmu --startTime=0 --stopTime=2 --stepSize=0.000384541 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_ImpureGenerator.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.66709769400768] Failed to read output from testmodel.py, exit status != 0: ['time', 'impureRandom_y'] 11.463923281989992 11.480243203 11.174774258 Calling exit ...