Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.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.001169/0.001169, allocations: 106.5 kB / 19.74 MB, free: 2.453 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.001285/0.001285, allocations: 221.2 kB / 22.92 MB, free: 5.191 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.326/1.326, allocations: 230.4 MB / 256.4 MB, free: 8.273 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.ImpureGenerator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_ImpureGenerator",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.001819/0.001819, allocations: 67.89 kB / 376.1 MB, free: 4.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2421, allocations: 53.31 MB / 429.4 MB, free: 7.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002245/0.2443, allocations: 1.371 MB / 430.8 MB, free: 6.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007153/0.245, allocations: 362.8 kB / 431.1 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.023e-05/0.245, allocations: 0 / 431.1 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.3e-05/0.2451, allocations: 3.938 kB / 431.1 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.038e-05/0.2451, allocations: 0 / 431.1 MB, free: 5.734 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.0004295/0.2456, allocations: 91.7 kB / 431.2 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.216e-05/0.2456, allocations: 15.94 kB / 431.2 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.834e-05/0.2457, allocations: 4 kB / 431.2 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.738e-05/0.2457, allocations: 11.92 kB / 431.2 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.278e-05/0.2457, allocations: 11.92 kB / 431.3 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.2457, allocations: 4 kB / 431.3 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.2459, allocations: 95.83 kB / 431.4 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.2459, allocations: 0 / 431.4 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.2459, allocations: 11.94 kB / 431.4 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.2461, allocations: 83.61 kB / 431.4 MB, free: 5.414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2461, allocations: 0 / 431.4 MB, free: 5.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2461, allocations: 0 / 431.4 MB, free: 5.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.2461, allocations: 0 / 431.4 MB, free: 5.414 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.0004082/0.2465, allocations: 347.8 kB / 431.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2466, allocations: 16.03 kB / 431.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.455e-05/0.2466, allocations: 34.75 kB / 431.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.329e-05/0.2466, allocations: 0.9375 kB / 431.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.2468, allocations: 176.3 kB / 432 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.2468, allocations: 4.312 kB / 432 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.2468, allocations: 384 / 432 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.087e-05/0.2469, allocations: 42.25 kB / 432.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.2469, allocations: 3.938 kB / 432.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.2469, allocations: 0 / 432.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.2469, allocations: 0 / 432.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.04e-05/0.2469, allocations: 8 kB / 432.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.2473, allocations: 245 kB / 432.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.909e-05/0.2473, allocations: 34.45 kB / 432.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.319e-05/0.2473, allocations: 8.922 kB / 432.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.2473, allocations: 3.984 kB / 432.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.2475, allocations: 63.33 kB / 432.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.2475, allocations: 0 / 432.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001553/0.2476, allocations: 57.62 kB / 432.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.2477, allocations: 51.41 kB / 432.5 MB, free: 4.148 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.813e-05/0.2477, allocations: 113.8 kB / 432.6 MB, free: 4.027 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.2477, allocations: 25.7 kB / 432.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.2478, allocations: 84.14 kB / 432.7 MB, free: 3.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.2478, allocations: 11.89 kB / 432.7 MB, free: 3.898 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.2478, allocations: 25.7 kB / 432.8 MB, free: 3.867 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2479, allocations: 310.8 kB / 433.1 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.248, allocations: 8 kB / 433.1 MB, free: 3.547 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.878e-05/0.248, allocations: 21.7 kB / 433.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.762e-05/0.248, allocations: 33.59 kB / 433.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.248, allocations: 0 / 433.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.576e-05/0.2481, allocations: 57.69 kB / 433.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.2481, allocations: 8 kB / 433.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.2481, allocations: 0 / 433.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.2482, allocations: 0 / 433.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.348e-05/0.2482, allocations: 19.86 kB / 433.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2482, allocations: 0 / 433.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.491e-05/0.2482, allocations: 0 / 433.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.2482, allocations: 4 kB / 433.2 MB, free: 3.387 MB / 334.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: 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 (5): * Single equations (assignments): 5 * 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 7.335e-05/0.2483, allocations: 109.8 kB / 433.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.2483, allocations: 15.98 kB / 433.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/0.2484, allocations: 3.906 kB / 433.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2484, allocations: 0 / 433.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2484, allocations: 0 / 433.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2484, allocations: 0 / 433.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.2486, allocations: 294.5 kB / 433.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2486, allocations: 0 / 433.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.084e-05/0.2486, allocations: 0 / 433.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.2486, allocations: 0 / 433.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.2486, allocations: 4 kB / 433.6 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2486, allocations: 4 kB / 433.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2486, allocations: 0 / 433.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.2487, allocations: 151.5 kB / 433.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.2488, allocations: 81.39 kB / 433.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.2488, allocations: 384 / 433.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.847e-05/0.2488, allocations: 3.938 kB / 433.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.2488, allocations: 4 kB / 433.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.2489, allocations: 7.984 kB / 433.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.939e-05/0.2489, allocations: 95.2 kB / 434 MB, free: 2.516 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2489, allocations: 0 / 434 MB, free: 2.516 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.2491, allocations: 27.94 kB / 434 MB, free: 2.488 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 2 * 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.000685/0.2498, allocations: 0.7633 MB / 434.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.085e-05/0.2499, allocations: 23.97 kB / 434.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2499, allocations: 0 / 434.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.551e-05/0.25, allocations: 11.98 kB / 434.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.2501, allocations: 0 / 434.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.2512, allocations: 1.227 MB / 436 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.2514, allocations: 0.6807 MB / 436.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.555e-05/0.2515, allocations: 4 kB / 436.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.2515, allocations: 19.45 kB / 436.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2515, allocations: 3.938 kB / 436.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.2747, allocations: 1.915 MB / 438.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.1/7.375, allocations: 18.61 kB / 438.7 MB, free: 13.8 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_ImpureGenerator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_ImpureGenerator.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.50668903299811]