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.0015/0.0015, allocations: 114.2 kB / 16.42 MB, free: 6.5 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.00176/0.00176, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.335/1.335, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.03678/0.03678, allocations: 3.911 MB / 295.1 MB, free: 11.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 64.11 kB / 407.6 MB, free: 28.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07087/0.07209, allocations: 50.19 MB / 457.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.002434/0.07456, allocations: 1.509 MB / 459.3 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.07636, allocations: 1.157 MB / 460.4 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.29e-05/0.07643, allocations: 0 / 460.4 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.07658, allocations: 31.67 kB / 460.5 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.771e-05/0.07666, allocations: 23.8 kB / 460.5 MB, free: 7.305 MB / 334.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.0006715/0.07733, allocations: 239.3 kB / 460.7 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.07764, allocations: 263.4 kB / 461 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.847e-05/0.0777, allocations: 13.55 kB / 461 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.07787, allocations: 107.7 kB / 461.1 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.07798, allocations: 79.61 kB / 461.2 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.07802, allocations: 12 kB / 461.2 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003375/0.07837, allocations: 171.7 kB / 461.4 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.54e-05/0.07842, allocations: 27.91 kB / 461.4 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.51e-05/0.07852, allocations: 87.55 kB / 461.5 MB, free: 6.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.07887, allocations: 287.1 kB / 461.8 MB, free: 6.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.07889, allocations: 4 kB / 461.8 MB, free: 6.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.07889, allocations: 0 / 461.8 MB, free: 6.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.07891, allocations: 0 / 461.8 MB, free: 6.039 MB / 334.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.002295/0.0812, allocations: 2.226 MB / 464 MB, free: 3.746 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.08125, allocations: 8.031 kB / 464 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006438/0.0819, allocations: 108.5 kB / 464.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.08221, allocations: 259.7 kB / 464.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.08225, allocations: 16.36 kB / 464.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.08229, allocations: 8.375 kB / 464.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.08271, allocations: 251.6 kB / 464.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.08273, allocations: 3.984 kB / 464.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.08275, allocations: 4 kB / 464.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.08276, allocations: 4 kB / 464.6 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003711/0.08314, allocations: 227.8 kB / 464.9 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002496/0.0834, allocations: 250.3 kB / 465.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.08378, allocations: 321.1 kB / 465.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.08413, allocations: 306 kB / 465.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.08414, allocations: 0 / 465.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005172/0.08467, allocations: 0.5208 MB / 466.2 MB, free: 1.316 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.302e-06/0.08468, allocations: 0 / 466.2 MB, free: 1.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001168/0.08585, allocations: 0.766 MB / 467 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.673e-05/0.08595, allocations: 156.5 kB / 467.2 MB, free: 356 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.08616, allocations: 219 kB / 467.4 MB, free: 124 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.0862, allocations: 29.7 kB / 467.4 MB, free: 88 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.08628, allocations: 108.8 kB / 467.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.08633, allocations: 51.22 kB / 467.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.471e-05/0.08643, allocations: 53.69 kB / 467.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.08655, allocations: 330.9 kB / 467.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.08679, allocations: 144.2 kB / 468.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.08702, allocations: 144.3 kB / 468.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005413/0.08757, allocations: 464.4 kB / 468.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.08758, allocations: 3.938 kB / 468.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006195/0.08821, allocations: 455.1 kB / 469.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.25e-05/0.0883, allocations: 103.4 kB / 469.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.08831, allocations: 0 / 469.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.08833, allocations: 0 / 469.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.08846, allocations: 23.92 kB / 469.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.08847, allocations: 0 / 469.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.08858, allocations: 19.89 kB / 469.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-05/0.08863, allocations: 35.92 kB / 469.3 MB, free: 14.11 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: 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.0002383/0.08888, allocations: 268.2 kB / 469.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.08894, allocations: 27.72 kB / 469.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.08898, allocations: 13.41 kB / 469.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.08899, allocations: 0 / 469.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.089, allocations: 0 / 469.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.08914, allocations: 140.7 kB / 469.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.819e-05/0.08921, allocations: 23.98 kB / 469.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.08933, allocations: 12 kB / 469.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/0.08942, allocations: 23.91 kB / 469.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001088/0.09051, allocations: 0.9752 MB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009631/0.09149, allocations: 0.9071 MB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004851/0.09198, allocations: 476 kB / 472.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.09211, allocations: 143.2 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of Backend: time 3.11e-07/0.09212, allocations: 0 / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.09342, allocations: 0.7779 MB / 473.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of SimCode: time 0.000771/0.09421, allocations: 0.9141 MB / 474 MB, free: 9.262 MB / 350.1 MB Notification: Performance of Templates: time 0.007746/0.102, allocations: 4.374 MB / 478.3 MB, free: 4.918 MB / 350.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 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe 2>&1)