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.001297/0.001297, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001192/0.001191, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.265/1.265, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1306/0.1306, allocations: 3.877 MB / 293.8 MB, free: 3.234 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 59.91 kB / 354.8 MB, free: 4.125 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09578/0.09679, allocations: 50.19 MB / 405 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002597/0.09945, allocations: 1.548 MB / 406.5 MB, free: 340 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.1011, allocations: 1.075 MB / 407.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.604e-05/0.1012, allocations: 4 kB / 407.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.1013, allocations: 3.938 kB / 407.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.1015, allocations: 19.86 kB / 407.6 MB, free: 15.22 MB / 350.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‘. Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.1019, allocations: 155.6 kB / 407.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.1021, allocations: 107.7 kB / 407.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.374e-05/0.1022, allocations: 12 kB / 407.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.568e-05/0.1022, allocations: 39.83 kB / 407.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.07e-05/0.1023, allocations: 43.77 kB / 408 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1023, allocations: 4 kB / 408 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.1026, allocations: 159.8 kB / 408.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.806e-05/0.1026, allocations: 15.92 kB / 408.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/0.1027, allocations: 35.73 kB / 408.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.103, allocations: 203.5 kB / 408.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.103, allocations: 4 kB / 408.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.103, allocations: 4 kB / 408.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.103, allocations: 4 kB / 408.4 MB, free: 14.45 MB / 350.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.0005411/0.1035, allocations: 431.2 kB / 408.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1036, allocations: 8.031 kB / 408.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000362/0.104, allocations: 48.78 kB / 408.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.1042, allocations: 211.3 kB / 409.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1042, allocations: 4.375 kB / 409.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.1042, allocations: 20.06 kB / 409.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.1044, allocations: 77.64 kB / 409.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.1044, allocations: 0 / 409.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1044, allocations: 0 / 409.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1045, allocations: 0 / 409.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.1046, allocations: 59.95 kB / 409.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.1051, allocations: 364.5 kB / 409.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.1053, allocations: 86.52 kB / 409.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.798e-05/0.1054, allocations: 36.84 kB / 409.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.1054, allocations: 0 / 409.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.1054, allocations: 38.56 kB / 409.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.1054, allocations: 0 / 409.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003652/0.1058, allocations: 157.5 kB / 409.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.1058, allocations: 51.41 kB / 409.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.1059, allocations: 154.3 kB / 410.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.106, allocations: 25.7 kB / 410.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.106, allocations: 96.28 kB / 410.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.1061, allocations: 27.64 kB / 410.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/0.1061, allocations: 33.61 kB / 410.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.129e-05/0.1062, allocations: 326.8 kB / 410.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.744e-05/0.1063, allocations: 31.98 kB / 410.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.616e-05/0.1064, allocations: 39.97 kB / 410.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.1065, allocations: 76.83 kB / 410.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1066, allocations: 3.938 kB / 410.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002452/0.1068, allocations: 141.6 kB / 410.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1068, allocations: 8 kB / 410.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1068, allocations: 7.984 kB / 410.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.1069, allocations: 0 / 410.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.107, allocations: 19.98 kB / 410.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.107, allocations: 0 / 410.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.107, allocations: 3.938 kB / 410.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/0.1071, allocations: 31.89 kB / 411 MB, free: 11.65 MB / 350.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 8.192e-05/0.1072, allocations: 121.8 kB / 411.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.1072, allocations: 11.91 kB / 411.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003953/0.1076, allocations: 213.6 kB / 411.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.922e-05/0.1077, allocations: 7.984 kB / 411.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.1077, allocations: 4 kB / 411.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1077, allocations: 3.938 kB / 411.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.108, allocations: 217.6 kB / 411.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.108, allocations: 4 kB / 411.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.898e-05/0.1081, allocations: 19.92 kB / 411.5 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.1081, allocations: 4 kB / 411.6 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.1081, allocations: 3.984 kB / 411.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1081, allocations: 0 / 411.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1081, allocations: 0 / 411.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.1084, allocations: 271.2 kB / 411.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.497e-05/0.1085, allocations: 104.9 kB / 411.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.1085, allocations: 3.984 kB / 411.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.824e-05/0.1086, allocations: 4 kB / 411.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.1087, allocations: 15.92 kB / 411.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/0.1087, allocations: 28.83 kB / 412 MB, free: 10.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.894e-05/0.1088, allocations: 108.4 kB / 412.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1088, allocations: 0 / 412.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002923/0.1091, allocations: 51.98 kB / 412.1 MB, free: 10.38 MB / 350.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: 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 (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.0004099/0.1095, allocations: 242.5 kB / 412.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.1097, allocations: 115.3 kB / 412.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1098, allocations: 0 / 412.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.1099, allocations: 115.4 kB / 412.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.1101, allocations: 4 kB / 412.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/0.1106, allocations: 291.7 kB / 412.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.111, allocations: 0.7082 MB / 413.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.562e-05/0.1111, allocations: 36.27 kB / 413.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/0.1111, allocations: 19.42 kB / 413.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1111, allocations: 0 / 413.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of Templates: time 0.004551/0.1157, allocations: 2.251 MB / 415.9 MB, free: 6.594 MB / 350.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)