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.001126/0.001126, allocations: 108.2 kB / 16.37 MB, free: 6.008 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.001174/0.001174, allocations: 193.8 kB / 17.3 MB, free: 5.617 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02419/0.02419, allocations: 3.907 MB / 295.1 MB, free: 11.04 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 59.89 kB / 356.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.223, allocations: 50.19 MB / 407.1 MB, free: 31.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002312/0.2254, allocations: 1.469 MB / 408.6 MB, free: 30.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.2267, allocations: 1.061 MB / 409.6 MB, free: 29.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/0.2268, allocations: 0 / 409.6 MB, free: 29.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.2269, allocations: 7.875 kB / 409.6 MB, free: 29.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.2271, allocations: 23.8 kB / 409.7 MB, free: 29.36 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.0004795/0.2276, allocations: 183.4 kB / 409.8 MB, free: 29.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.2277, allocations: 119.7 kB / 410 MB, free: 29.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.184e-05/0.2278, allocations: 15.98 kB / 410 MB, free: 29.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.841e-05/0.2279, allocations: 50.36 kB / 410 MB, free: 29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.901e-05/0.228, allocations: 43.77 kB / 410.1 MB, free: 28.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.228, allocations: 4 kB / 410.1 MB, free: 28.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.2282, allocations: 167.8 kB / 410.2 MB, free: 28.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.71e-05/0.2283, allocations: 23.91 kB / 410.3 MB, free: 28.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.2283, allocations: 35.8 kB / 410.3 MB, free: 28.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.2286, allocations: 210.3 kB / 410.5 MB, free: 28.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2286, allocations: 4 kB / 410.5 MB, free: 28.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2286, allocations: 0 / 410.5 MB, free: 28.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.2286, allocations: 0 / 410.5 MB, free: 28.52 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.0004688/0.2291, allocations: 420.7 kB / 410.9 MB, free: 28.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2291, allocations: 8.031 kB / 410.9 MB, free: 28.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003682/0.2295, allocations: 65.36 kB / 411 MB, free: 28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.2297, allocations: 212.6 kB / 411.2 MB, free: 27.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.2297, allocations: 4.375 kB / 411.2 MB, free: 27.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.2298, allocations: 8.125 kB / 411.2 MB, free: 27.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.2299, allocations: 81.64 kB / 411.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.23, allocations: 0 / 411.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.23, allocations: 4 kB / 411.3 MB, free: 27.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.23, allocations: 0 / 411.3 MB, free: 27.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.2301, allocations: 59.89 kB / 411.3 MB, free: 27.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.2306, allocations: 360.6 kB / 411.7 MB, free: 27.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.2308, allocations: 74.55 kB / 411.8 MB, free: 27.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.719e-05/0.2309, allocations: 48.92 kB / 411.8 MB, free: 27.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.2309, allocations: 3.938 kB / 411.8 MB, free: 27.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.2309, allocations: 34.56 kB / 411.9 MB, free: 27.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.472e-06/0.2309, allocations: 0 / 411.9 MB, free: 27.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.000416/0.2314, allocations: 157.6 kB / 412 MB, free: 26.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.2314, allocations: 51.41 kB / 412.1 MB, free: 26.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.2315, allocations: 156.5 kB / 412.2 MB, free: 26.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.2315, allocations: 29.7 kB / 412.2 MB, free: 26.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.2316, allocations: 100.1 kB / 412.3 MB, free: 26.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.2316, allocations: 27.56 kB / 412.4 MB, free: 26.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.2317, allocations: 37.69 kB / 412.4 MB, free: 26.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.557e-05/0.2317, allocations: 314.8 kB / 412.7 MB, free: 26.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.084e-05/0.2318, allocations: 35.97 kB / 412.7 MB, free: 26.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.811e-05/0.2319, allocations: 39.92 kB / 412.8 MB, free: 26.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.232, allocations: 80.83 kB / 412.9 MB, free: 25.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.232, allocations: 0 / 412.9 MB, free: 25.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002076/0.2323, allocations: 137.4 kB / 413 MB, free: 25.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2323, allocations: 8 kB / 413 MB, free: 25.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.2323, allocations: 0 / 413 MB, free: 25.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.2323, allocations: 0 / 413 MB, free: 25.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.2324, allocations: 23.92 kB / 413 MB, free: 25.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2324, allocations: 0 / 413 MB, free: 25.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.52e-05/0.2325, allocations: 11.94 kB / 413 MB, free: 25.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.2325, allocations: 27.95 kB / 413.1 MB, free: 25.73 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 6.371e-05/0.2326, allocations: 122.3 kB / 413.2 MB, free: 25.6 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.2326, allocations: 7.906 kB / 413.2 MB, free: 25.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.138e-05/0.2327, allocations: 16.72 kB / 413.2 MB, free: 25.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2327, allocations: 0 / 413.2 MB, free: 25.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2327, allocations: 0 / 413.2 MB, free: 25.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2327, allocations: 3.938 kB / 413.2 MB, free: 25.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.2329, allocations: 217.5 kB / 413.4 MB, free: 25.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.2329, allocations: 0 / 413.4 MB, free: 25.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.762e-05/0.233, allocations: 23.92 kB / 413.4 MB, free: 25.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.233, allocations: 0 / 413.4 MB, free: 25.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.233, allocations: 0 / 413.4 MB, free: 25.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.233, allocations: 7.984 kB / 413.5 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.233, allocations: 0 / 413.5 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.2332, allocations: 219.3 kB / 413.7 MB, free: 25.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.2333, allocations: 96.98 kB / 413.8 MB, free: 24.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.2333, allocations: 8 kB / 413.8 MB, free: 24.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.2334, allocations: 0 / 413.8 MB, free: 24.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.2334, allocations: 15.86 kB / 413.8 MB, free: 24.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.2335, allocations: 23.95 kB / 413.8 MB, free: 24.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.222e-05/0.2335, allocations: 121.4 kB / 413.9 MB, free: 24.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2335, allocations: 0 / 413.9 MB, free: 24.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003037/0.2338, allocations: 55.92 kB / 414 MB, free: 24.71 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.0003641/0.2342, allocations: 233.1 kB / 414.2 MB, free: 24.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.2344, allocations: 91.83 kB / 414.3 MB, free: 24.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2344, allocations: 0 / 414.3 MB, free: 24.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.089e-05/0.2345, allocations: 43.91 kB / 414.3 MB, free: 24.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.2348, allocations: 8 kB / 414.4 MB, free: 24.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.2351, allocations: 213.9 kB / 414.6 MB, free: 24.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.2352, allocations: 0.6963 MB / 415.3 MB, free: 23.42 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.047e-05/0.2353, allocations: 24.59 kB / 415.3 MB, free: 23.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.526e-05/0.2354, allocations: 19.42 kB / 415.3 MB, free: 23.38 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2354, allocations: 4 kB / 415.3 MB, free: 23.38 MB / 302.1 MB Notification: Performance of Templates: time 0.004363/0.2398, allocations: 2.194 MB / 417.5 MB, free: 21.19 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 cvode -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1)