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.00153/0.00153, allocations: 112.1 kB / 16.42 MB, free: 6.473 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.001736/0.001736, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02558/0.02558, allocations: 3.908 MB / 295.1 MB, free: 11 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 64.09 kB / 407.6 MB, free: 28.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06902/0.07025, allocations: 50.18 MB / 457.8 MB, free: 10 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002278/0.07255, allocations: 1.47 MB / 459.2 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.07429, allocations: 1.059 MB / 460.3 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.693e-05/0.07437, allocations: 3.938 kB / 460.3 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.07448, allocations: 7.875 kB / 460.3 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.07465, allocations: 27.78 kB / 460.3 MB, free: 7.41 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.07523, allocations: 187.4 kB / 460.5 MB, free: 7.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.07541, allocations: 119.7 kB / 460.6 MB, free: 7.109 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.154e-05/0.07551, allocations: 19.97 kB / 460.7 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.837e-05/0.07561, allocations: 39.8 kB / 460.7 MB, free: 7.051 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.985e-05/0.07568, allocations: 39.83 kB / 460.7 MB, free: 7.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.07571, allocations: 4 kB / 460.7 MB, free: 7.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002921/0.07601, allocations: 171.8 kB / 460.9 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.823e-05/0.07606, allocations: 19.92 kB / 460.9 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.07612, allocations: 43.72 kB / 461 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.07644, allocations: 207.5 kB / 461.2 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.07645, allocations: 0 / 461.2 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.07646, allocations: 3.938 kB / 461.2 MB, free: 6.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.423e-06/0.07647, allocations: 0 / 461.2 MB, free: 6.57 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005082/0.07699, allocations: 427 kB / 461.6 MB, free: 6.105 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.07703, allocations: 8.031 kB / 461.6 MB, free: 6.098 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003549/0.07739, allocations: 52.78 kB / 461.7 MB, free: 6.047 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.07766, allocations: 222.8 kB / 461.9 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.07768, allocations: 4.375 kB / 461.9 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.07771, allocations: 8.125 kB / 461.9 MB, free: 5.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.0779, allocations: 81.58 kB / 462 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.07791, allocations: 0 / 462 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.07793, allocations: 4 kB / 462 MB, free: 5.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.07794, allocations: 0 / 462 MB, free: 5.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.07809, allocations: 59.89 kB / 462 MB, free: 5.633 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/0.07862, allocations: 352.8 kB / 462.4 MB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.07881, allocations: 78.53 kB / 462.4 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.701e-05/0.07891, allocations: 44.78 kB / 462.5 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.07894, allocations: 160 / 462.5 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.07897, allocations: 42.64 kB / 462.5 MB, free: 5.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.07898, allocations: 3.938 kB / 462.5 MB, free: 5.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003923/0.07938, allocations: 149.4 kB / 462.7 MB, free: 4.898 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.07942, allocations: 55.41 kB / 462.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.07955, allocations: 145.6 kB / 462.9 MB, free: 4.676 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.07958, allocations: 29.7 kB / 462.9 MB, free: 4.641 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.07963, allocations: 92.14 kB / 463 MB, free: 4.547 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.07967, allocations: 27.64 kB / 463 MB, free: 4.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.07974, allocations: 33.64 kB / 463.1 MB, free: 4.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.07985, allocations: 330.8 kB / 463.4 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.141e-05/0.07994, allocations: 31.98 kB / 463.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.894e-05/0.08002, allocations: 43.91 kB / 463.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.0802, allocations: 80.77 kB / 463.5 MB, free: 3.992 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.08021, allocations: 0 / 463.5 MB, free: 3.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002588/0.08048, allocations: 141.6 kB / 463.7 MB, free: 3.848 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.0805, allocations: 8 kB / 463.7 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.08051, allocations: 0 / 463.7 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.08053, allocations: 0 / 463.7 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.08067, allocations: 23.97 kB / 463.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.08069, allocations: 0 / 463.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.621e-05/0.08075, allocations: 7.938 kB / 463.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.0808, allocations: 31.89 kB / 463.7 MB, free: 3.777 MB / 334.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.679e-05/0.08089, allocations: 122.3 kB / 463.9 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.08094, allocations: 7.906 kB / 463.9 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.08099, allocations: 24.64 kB / 463.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.081, allocations: 0 / 463.9 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.08101, allocations: 4 kB / 463.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.981e-05/0.08109, allocations: 104.9 kB / 464 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.08112, allocations: 4 kB / 464 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.712e-05/0.08121, allocations: 4 kB / 464 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.08126, allocations: 7.984 kB / 464 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003087/0.08158, allocations: 204.8 kB / 464.2 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002989/0.08189, allocations: 294.5 kB / 464.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.589e-05/0.08198, allocations: 43.89 kB / 464.5 MB, free: 2.918 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.562e-05/0.08207, allocations: 111.3 kB / 464.7 MB, free: 2.809 MB / 334.1 MB Notification: Performance of Backend: time 4.71e-07/0.08208, allocations: 0 / 464.7 MB, free: 2.809 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000747/0.08283, allocations: 283.2 kB / 464.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004698/0.08331, allocations: 0.6239 MB / 465.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of Templates: time 0.005137/0.08846, allocations: 2.496 MB / 468 MB, free: 15.41 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)