Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 101.5 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 184.4 kB / 24.48 MB, free: 3.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 225.7 MB / 253.3 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 47.92 kB / 371.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2435, allocations: 52.19 MB / 423.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002502/0.246, allocations: 1.33 MB / 424.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007099/0.2467, allocations: 349.5 kB / 425 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.2467, allocations: 0 / 425 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.5e-05/0.2468, allocations: 7.938 kB / 425 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.169e-05/0.2468, allocations: 0 / 425 MB, free: 12.7 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0004446/0.2472, allocations: 99.69 kB / 425.1 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.819e-05/0.2473, allocations: 11.94 kB / 425.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.351e-05/0.2473, allocations: 4 kB / 425.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.529e-05/0.2474, allocations: 15.91 kB / 425.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.142e-05/0.2474, allocations: 7.938 kB / 425.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.2474, allocations: 4 kB / 425.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.2476, allocations: 127.8 kB / 425.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.2476, allocations: 0 / 425.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.2477, allocations: 11.92 kB / 425.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.2478, allocations: 85.88 kB / 425.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.2478, allocations: 0 / 425.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2478, allocations: 0 / 425.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.2478, allocations: 0 / 425.4 MB, free: 12.34 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.000359/0.2482, allocations: 274.2 kB / 425.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.2482, allocations: 8.031 kB / 425.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.386e-05/0.2483, allocations: 4.188 kB / 425.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.2483, allocations: 34.7 kB / 425.7 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.298e-05/0.2483, allocations: 4.938 kB / 425.7 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.299e-05/0.2484, allocations: 110.5 kB / 425.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.2484, allocations: 8.359 kB / 425.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.2485, allocations: 7.938 kB / 425.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.893e-05/0.2485, allocations: 41.67 kB / 425.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.2485, allocations: 0 / 425.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.2486, allocations: 7.938 kB / 425.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.2486, allocations: 0 / 425.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.157e-05/0.2486, allocations: 8 kB / 425.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.2489, allocations: 231.9 kB / 426.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.708e-05/0.249, allocations: 34.5 kB / 426.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.859e-05/0.249, allocations: 20.86 kB / 426.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-06/0.249, allocations: 0 / 426.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/0.2491, allocations: 55.5 kB / 426.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.2491, allocations: 0 / 426.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002921/0.2494, allocations: 105.5 kB / 426.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.2495, allocations: 55.39 kB / 426.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.106e-05/0.2496, allocations: 101.9 kB / 426.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.2496, allocations: 25.7 kB / 426.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.2496, allocations: 88.12 kB / 426.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.2497, allocations: 15.86 kB / 426.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.2497, allocations: 25.72 kB / 426.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2498, allocations: 322.8 kB / 427 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.8e-05/0.2499, allocations: 12 kB / 427 MB, free: 10.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.438e-05/0.2499, allocations: 34.5 kB / 427 MB, free: 10.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.212e-05/0.25, allocations: 38.58 kB / 427 MB, free: 10.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.25, allocations: 0 / 427 MB, free: 10.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001185/0.2501, allocations: 70.38 kB / 427.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.2501, allocations: 8 kB / 427.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2501, allocations: 4.062 kB / 427.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.2501, allocations: 3.984 kB / 427.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.564e-05/0.2502, allocations: 15.94 kB / 427.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.2502, allocations: 0 / 427.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.2502, allocations: 0 / 427.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.2502, allocations: 11.94 kB / 427.1 MB, free: 10.38 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.997e-05/0.2503, allocations: 113.8 kB / 427.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.2503, allocations: 7.938 kB / 427.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.2503, allocations: 12.38 kB / 427.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.2503, allocations: 0 / 427.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.2503, allocations: 4 kB / 427.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.2503, allocations: 0 / 427.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.2507, allocations: 307.2 kB / 427.6 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2507, allocations: 0 / 427.6 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.717e-05/0.2507, allocations: 7.984 kB / 427.6 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2507, allocations: 7.938 kB / 427.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.2507, allocations: 7.938 kB / 427.6 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.2507, allocations: 0 / 427.6 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2507, allocations: 4 kB / 427.6 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.2509, allocations: 177.2 kB / 427.8 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-06/0.2509, allocations: 8.062 kB / 427.8 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.2509, allocations: 7.922 kB / 427.8 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.57e-05/0.2509, allocations: 0 / 427.8 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.025e-05/0.251, allocations: 8 kB / 427.8 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.251, allocations: 4 kB / 427.8 MB, free: 9.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.605e-05/0.251, allocations: 83.27 kB / 427.9 MB, free: 9.543 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.251, allocations: 0 / 427.9 MB, free: 9.543 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.2513, allocations: 27.94 kB / 427.9 MB, free: 9.516 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.0007614/0.252, allocations: 0.812 MB / 428.7 MB, free: 8.711 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.2521, allocations: 35.92 kB / 428.8 MB, free: 8.676 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2521, allocations: 4 kB / 428.8 MB, free: 8.672 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.076e-05/0.2522, allocations: 12.23 kB / 428.8 MB, free: 8.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.2524, allocations: 15.98 kB / 428.8 MB, free: 8.645 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.2535, allocations: 1.31 MB / 430.1 MB, free: 7.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.098e-05/0.2536, allocations: 67.2 kB / 430.2 MB, free: 7.145 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.393e-05/0.2536, allocations: 7.984 kB / 430.2 MB, free: 7.137 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.2537, allocations: 15.44 kB / 430.2 MB, free: 7.121 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2537, allocations: 0 / 430.2 MB, free: 7.121 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.2755, allocations: 2.235 MB / 432.4 MB, free: 5.031 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.77, allocations: 14.8 kB / 432.4 MB, free: 5.02 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator_fmu --startTime=0 --stopTime=2 --stepSize=0.000384541 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_ImpureGenerator.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.041263689985499] Failed to read output from testmodel.py, exit status != 0: ['time', 'impureRandom_y'] 10.94009993900545 10.959036802 10.706850473 Calling exit ...