Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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: translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002279/0.00228, allocations: 194.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 55.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2806, allocations: 46.64 MB / 325.3 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.003756/0.2845, allocations: 1.331 MB / 326.6 MB, free: 0.7891 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.2855, allocations: 360.7 kB / 327 MB, free: 0.5195 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.219e-05/0.2856, allocations: 3.562 kB / 327 MB, free: 0.5195 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 4.053e-05/0.2856, allocations: 0 / 327 MB, free: 0.5195 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 7.632e-05/0.2857, allocations: 3.938 kB / 327 MB, free: 0.5156 MB / 254.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:994:5-1084:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. Notification: Performance of NFTyping.typeClassSections: time 0.000689/0.2864, allocations: 79.69 kB / 327.1 MB, free: 472 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 8.058e-05/0.2865, allocations: 17.78 kB / 327.1 MB, free: 464 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.61e-05/0.2866, allocations: 0 / 327.1 MB, free: 464 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.2e-05/0.2866, allocations: 15.86 kB / 327.1 MB, free: 452 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.407e-05/0.2867, allocations: 11.86 kB / 327.1 MB, free: 444 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.2867, allocations: 0 / 327.1 MB, free: 444 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002413/0.2869, allocations: 77.55 kB / 327.2 MB, free: 404 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 2.66e-05/0.287, allocations: 9.172 kB / 327.2 MB, free: 396 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.287, allocations: 10.34 kB / 327.2 MB, free: 388 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.2873, allocations: 90.72 kB / 327.3 MB, free: 328 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.2873, allocations: 0 / 327.3 MB, free: 328 kB / 254.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2873, allocations: 1.5 kB / 327.3 MB, free: 328 kB / 254.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.2874, allocations: 0 / 327.3 MB, free: 328 kB / 254.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.0007315/0.2881, allocations: 349.1 kB / 327.7 MB, free: 15.94 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.294e-05/0.2882, allocations: 13.55 kB / 327.7 MB, free: 15.94 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.562e-05/0.2882, allocations: 2.375 kB / 327.7 MB, free: 15.94 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.2885, allocations: 170.5 kB / 327.8 MB, free: 15.73 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.2885, allocations: 1.531 kB / 327.8 MB, free: 15.73 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.2885, allocations: 1.594 kB / 327.8 MB, free: 15.73 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.2887, allocations: 38.47 kB / 327.9 MB, free: 15.7 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.2887, allocations: 192 / 327.9 MB, free: 15.7 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.2887, allocations: 3.938 kB / 327.9 MB, free: 15.69 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2887, allocations: 5.469 kB / 327.9 MB, free: 15.69 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.919e-05/0.2888, allocations: 5.5 kB / 327.9 MB, free: 15.68 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.2893, allocations: 241.8 kB / 328.1 MB, free: 15.41 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.121e-05/0.2894, allocations: 20.67 kB / 328.1 MB, free: 15.38 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.069e-05/0.2894, allocations: 21.34 kB / 328.2 MB, free: 15.36 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.2895, allocations: 0 / 328.2 MB, free: 15.36 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.2897, allocations: 58.5 kB / 328.2 MB, free: 15.3 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.2897, allocations: 1.219 kB / 328.2 MB, free: 15.3 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002594/0.29, allocations: 50.03 kB / 328.3 MB, free: 15.26 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.2901, allocations: 55.34 kB / 328.3 MB, free: 15.2 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.2902, allocations: 105.7 kB / 328.4 MB, free: 15.09 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.2902, allocations: 30.92 kB / 328.5 MB, free: 15.05 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.094e-05/0.2903, allocations: 81.17 kB / 328.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.2903, allocations: 13.28 kB / 328.6 MB, free: 14.96 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.2904, allocations: 21.48 kB / 328.6 MB, free: 14.94 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.2906, allocations: 320.1 kB / 328.9 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.964e-05/0.2906, allocations: 4.125 kB / 328.9 MB, free: 14.62 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.376e-05/0.2907, allocations: 27.95 kB / 328.9 MB, free: 14.59 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.324e-05/0.2907, allocations: 23.22 kB / 328.9 MB, free: 14.57 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2908, allocations: 4.375 kB / 328.9 MB, free: 14.57 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001187/0.2909, allocations: 65.81 kB / 329 MB, free: 14.51 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.2909, allocations: 6.094 kB / 329 MB, free: 14.51 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2909, allocations: 0 / 329 MB, free: 14.51 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.2909, allocations: 1.062 kB / 329 MB, free: 14.51 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.026e-05/0.291, allocations: 14.08 kB / 329 MB, free: 14.5 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.2911, allocations: 1.125 kB / 329 MB, free: 14.5 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.2911, allocations: 1.531 kB / 329 MB, free: 14.5 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.2911, allocations: 1.344 kB / 329 MB, free: 14.5 MB / 270.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 0.0001093/0.2912, allocations: 120.6 kB / 329.2 MB, free: 14.38 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.2912, allocations: 1.203 kB / 329.2 MB, free: 14.38 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.2913, allocations: 4.938 kB / 329.2 MB, free: 14.37 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2913, allocations: 5.172 kB / 329.2 MB, free: 14.37 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2913, allocations: 3.938 kB / 329.2 MB, free: 14.36 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2913, allocations: 0 / 329.2 MB, free: 14.36 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.2917, allocations: 296.6 kB / 329.5 MB, free: 14.04 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2918, allocations: 1.188 kB / 329.5 MB, free: 14.04 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.254e-05/0.2918, allocations: 1.188 kB / 329.5 MB, free: 14.04 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2918, allocations: 5.062 kB / 329.5 MB, free: 14.03 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.2918, allocations: 0 / 329.5 MB, free: 14.03 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2918, allocations: 5.031 kB / 329.5 MB, free: 14.03 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2918, allocations: 0 / 329.5 MB, free: 14.03 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.292, allocations: 150.7 kB / 329.6 MB, free: 13.88 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.337e-05/0.292, allocations: 82.12 kB / 329.7 MB, free: 13.78 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.292, allocations: 1.438 kB / 329.7 MB, free: 13.78 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.934e-05/0.2921, allocations: 4 kB / 329.7 MB, free: 13.78 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.2921, allocations: 4.938 kB / 329.7 MB, free: 13.77 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.2922, allocations: 2.5 kB / 329.7 MB, free: 13.77 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.513e-05/0.2922, allocations: 83.2 kB / 329.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2922, allocations: 0 / 329.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003507/0.2926, allocations: 27.38 kB / 329.8 MB, free: 13.69 MB / 270.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.000484/0.2931, allocations: 186.6 kB / 330 MB, free: 13.54 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.2932, allocations: 25.58 kB / 330 MB, free: 13.53 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2932, allocations: 0 / 330 MB, free: 13.53 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 2.955e-05/0.2932, allocations: 9.688 kB / 330 MB, free: 13.52 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.2935, allocations: 1.188 kB / 330 MB, free: 13.52 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003358/0.2938, allocations: 110.8 kB / 330.1 MB, free: 13.41 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.2943, allocations: 0.6783 MB / 330.8 MB, free: 12.71 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.113e-05/0.2943, allocations: 8.109 kB / 330.8 MB, free: 12.71 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/0.2943, allocations: 13.31 kB / 330.8 MB, free: 12.7 MB / 270.1 MB Notification: Performance of SimCode: time 1.9e-07/0.2943, allocations: 0 / 330.8 MB, free: 12.7 MB / 270.1 MB Notification: Performance of Templates: time 0.003893/0.2982, allocations: 0.9484 MB / 331.8 MB, free: 12.19 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1)