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.001301/0.001301, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00157/0.00157, allocations: 212.6 kB / 24.51 MB, free: 3.941 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.375/1.375, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.001528/0.001528, allocations: 55.91 kB / 378.5 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2418, allocations: 53.36 MB / 431.9 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.00245/0.2443, allocations: 1.352 MB / 433.2 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007511/0.245, allocations: 354.8 kB / 433.6 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.575e-05/0.2451, allocations: 0 / 433.6 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.2451, allocations: 3.938 kB / 433.6 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.025e-05/0.2451, allocations: 4 kB / 433.6 MB, free: 4.938 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.0004753/0.2456, allocations: 95.69 kB / 433.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.09e-05/0.2457, allocations: 19.92 kB / 433.7 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.2457, allocations: 4 kB / 433.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.429e-05/0.2457, allocations: 7.938 kB / 433.7 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.278e-05/0.2458, allocations: 11.97 kB / 433.7 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.277e-06/0.2458, allocations: 0 / 433.7 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002424/0.246, allocations: 123.8 kB / 433.8 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.246, allocations: 7.922 kB / 433.8 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.2461, allocations: 8 kB / 433.8 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.2462, allocations: 85.86 kB / 433.9 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2462, allocations: 4 kB / 433.9 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2462, allocations: 0 / 433.9 MB, free: 4.582 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.2463, allocations: 0 / 433.9 MB, free: 4.582 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.0003809/0.2466, allocations: 278.1 kB / 434.2 MB, free: 4.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.2467, allocations: 8.031 kB / 434.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.945e-05/0.2467, allocations: 192 / 434.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.943e-05/0.2468, allocations: 38.75 kB / 434.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.2468, allocations: 0.9375 kB / 434.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.293e-05/0.2469, allocations: 110.5 kB / 434.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.2469, allocations: 384 / 434.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.2469, allocations: 4.375 kB / 434.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.893e-05/0.247, allocations: 49.94 kB / 434.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.247, allocations: 0 / 434.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.247, allocations: 7.969 kB / 434.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.247, allocations: 4 kB / 434.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.134e-05/0.2471, allocations: 4 kB / 434.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.2474, allocations: 216.1 kB / 434.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.934e-05/0.2474, allocations: 34.45 kB / 434.7 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.2475, allocations: 20.94 kB / 434.7 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.2475, allocations: 3.938 kB / 434.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.2476, allocations: 59.39 kB / 434.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.2476, allocations: 4 kB / 434.7 MB, free: 3.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000301/0.2479, allocations: 109.9 kB / 434.9 MB, free: 3.504 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.2479, allocations: 51.41 kB / 434.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.497e-05/0.248, allocations: 113.7 kB / 435 MB, free: 3.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.248, allocations: 25.7 kB / 435 MB, free: 3.289 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.2481, allocations: 84.14 kB / 435.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.2481, allocations: 15.89 kB / 435.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.2481, allocations: 21.72 kB / 435.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2483, allocations: 322.8 kB / 435.5 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.603e-05/0.2483, allocations: 8 kB / 435.5 MB, free: 2.828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.367e-05/0.2483, allocations: 34.56 kB / 435.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.681e-05/0.2484, allocations: 46.52 kB / 435.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.2484, allocations: 0 / 435.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000112/0.2485, allocations: 73.58 kB / 435.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.2485, allocations: 8 kB / 435.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2485, allocations: 0 / 435.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2485, allocations: 0 / 435.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.987e-05/0.2486, allocations: 19.92 kB / 435.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2486, allocations: 0 / 435.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.095e-05/0.2486, allocations: 8.062 kB / 435.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.2487, allocations: 4 kB / 435.7 MB, free: 2.613 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 8.682e-05/0.2487, allocations: 117.8 kB / 435.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-06/0.2487, allocations: 0 / 435.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.2488, allocations: 8.359 kB / 435.8 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2488, allocations: 4 kB / 435.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2488, allocations: 0 / 435.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2488, allocations: 0 / 435.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/0.2491, allocations: 299.2 kB / 436.1 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2491, allocations: 8.062 kB / 436.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.853e-05/0.2492, allocations: 12.3 kB / 436.1 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2492, allocations: 4 kB / 436.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.2492, allocations: 0 / 436.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.2492, allocations: 4 kB / 436.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.2492, allocations: 3.938 kB / 436.1 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.2493, allocations: 169.3 kB / 436.3 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.425e-06/0.2493, allocations: 3.953 kB / 436.3 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.2494, allocations: 7.938 kB / 436.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.07e-05/0.2494, allocations: 7.984 kB / 436.3 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.2494, allocations: 15.81 kB / 436.3 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.2494, allocations: 4 kB / 436.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.185e-05/0.2495, allocations: 91.27 kB / 436.4 MB, free: 1.777 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2495, allocations: 0 / 436.4 MB, free: 1.777 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.2497, allocations: 23.94 kB / 436.4 MB, free: 1.754 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.0007987/0.2505, allocations: 0.8055 MB / 437.2 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.2507, allocations: 31.98 kB / 437.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2507, allocations: 0 / 437.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.21e-05/0.2507, allocations: 19.94 kB / 437.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.2509, allocations: 3.938 kB / 437.3 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.252, allocations: 1.322 MB / 438.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.769e-05/0.2521, allocations: 67.34 kB / 438.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.484e-05/0.2521, allocations: 8.219 kB / 438.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.2522, allocations: 15.44 kB / 438.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2522, allocations: 0 / 438.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/0.2739, allocations: 2.247 MB / 441 MB, free: 13.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.72, allocations: 8.062 kB / 441 MB, free: 13.26 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: 12.99049943801947] Failed to read output from testmodel.py, exit status != 0: ['time', 'impureRandom_y'] 10.874165826011449 10.888354249 10.639199736 Calling exit ...