Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.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.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") translateModel(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.04291/0.04291, allocations: 3.904 MB / 18.85 MB, free: 2.91 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.00132/0.00132, allocations: 169.1 kB / 20.47 MB, free: 1.527 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.398/1.398, allocations: 223.2 MB / 245.2 MB, free: 7.195 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.0009016/0.0009013, allocations: 98.67 kB / 297.1 MB, free: 6.836 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002966, allocations: 4 kB / 358.8 MB, free: 9.184 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1947, allocations: 51.17 MB / 409.9 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09212/0.2869, allocations: 78.92 MB / 488.9 MB, free: 12.65 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.2871, allocations: 71.22 kB / 488.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01702/0.3042, allocations: 5.935 MB / 494.9 MB, free: 6.582 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3042, allocations: 0 / 494.9 MB, free: 6.582 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.3042, allocations: 4 kB / 494.9 MB, free: 6.578 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.002407/0.3066, allocations: 2.279 MB / 497.1 MB, free: 4.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3067, allocations: 12.03 kB / 497.2 MB, free: 4.219 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005966/0.3073, allocations: 71.66 kB / 497.2 MB, free: 4.148 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005189/0.3078, allocations: 310.4 kB / 497.5 MB, free: 3.805 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.3078, allocations: 4 kB / 497.5 MB, free: 3.801 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.3079, allocations: 8 kB / 497.5 MB, free: 3.793 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004193/0.3083, allocations: 251.2 kB / 497.8 MB, free: 3.535 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3083, allocations: 3.938 kB / 497.8 MB, free: 3.531 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.3084, allocations: 4 kB / 497.8 MB, free: 3.527 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3084, allocations: 0 / 497.8 MB, free: 3.527 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003566/0.3087, allocations: 191.9 kB / 498 MB, free: 3.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002763/0.309, allocations: 258.3 kB / 498.2 MB, free: 3.035 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.3094, allocations: 301.2 kB / 498.5 MB, free: 2.723 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.3094, allocations: 0 / 498.5 MB, free: 2.723 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005974/0.31, allocations: 0.4997 MB / 499 MB, free: 2.164 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.664e-06/0.31, allocations: 192 / 499 MB, free: 2.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001307/0.3114, allocations: 0.8704 MB / 499.9 MB, free: 1.238 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.937e-05/0.3115, allocations: 164.4 kB / 0.4883 GB, free: 1.047 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.3116, allocations: 190.2 kB / 0.4885 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.3117, allocations: 33.7 kB / 0.4886 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.3118, allocations: 108.7 kB / 0.4887 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.3118, allocations: 47.34 kB / 0.4887 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.417e-05/0.3118, allocations: 4 kB / 0.4887 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3119, allocations: 326.8 kB / 0.489 GB, free: 332 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.3122, allocations: 136.2 kB / 0.4892 GB, free: 196 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.3124, allocations: 123.7 kB / 0.4893 GB, free: 76 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.3128, allocations: 222.1 kB / 0.4895 GB, free: 15.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3128, allocations: 96 / 0.4895 GB, free: 15.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006371/0.3134, allocations: 439.2 kB / 0.4899 GB, free: 15.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.657e-05/0.3135, allocations: 95.36 kB / 0.49 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3135, allocations: 0 / 0.49 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3136, allocations: 0 / 0.49 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.3137, allocations: 23.94 kB / 0.49 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3137, allocations: 0 / 0.49 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.3139, allocations: 39.81 kB / 0.4901 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/0.3139, allocations: 8 kB / 0.4901 GB, free: 15.23 MB / 378.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: 26 ($whenCondition1,$whenCondition2,timeBasedNoise1.state[1],timeBasedNoise1.state[2],timeBasedNoise1.state[3],timeBasedNoise1.state[4],timeBasedNoise1.buffer[1],timeBasedNoise1.buffer[2],timeBasedNoise1.bufferStartTime,timeBasedNoise1.r,$whenCondition3,$whenCondition4,timeBasedNoise.state[1],timeBasedNoise.state[2],timeBasedNoise.state[3],timeBasedNoise.state[4],timeBasedNoise.buffer[1],timeBasedNoise.buffer[2],timeBasedNoise.bufferStartTime,timeBasedNoise.r,globalSeed.id_impure,timeBasedNoise.localSeed,timeBasedNoise.actualGlobalSeed,timeBasedNoise1.localSeed,timeBasedNoise1.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0002376/0.3141, allocations: 255.8 kB / 0.4903 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.3142, allocations: 27.72 kB / 0.4903 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/0.3142, allocations: 13.41 kB / 0.4903 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.3143, allocations: 3.984 kB / 0.4903 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.3143, allocations: 11.95 kB / 0.4904 GB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3143, allocations: 0 / 0.4904 GB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.3145, allocations: 265.3 kB / 0.4906 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3145, allocations: 0 / 0.4906 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.687e-05/0.3146, allocations: 11.98 kB / 0.4906 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3146, allocations: 11.88 kB / 0.4906 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/0.3147, allocations: 15.98 kB / 0.4906 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3147, allocations: 4 kB / 0.4907 GB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3147, allocations: 0 / 0.4907 GB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009215/0.3156, allocations: 0.6554 MB / 0.4913 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.3158, allocations: 140.8 kB / 0.4914 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.434e-05/0.3158, allocations: 23.98 kB / 0.4914 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.316, allocations: 20 kB / 0.4915 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.3161, allocations: 23.92 kB / 0.4915 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.926e-05/0.3161, allocations: 31.95 kB / 0.4915 GB, free: 13.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.3163, allocations: 143.2 kB / 0.4917 GB, free: 13.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3163, allocations: 0 / 0.4917 GB, free: 13.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003546/0.3166, allocations: 95.94 kB / 0.4917 GB, free: 13.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition3,$whenCondition4,timeBasedNoise.state[1],timeBasedNoise.state[2],timeBasedNoise.state[3],timeBasedNoise.state[4],timeBasedNoise.buffer[1],timeBasedNoise.buffer[2],timeBasedNoise.bufferStartTime,timeBasedNoise.r,$whenCondition1,$whenCondition2,timeBasedNoise1.state[1],timeBasedNoise1.state[2],timeBasedNoise1.state[3],timeBasedNoise1.state[4],timeBasedNoise1.buffer[1],timeBasedNoise1.buffer[2],timeBasedNoise1.bufferStartTime,timeBasedNoise1.r) * Number of discrete states: 20 (timeBasedNoise1.buffer[2],timeBasedNoise1.buffer[1],timeBasedNoise1.r,timeBasedNoise1.bufferStartTime,timeBasedNoise1.state[4],timeBasedNoise1.state[3],timeBasedNoise1.state[2],timeBasedNoise1.state[1],$whenCondition2,$whenCondition1,timeBasedNoise.buffer[2],timeBasedNoise.buffer[1],timeBasedNoise.r,timeBasedNoise.bufferStartTime,timeBasedNoise.state[4],timeBasedNoise.state[3],timeBasedNoise.state[2],timeBasedNoise.state[1],$whenCondition4,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.0005014/0.3172, allocations: 284.1 kB / 0.492 GB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000888/0.3181, allocations: 0.7411 MB / 0.4927 GB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3181, allocations: 3.938 kB / 0.4927 GB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006456/0.3187, allocations: 0.647 MB / 0.4934 GB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.3189, allocations: 16 kB / 0.4934 GB, free: 11.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000762/0.3197, allocations: 0.5287 MB / 0.4939 GB, free: 11.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.32, allocations: 0.7355 MB / 0.4946 GB, free: 10.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.143e-05/0.32, allocations: 16.41 kB / 0.4946 GB, free: 10.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.3201, allocations: 11.44 kB / 0.4947 GB, free: 10.32 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3201, allocations: 4 kB / 0.4947 GB, free: 10.32 MB / 378.7 MB Notification: Performance of Templates: time 0.006863/0.327, allocations: 3.813 MB / 0.4984 GB, free: 6.539 MB / 378.7 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.makefile (rm -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.sim & ./AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe 2>&1)