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/AdvancedNoise 1.1.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/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/AdvancedNoise 1.1.0-master/package.mo): time 0.04262/0.04262, allocations: 3.905 MB / 18.87 MB, free: 2.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007852/0.0007853, allocations: 172.5 kB / 20.49 MB, free: 1.535 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.3 MB / 245.3 MB, free: 7.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007477/0.000748, allocations: 96.47 kB / 297.2 MB, free: 6.781 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.000358, allocations: 12 kB / 358.9 MB, free: 9.121 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1913, allocations: 51.17 MB / 410 MB, free: 27.62 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.001149/0.1925, allocations: 1.183 MB / 411.2 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.1937, allocations: 0.9645 MB / 412.2 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.1937, allocations: 6.656 kB / 412.2 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.841e-05/0.1938, allocations: 15.86 kB / 412.2 MB, free: 25.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.194, allocations: 11.88 kB / 412.2 MB, free: 25.43 MB / 298.7 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.0003699/0.1943, allocations: 147.7 kB / 412.4 MB, free: 25.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.1944, allocations: 95.73 kB / 412.5 MB, free: 25.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.268e-05/0.1945, allocations: 16.69 kB / 412.5 MB, free: 25.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.472e-05/0.1946, allocations: 36.36 kB / 412.5 MB, free: 25.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.435e-05/0.1947, allocations: 46.98 kB / 412.5 MB, free: 25.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1947, allocations: 0 / 412.5 MB, free: 25.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000203/0.1949, allocations: 155.8 kB / 412.7 MB, free: 24.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.596e-05/0.1949, allocations: 15.92 kB / 412.7 MB, free: 24.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.195, allocations: 37.64 kB / 412.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.1951, allocations: 143.7 kB / 412.9 MB, free: 24.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1951, allocations: 0 / 412.9 MB, free: 24.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1951, allocations: 0 / 412.9 MB, free: 24.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.1952, allocations: 0 / 412.9 MB, free: 24.75 MB / 298.7 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.000385/0.1955, allocations: 407.6 kB / 413.3 MB, free: 24.31 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1956, allocations: 8.031 kB / 413.3 MB, free: 24.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003699/0.196, allocations: 55.77 kB / 413.4 MB, free: 24.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.1962, allocations: 214.6 kB / 413.6 MB, free: 24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1962, allocations: 7.938 kB / 413.6 MB, free: 23.99 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.1962, allocations: 8 kB / 413.6 MB, free: 23.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1964, allocations: 77.64 kB / 413.7 MB, free: 23.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1964, allocations: 0 / 413.7 MB, free: 23.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1964, allocations: 3.953 kB / 413.7 MB, free: 23.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1964, allocations: 0 / 413.7 MB, free: 23.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.1966, allocations: 63.89 kB / 413.7 MB, free: 23.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.197, allocations: 360.6 kB / 414.1 MB, free: 23.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.1972, allocations: 78.55 kB / 414.2 MB, free: 23.35 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.089e-05/0.1972, allocations: 40.8 kB / 414.2 MB, free: 23.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1973, allocations: 4 kB / 414.2 MB, free: 23.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.1973, allocations: 46.58 kB / 414.2 MB, free: 23.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.1973, allocations: 0 / 414.2 MB, free: 23.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003508/0.1977, allocations: 141.7 kB / 414.4 MB, free: 23.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.1977, allocations: 55.41 kB / 414.4 MB, free: 23.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/0.1978, allocations: 147 kB / 414.6 MB, free: 22.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.1978, allocations: 25.7 kB / 414.6 MB, free: 22.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.1978, allocations: 104 kB / 414.7 MB, free: 22.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.1979, allocations: 27.64 kB / 414.7 MB, free: 22.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-06/0.1979, allocations: 0 / 414.7 MB, free: 22.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.228e-05/0.1979, allocations: 322.8 kB / 415 MB, free: 22.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.07e-05/0.198, allocations: 35.98 kB / 415.1 MB, free: 22.35 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.211e-05/0.1981, allocations: 35.97 kB / 415.1 MB, free: 22.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.677e-05/0.1982, allocations: 47.86 kB / 415.2 MB, free: 22.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1982, allocations: 4 kB / 415.2 MB, free: 22.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002058/0.1984, allocations: 133.7 kB / 415.3 MB, free: 22.13 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.1984, allocations: 4 kB / 415.3 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1984, allocations: 0 / 415.3 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1984, allocations: 4 kB / 415.3 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1985, allocations: 27.91 kB / 415.3 MB, free: 22.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1986, allocations: 0 / 415.3 MB, free: 22.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.1986, allocations: 7.906 kB / 415.3 MB, free: 22.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.1987, allocations: 34.89 kB / 415.4 MB, free: 22.05 MB / 298.7 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 (signalBasedNoise.localSeed,globalSeed.id_impure,signalBasedNoise.actualGlobalSeed,globalSeed.seed) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.515e-05/0.1987, allocations: 121.8 kB / 415.5 MB, free: 21.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.1988, allocations: 11.86 kB / 415.5 MB, free: 21.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/0.1991, allocations: 202.2 kB / 415.7 MB, free: 21.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.9e-05/0.1992, allocations: 4 kB / 415.7 MB, free: 21.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1992, allocations: 4 kB / 415.7 MB, free: 21.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1992, allocations: 3.984 kB / 415.7 MB, free: 21.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.1994, allocations: 225.4 kB / 415.9 MB, free: 21.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.1994, allocations: 4 kB / 415.9 MB, free: 21.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.2e-05/0.1995, allocations: 19.92 kB / 416 MB, free: 21.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1995, allocations: 0 / 416 MB, free: 21.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1995, allocations: 7.953 kB / 416 MB, free: 21.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1995, allocations: 0 / 416 MB, free: 21.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1995, allocations: 0 / 416 MB, free: 21.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.1998, allocations: 260.8 kB / 416.2 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.1998, allocations: 108.8 kB / 416.3 MB, free: 21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.1999, allocations: 4 kB / 416.3 MB, free: 21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.664e-05/0.2, allocations: 3.953 kB / 416.3 MB, free: 20.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.2, allocations: 11.97 kB / 416.3 MB, free: 20.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.2, allocations: 35.89 kB / 416.4 MB, free: 20.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.854e-05/0.2001, allocations: 107.8 kB / 416.5 MB, free: 20.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2001, allocations: 4 kB / 416.5 MB, free: 20.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002693/0.2004, allocations: 59.97 kB / 416.5 MB, free: 20.78 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($cse2[1],$cse2[2],$cse4[1],$cse4[2],signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 7 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003708/0.2008, allocations: 241.1 kB / 416.8 MB, free: 20.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.201, allocations: 107.8 kB / 416.9 MB, free: 20.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.201, allocations: 0 / 416.9 MB, free: 20.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.2011, allocations: 123.3 kB / 417 MB, free: 20.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.2014, allocations: 15.94 kB / 417 MB, free: 20.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.2017, allocations: 269.7 kB / 417.3 MB, free: 20.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.2019, allocations: 0.7083 MB / 418 MB, free: 19.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.142e-05/0.202, allocations: 28.3 kB / 418 MB, free: 19.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/0.202, allocations: 27.41 kB / 418 MB, free: 19.25 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.202, allocations: 0 / 418 MB, free: 19.25 MB / 298.7 MB Notification: Performance of Templates: time 0.004061/0.2061, allocations: 2.189 MB / 420.2 MB, free: 17.06 MB / 298.7 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 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1)