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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 103.8 kB / 16.35 MB, free: 5.875 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.001112/0.001112, allocations: 194.4 kB / 17.3 MB, free: 5.516 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.05865/0.05865, allocations: 3.909 MB / 295.1 MB, free: 11.01 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 55.91 kB / 356.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2203, allocations: 50.18 MB / 407.1 MB, free: 31.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.002258/0.2226, allocations: 1.514 MB / 408.6 MB, free: 30.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.2242, allocations: 1.14 MB / 409.7 MB, free: 29.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.403e-05/0.2243, allocations: 3.938 kB / 409.8 MB, free: 29.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.2244, allocations: 39.66 kB / 409.8 MB, free: 29.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.741e-05/0.2245, allocations: 23.8 kB / 409.8 MB, free: 29.21 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'. Notification: Performance of NFTyping.typeClassSections: time 0.0006237/0.2251, allocations: 224.3 kB / 410 MB, free: 28.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.2254, allocations: 267.4 kB / 410.3 MB, free: 28.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.188e-05/0.2254, allocations: 17.44 kB / 410.3 MB, free: 28.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.2256, allocations: 103.7 kB / 410.4 MB, free: 28.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.611e-05/0.2256, allocations: 75.61 kB / 410.5 MB, free: 28.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.2257, allocations: 16 kB / 410.5 MB, free: 28.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.2259, allocations: 171.7 kB / 410.7 MB, free: 28.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.033e-05/0.2259, allocations: 23.92 kB / 410.7 MB, free: 28.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.107e-05/0.226, allocations: 91.5 kB / 410.8 MB, free: 28.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.2263, allocations: 283.2 kB / 411.1 MB, free: 27.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2263, allocations: 0 / 411.1 MB, free: 27.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2263, allocations: 3.531 kB / 411.1 MB, free: 27.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.2263, allocations: 0 / 411.1 MB, free: 27.96 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001663/0.228, allocations: 2.234 MB / 413.3 MB, free: 25.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.228, allocations: 12.03 kB / 413.3 MB, free: 25.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005771/0.2286, allocations: 110.7 kB / 413.4 MB, free: 25.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.2289, allocations: 248.9 kB / 413.7 MB, free: 25.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.2289, allocations: 8.375 kB / 413.7 MB, free: 25.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.2289, allocations: 12.38 kB / 413.7 MB, free: 25.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.2293, allocations: 263.5 kB / 413.9 MB, free: 24.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.2293, allocations: 0 / 413.9 MB, free: 24.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.2293, allocations: 4 kB / 413.9 MB, free: 24.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2293, allocations: 0 / 413.9 MB, free: 24.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.2296, allocations: 219.9 kB / 414.2 MB, free: 24.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.2299, allocations: 266.2 kB / 414.4 MB, free: 24.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.2301, allocations: 325.1 kB / 414.7 MB, free: 24.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.2304, allocations: 297.7 kB / 415 MB, free: 23.81 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.2304, allocations: 4.375 kB / 415 MB, free: 23.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003738/0.2308, allocations: 0.5224 MB / 415.5 MB, free: 23.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.232e-06/0.2308, allocations: 4 kB / 415.6 MB, free: 23.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009327/0.2317, allocations: 0.7588 MB / 416.3 MB, free: 22.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.2318, allocations: 160.5 kB / 416.5 MB, free: 22.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.232, allocations: 211.1 kB / 416.7 MB, free: 22.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.232, allocations: 33.7 kB / 416.7 MB, free: 22.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.232, allocations: 112.6 kB / 416.8 MB, free: 21.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.2321, allocations: 47.34 kB / 416.9 MB, free: 21.85 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-05/0.2322, allocations: 57.69 kB / 416.9 MB, free: 21.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.746e-05/0.2322, allocations: 326.8 kB / 417.2 MB, free: 21.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.2324, allocations: 140.2 kB / 417.4 MB, free: 21.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.2326, allocations: 144.3 kB / 417.5 MB, free: 21.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003961/0.233, allocations: 464.6 kB / 418 MB, free: 20.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.233, allocations: 0 / 418 MB, free: 20.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005011/0.2335, allocations: 459 kB / 418.4 MB, free: 20.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.442e-05/0.2336, allocations: 95.36 kB / 418.5 MB, free: 20.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2336, allocations: 0 / 418.5 MB, free: 20.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.2336, allocations: 0 / 418.5 MB, free: 20.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.2337, allocations: 27.92 kB / 418.5 MB, free: 20.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2337, allocations: 0 / 418.5 MB, free: 20.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.999e-05/0.2338, allocations: 24.02 kB / 418.6 MB, free: 20.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.2339, allocations: 35.89 kB / 418.6 MB, free: 20.04 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: 26 (globalSeed.seed,timeBasedNoise1.actualGlobalSeed,timeBasedNoise1.localSeed,timeBasedNoise.actualGlobalSeed,timeBasedNoise.localSeed,globalSeed.id_impure,timeBasedNoise.r,timeBasedNoise.bufferStartTime,timeBasedNoise.buffer[2],timeBasedNoise.buffer[1],timeBasedNoise.state[4],timeBasedNoise.state[3],timeBasedNoise.state[2],timeBasedNoise.state[1],$whenCondition4,$whenCondition3,timeBasedNoise1.r,timeBasedNoise1.bufferStartTime,timeBasedNoise1.buffer[2],timeBasedNoise1.buffer[1],timeBasedNoise1.state[4],timeBasedNoise1.state[3],timeBasedNoise1.state[2],timeBasedNoise1.state[1],$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001587/0.234, allocations: 268.1 kB / 418.9 MB, free: 19.76 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/0.2341, allocations: 31.8 kB / 418.9 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.2341, allocations: 17.39 kB / 418.9 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2341, allocations: 4 kB / 418.9 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2341, allocations: 0 / 418.9 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2341, allocations: 0 / 418.9 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.2343, allocations: 281.3 kB / 419.2 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2343, allocations: 0 / 419.2 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.513e-05/0.2344, allocations: 8 kB / 419.2 MB, free: 19.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2344, allocations: 0 / 419.2 MB, free: 19.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.2344, allocations: 15.92 kB / 419.2 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2344, allocations: 0 / 419.2 MB, free: 19.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2344, allocations: 7.938 kB / 419.2 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007044/0.2351, allocations: 0.697 MB / 419.9 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.2353, allocations: 132.9 kB / 420 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.2353, allocations: 27.92 kB / 420.1 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.745e-05/0.2354, allocations: 12 kB / 420.1 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/0.2355, allocations: 19.97 kB / 420.1 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/0.2356, allocations: 43.94 kB / 420.1 MB, free: 18.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.613e-05/0.2357, allocations: 143.2 kB / 420.3 MB, free: 18.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2357, allocations: 0 / 420.3 MB, free: 18.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003682/0.236, allocations: 76 kB / 420.4 MB, free: 18.15 MB / 302.1 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 (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.0004267/0.2365, allocations: 267.8 kB / 420.6 MB, free: 17.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006889/0.2372, allocations: 0.7563 MB / 421.4 MB, free: 17.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2372, allocations: 0 / 421.4 MB, free: 17.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004632/0.2377, allocations: 0.6509 MB / 422 MB, free: 16.47 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.2379, allocations: 31.94 kB / 422.1 MB, free: 16.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000626/0.2385, allocations: 0.5084 MB / 422.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.2387, allocations: 0.7391 MB / 423.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.267e-05/0.2387, allocations: 12.55 kB / 423.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.2388, allocations: 19.44 kB / 423.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2388, allocations: 0 / 423.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of Templates: time 0.006593/0.2454, allocations: 3.96 MB / 427.3 MB, free: 11.18 MB / 302.1 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 -s cvode -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe 2>&1)