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.001369/0.001369, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001406/0.001406, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.397/1.397, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02578/0.02578, allocations: 3.907 MB / 295 MB, free: 11.11 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001416, allocations: 59.89 kB / 356.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2315, allocations: 50.18 MB / 406.3 MB, free: 32.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002306/0.2339, allocations: 1.459 MB / 407.8 MB, free: 30.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.2354, allocations: 1.06 MB / 408.8 MB, free: 29.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.487e-05/0.2355, allocations: 0 / 408.8 MB, free: 29.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.2356, allocations: 15.86 kB / 408.9 MB, free: 29.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.2358, allocations: 23.8 kB / 408.9 MB, free: 29.54 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.000533/0.2364, allocations: 177.9 kB / 409 MB, free: 29.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.2365, allocations: 119.7 kB / 409.2 MB, free: 29.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.2366, allocations: 15.98 kB / 409.2 MB, free: 29.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.182e-05/0.2367, allocations: 47.77 kB / 409.2 MB, free: 29.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.325e-05/0.2368, allocations: 51.48 kB / 409.3 MB, free: 29.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.2368, allocations: 4 kB / 409.3 MB, free: 29.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002385/0.2371, allocations: 167.8 kB / 409.4 MB, free: 28.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.905e-05/0.2371, allocations: 23.91 kB / 409.5 MB, free: 28.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.2372, allocations: 31.81 kB / 409.5 MB, free: 28.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.2374, allocations: 211.4 kB / 409.7 MB, free: 28.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2374, allocations: 0 / 409.7 MB, free: 28.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2374, allocations: 0 / 409.7 MB, free: 28.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.2374, allocations: 0 / 409.7 MB, free: 28.71 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.0004477/0.2379, allocations: 429 kB / 410.1 MB, free: 28.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.2379, allocations: 8.031 kB / 410.1 MB, free: 28.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003964/0.2383, allocations: 54.08 kB / 410.2 MB, free: 28.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.2386, allocations: 216.6 kB / 410.4 MB, free: 27.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.2386, allocations: 384 / 410.4 MB, free: 27.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.2386, allocations: 12.12 kB / 410.4 MB, free: 27.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.2388, allocations: 81.58 kB / 410.5 MB, free: 27.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2388, allocations: 4 kB / 410.5 MB, free: 27.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.2388, allocations: 0 / 410.5 MB, free: 27.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2388, allocations: 4 kB / 410.5 MB, free: 27.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.239, allocations: 63.89 kB / 410.6 MB, free: 27.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.2394, allocations: 352.7 kB / 410.9 MB, free: 27.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.2396, allocations: 86.48 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.328e-05/0.2397, allocations: 32.84 kB / 411 MB, free: 27.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.2397, allocations: 4.094 kB / 411 MB, free: 27.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.2397, allocations: 46.48 kB / 411.1 MB, free: 27.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.2397, allocations: 0 / 411.1 MB, free: 27.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003604/0.2401, allocations: 149.6 kB / 411.2 MB, free: 27.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.2401, allocations: 55.41 kB / 411.3 MB, free: 26.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.462e-05/0.2402, allocations: 156.6 kB / 411.4 MB, free: 26.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.2402, allocations: 29.64 kB / 411.5 MB, free: 26.76 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.2403, allocations: 92.14 kB / 411.5 MB, free: 26.67 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.2403, allocations: 31.55 kB / 411.6 MB, free: 26.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.2404, allocations: 29.7 kB / 411.6 MB, free: 26.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.327e-05/0.2404, allocations: 322.8 kB / 411.9 MB, free: 26.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.373e-05/0.2405, allocations: 35.91 kB / 412 MB, free: 26.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.887e-05/0.2406, allocations: 43.92 kB / 412 MB, free: 26.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.2407, allocations: 80.83 kB / 412.1 MB, free: 26.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2407, allocations: 0 / 412.1 MB, free: 26.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002222/0.241, allocations: 133.7 kB / 412.2 MB, free: 25.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.241, allocations: 7.984 kB / 412.2 MB, free: 25.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.241, allocations: 0 / 412.2 MB, free: 25.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.241, allocations: 0 / 412.2 MB, free: 25.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.2411, allocations: 31.92 kB / 412.2 MB, free: 25.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2411, allocations: 0 / 412.2 MB, free: 25.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.954e-05/0.2412, allocations: 11.88 kB / 412.3 MB, free: 25.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.2412, allocations: 23.95 kB / 412.3 MB, free: 25.91 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.855e-05/0.2413, allocations: 126.3 kB / 412.4 MB, free: 25.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.2414, allocations: 11.91 kB / 412.4 MB, free: 25.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.963e-05/0.2414, allocations: 12.7 kB / 412.4 MB, free: 25.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2414, allocations: 4 kB / 412.4 MB, free: 25.74 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2414, allocations: 4 kB / 412.4 MB, free: 25.74 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2414, allocations: 3.938 kB / 412.4 MB, free: 25.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.2416, allocations: 205.5 kB / 412.6 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2416, allocations: 0 / 412.6 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.144e-05/0.2417, allocations: 19.92 kB / 412.7 MB, free: 25.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2417, allocations: 0 / 412.7 MB, free: 25.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.2417, allocations: 4 kB / 412.7 MB, free: 25.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2417, allocations: 0 / 412.7 MB, free: 25.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2418, allocations: 0 / 412.7 MB, free: 25.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.242, allocations: 223.6 kB / 412.9 MB, free: 25.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.242, allocations: 105 kB / 413 MB, free: 25.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.2421, allocations: 0 / 413 MB, free: 25.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.587e-05/0.2422, allocations: 0 / 413 MB, free: 25.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.2422, allocations: 15.86 kB / 413 MB, free: 25.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.2423, allocations: 31.95 kB / 413 MB, free: 25.06 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.604e-05/0.2423, allocations: 113.4 kB / 413.1 MB, free: 24.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2423, allocations: 7.938 kB / 413.1 MB, free: 24.94 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003269/0.2427, allocations: 51.94 kB / 413.2 MB, free: 24.89 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.0004306/0.2431, allocations: 232.1 kB / 413.4 MB, free: 24.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.2433, allocations: 87.95 kB / 413.5 MB, free: 24.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.2433, allocations: 3.938 kB / 413.5 MB, free: 24.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.846e-05/0.2434, allocations: 43.91 kB / 413.6 MB, free: 24.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.2437, allocations: 8 kB / 413.6 MB, free: 24.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.2441, allocations: 235.6 kB / 413.8 MB, free: 24.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.2442, allocations: 0.7002 MB / 414.5 MB, free: 23.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.56e-05/0.2442, allocations: 23.41 kB / 414.5 MB, free: 23.54 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2442, allocations: 0 / 414.5 MB, free: 23.54 MB / 302.1 MB Notification: Performance of Templates: time 0.003833/0.2481, allocations: 2.411 MB / 416.9 MB, free: 21.13 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 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1)