Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) 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: translateModel(AdvancedNoise.Examples.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") translateModel(AdvancedNoise.Examples.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 111.8 kB / 16.37 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 192.2 kB / 17.3 MB, free: 5.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02405/0.02405, allocations: 3.908 MB / 295.1 MB, free: 11.06 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 59.89 kB / 356.9 MB, free: 13.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1856, allocations: 50.18 MB / 407.1 MB, free: 31.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002023/0.1877, allocations: 1.469 MB / 408.6 MB, free: 30.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.189, allocations: 1.055 MB / 409.6 MB, free: 29.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.791e-05/0.189, allocations: 3.938 kB / 409.6 MB, free: 29.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.1891, allocations: 16.7 kB / 409.6 MB, free: 29.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.1893, allocations: 20.86 kB / 409.7 MB, free: 29.39 MB / 302.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.1897, allocations: 187 kB / 409.8 MB, free: 29.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.1898, allocations: 111.8 kB / 409.9 MB, free: 29.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.602e-05/0.1899, allocations: 19.97 kB / 410 MB, free: 29.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.632e-05/0.19, allocations: 43.78 kB / 410 MB, free: 29.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.254e-05/0.1901, allocations: 43.77 kB / 410.1 MB, free: 29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.1901, allocations: 8 kB / 410.1 MB, free: 28.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.1903, allocations: 163.8 kB / 410.2 MB, free: 28.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.256e-05/0.1903, allocations: 23.91 kB / 410.2 MB, free: 28.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.1904, allocations: 39.73 kB / 410.3 MB, free: 28.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.1906, allocations: 214.3 kB / 410.5 MB, free: 28.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1906, allocations: 0 / 410.5 MB, free: 28.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1906, allocations: 0 / 410.5 MB, free: 28.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.1906, allocations: 0 / 410.5 MB, free: 28.56 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003723/0.191, allocations: 426.8 kB / 410.9 MB, free: 28.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.681e-05/0.191, allocations: 8.031 kB / 410.9 MB, free: 28.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000312/0.1914, allocations: 52.84 kB / 411 MB, free: 28.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.1916, allocations: 216.6 kB / 411.2 MB, free: 27.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1916, allocations: 384 / 411.2 MB, free: 27.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.1916, allocations: 12.12 kB / 411.2 MB, free: 27.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.1918, allocations: 85.58 kB / 411.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.1918, allocations: 0 / 411.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1918, allocations: 3.938 kB / 411.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1918, allocations: 4 kB / 411.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.1919, allocations: 51.95 kB / 411.3 MB, free: 27.64 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.1923, allocations: 368.6 kB / 411.7 MB, free: 27.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.1925, allocations: 86.56 kB / 411.8 MB, free: 27.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.505e-05/0.1926, allocations: 36.78 kB / 411.8 MB, free: 27.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.1926, allocations: 4 kB / 411.8 MB, free: 27.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.279e-05/0.1926, allocations: 30.56 kB / 411.8 MB, free: 27.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.1926, allocations: 0 / 411.8 MB, free: 27.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003189/0.1929, allocations: 161.8 kB / 412 MB, free: 26.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.807e-05/0.193, allocations: 51.41 kB / 412.1 MB, free: 26.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.507e-05/0.193, allocations: 147.9 kB / 412.2 MB, free: 26.67 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.1931, allocations: 33.7 kB / 412.2 MB, free: 26.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.865e-05/0.1931, allocations: 88.14 kB / 412.3 MB, free: 26.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.1931, allocations: 35.48 kB / 412.4 MB, free: 26.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.1932, allocations: 33.7 kB / 412.4 MB, free: 26.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.826e-05/0.1932, allocations: 322.8 kB / 412.7 MB, free: 26.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.775e-05/0.1933, allocations: 35.92 kB / 412.7 MB, free: 26.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.411e-05/0.1934, allocations: 39.97 kB / 412.8 MB, free: 26.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.1935, allocations: 76.83 kB / 412.9 MB, free: 25.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1935, allocations: 0 / 412.9 MB, free: 25.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002063/0.1937, allocations: 133.5 kB / 413 MB, free: 25.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.1937, allocations: 4 kB / 413 MB, free: 25.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1937, allocations: 8.062 kB / 413 MB, free: 25.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1938, allocations: 0 / 413 MB, free: 25.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.1939, allocations: 31.91 kB / 413 MB, free: 25.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.1939, allocations: 3.984 kB / 413 MB, free: 25.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.1939, allocations: 7.938 kB / 413 MB, free: 25.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.445e-05/0.194, allocations: 27.95 kB / 413.1 MB, free: 25.77 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (globalSeed.seed,signalBasedNoise.actualGlobalSeed,globalSeed.id_impure,signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 5.717e-05/0.1941, allocations: 125.2 kB / 413.2 MB, free: 25.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.1941, allocations: 7.906 kB / 413.2 MB, free: 25.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.911e-05/0.1941, allocations: 24.7 kB / 413.2 MB, free: 25.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1941, allocations: 0 / 413.2 MB, free: 25.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1942, allocations: 4 kB / 413.2 MB, free: 25.6 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1942, allocations: 3.938 kB / 413.2 MB, free: 25.6 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.1943, allocations: 201.5 kB / 413.4 MB, free: 25.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1943, allocations: 0 / 413.4 MB, free: 25.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.903e-05/0.1944, allocations: 19.92 kB / 413.4 MB, free: 25.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1944, allocations: 0 / 413.4 MB, free: 25.33 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1944, allocations: 7.984 kB / 413.5 MB, free: 25.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1944, allocations: 0 / 413.5 MB, free: 25.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1944, allocations: 4 kB / 413.5 MB, free: 25.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.1947, allocations: 219.3 kB / 413.7 MB, free: 25.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.1947, allocations: 97 kB / 413.8 MB, free: 24.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.1947, allocations: 7.984 kB / 413.8 MB, free: 24.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.548e-05/0.1948, allocations: 0 / 413.8 MB, free: 24.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.1949, allocations: 11.92 kB / 413.8 MB, free: 24.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.1949, allocations: 31.89 kB / 413.8 MB, free: 24.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.983e-05/0.195, allocations: 117.3 kB / 413.9 MB, free: 24.81 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.195, allocations: 0 / 413.9 MB, free: 24.81 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.1953, allocations: 55.92 kB / 414 MB, free: 24.76 MB / 302.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: 1 (signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.0003397/0.1956, allocations: 238.6 kB / 414.2 MB, free: 24.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.1958, allocations: 91.81 kB / 414.3 MB, free: 24.47 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1958, allocations: 0 / 414.3 MB, free: 24.47 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.906e-05/0.1959, allocations: 51.97 kB / 414.4 MB, free: 24.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.1961, allocations: 7.938 kB / 414.4 MB, free: 24.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.1964, allocations: 201.9 kB / 414.6 MB, free: 24.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.589e-05/0.1965, allocations: 0.7002 MB / 415.3 MB, free: 23.46 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.888e-05/0.1966, allocations: 28.58 kB / 415.3 MB, free: 23.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.1967, allocations: 19.42 kB / 415.3 MB, free: 23.41 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1967, allocations: 0 / 415.3 MB, free: 23.41 MB / 302.1 MB Notification: Performance of Templates: time 0.9442/1.141, allocations: 2.202 MB / 417.5 MB, free: 21.22 MB / 302.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.makefile (rm -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.sim & ./AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1)