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.06041/0.06041, allocations: 3.903 MB / 18.86 MB, free: 2.52 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.001973/0.001973, allocations: 173.1 kB / 20.47 MB, free: 1.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.028/2.028, allocations: 223.1 MB / 245.1 MB, free: 13.16 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.001143/0.001144, allocations: 98.69 kB / 297.1 MB, free: 9.797 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000459/0.0004591, allocations: 12 kB / 358.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3642, allocations: 51.15 MB / 409.9 MB, free: 50.09 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.001862/0.3661, allocations: 1.183 MB / 411 MB, free: 49.88 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.3683, allocations: 0.981 MB / 412 MB, free: 49.61 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.799e-05/0.3684, allocations: 1.031 kB / 412 MB, free: 49.61 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.3686, allocations: 13.89 kB / 412 MB, free: 49.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.3688, allocations: 18.67 kB / 412 MB, free: 49.6 MB / 330.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.0006842/0.3695, allocations: 137.5 kB / 412.2 MB, free: 49.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.3696, allocations: 75.3 kB / 412.3 MB, free: 49.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.515e-05/0.3698, allocations: 14.12 kB / 412.3 MB, free: 49.55 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.3699, allocations: 38.55 kB / 412.3 MB, free: 49.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.458e-05/0.37, allocations: 33.61 kB / 412.3 MB, free: 49.53 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.37, allocations: 5.562 kB / 412.3 MB, free: 49.53 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003568/0.3704, allocations: 128.7 kB / 412.5 MB, free: 49.52 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.231e-05/0.3705, allocations: 18.52 kB / 412.5 MB, free: 49.51 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.3705, allocations: 37.2 kB / 412.5 MB, free: 49.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.3708, allocations: 147.6 kB / 412.7 MB, free: 49.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.3708, allocations: 1.344 kB / 412.7 MB, free: 49.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3709, allocations: 0 / 412.7 MB, free: 49.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3709, allocations: 1.156 kB / 412.7 MB, free: 49.45 MB / 330.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.0006651/0.3715, allocations: 406.1 kB / 413.1 MB, free: 49.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.063e-05/0.3716, allocations: 9.125 kB / 413.1 MB, free: 49.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005618/0.3722, allocations: 26.47 kB / 413.1 MB, free: 49.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.3725, allocations: 197.7 kB / 413.3 MB, free: 48.85 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.3726, allocations: 6.25 kB / 413.3 MB, free: 48.85 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.3726, allocations: 10.28 kB / 413.3 MB, free: 48.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.3729, allocations: 83.02 kB / 413.4 MB, free: 48.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.3729, allocations: 1.281 kB / 413.4 MB, free: 48.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.3729, allocations: 3.953 kB / 413.4 MB, free: 48.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.3729, allocations: 1.125 kB / 413.4 MB, free: 48.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.3731, allocations: 52.75 kB / 413.5 MB, free: 48.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000689/0.3738, allocations: 355.9 kB / 413.8 MB, free: 48.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.3741, allocations: 76.31 kB / 413.9 MB, free: 48.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.3742, allocations: 1.906 kB / 413.9 MB, free: 48.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.3742, allocations: 38.05 kB / 413.9 MB, free: 48.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 3.246e-06/0.3743, allocations: 0 / 413.9 MB, free: 48.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005852/0.3748, allocations: 139.5 kB / 414 MB, free: 48.42 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.3749, allocations: 55.75 kB / 414.1 MB, free: 48.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.3751, allocations: 145.8 kB / 414.2 MB, free: 48.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.3751, allocations: 28.05 kB / 414.3 MB, free: 48.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.861e-05/0.3752, allocations: 103.9 kB / 414.4 MB, free: 48.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.3753, allocations: 25.41 kB / 414.4 MB, free: 48.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/0.3753, allocations: 2.188 kB / 414.4 MB, free: 48.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.802e-05/0.3754, allocations: 320.7 kB / 414.7 MB, free: 47.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.3755, allocations: 31.16 kB / 414.7 MB, free: 47.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.3757, allocations: 31.78 kB / 414.8 MB, free: 47.8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.3758, allocations: 41.17 kB / 414.8 MB, free: 47.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3759, allocations: 2.656 kB / 414.8 MB, free: 47.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004382/0.3763, allocations: 126.8 kB / 414.9 MB, free: 47.76 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.3763, allocations: 10.17 kB / 415 MB, free: 47.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3764, allocations: 0 / 415 MB, free: 47.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.3764, allocations: 1.812 kB / 415 MB, free: 47.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.3766, allocations: 21.02 kB / 415 MB, free: 47.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3767, allocations: 0 / 415 MB, free: 47.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.913e-05/0.3768, allocations: 9 kB / 415 MB, free: 47.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.3768, allocations: 5 kB / 415 MB, free: 47.75 MB / 330.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 0.0001225/0.3769, allocations: 123.6 kB / 415.1 MB, free: 47.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.377, allocations: 7.312 kB / 415.1 MB, free: 47.63 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006864/0.3777, allocations: 205.2 kB / 415.3 MB, free: 47.58 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-05/0.3778, allocations: 4.812 kB / 415.3 MB, free: 47.58 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.3779, allocations: 0.6094 kB / 415.3 MB, free: 47.58 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3779, allocations: 0.75 kB / 415.3 MB, free: 47.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.3783, allocations: 226 kB / 415.5 MB, free: 47.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.3783, allocations: 1.25 kB / 415.5 MB, free: 47.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.3785, allocations: 15.98 kB / 415.6 MB, free: 47.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.3785, allocations: 0 / 415.6 MB, free: 47.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.3786, allocations: 9.234 kB / 415.6 MB, free: 47.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3786, allocations: 5.141 kB / 415.6 MB, free: 47.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3786, allocations: 0 / 415.6 MB, free: 47.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000518/0.3791, allocations: 256 kB / 415.8 MB, free: 47.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.21e-05/0.3792, allocations: 101.6 kB / 415.9 MB, free: 47.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.3793, allocations: 3.953 kB / 415.9 MB, free: 47.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.3794, allocations: 4.094 kB / 415.9 MB, free: 47.13 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.3795, allocations: 17.23 kB / 415.9 MB, free: 47.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.3795, allocations: 5.203 kB / 416 MB, free: 47.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.3796, allocations: 111.8 kB / 416.1 MB, free: 47.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3796, allocations: 0 / 416.1 MB, free: 47.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005086/0.3802, allocations: 51.94 kB / 416.1 MB, free: 47.05 MB / 330.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.0006856/0.3809, allocations: 246.8 kB / 416.4 MB, free: 46.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004183/0.3813, allocations: 101.8 kB / 416.5 MB, free: 46.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.3813, allocations: 0 / 416.5 MB, free: 46.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.3816, allocations: 113.8 kB / 416.6 MB, free: 46.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.3819, allocations: 10.91 kB / 416.6 MB, free: 46.85 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006277/0.3825, allocations: 271.5 kB / 416.8 MB, free: 46.65 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.3827, allocations: 0.7132 MB / 417.6 MB, free: 45.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001848/0.3829, allocations: 25.8 kB / 417.6 MB, free: 45.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.22e-05/0.383, allocations: 23.14 kB / 417.6 MB, free: 45.94 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.383, allocations: 0 / 417.6 MB, free: 45.94 MB / 330.7 MB Notification: Performance of Templates: time 0.008363/0.3914, allocations: 2.232 MB / 419.8 MB, free: 45.71 MB / 330.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)