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.001498/0.001499, allocations: 114.4 kB / 16.42 MB, free: 6.441 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.001628/0.001628, allocations: 189.6 kB / 17.35 MB, free: 5.727 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.03999/0.03999, allocations: 3.919 MB / 295.1 MB, free: 11.03 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 64.12 kB / 407.6 MB, free: 28.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06691/0.06817, allocations: 50.18 MB / 457.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.002226/0.07041, allocations: 1.519 MB / 459.3 MB, free: 8.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.07228, allocations: 1.153 MB / 460.4 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.995e-05/0.07237, allocations: 3.938 kB / 460.4 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.07252, allocations: 35.61 kB / 460.5 MB, free: 7.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.987e-05/0.0726, allocations: 23.78 kB / 460.5 MB, free: 7.273 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.0007002/0.07331, allocations: 235.3 kB / 460.7 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.0736, allocations: 267.4 kB / 461 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.07365, allocations: 13.56 kB / 461 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.07382, allocations: 107.7 kB / 461.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.07394, allocations: 75.61 kB / 461.2 MB, free: 6.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.07398, allocations: 16 kB / 461.2 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002809/0.07427, allocations: 163.8 kB / 461.4 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.517e-05/0.07432, allocations: 27.91 kB / 461.4 MB, free: 6.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.586e-05/0.07442, allocations: 91.47 kB / 461.5 MB, free: 6.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003731/0.0748, allocations: 287.2 kB / 461.8 MB, free: 6.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.07482, allocations: 0 / 461.8 MB, free: 6.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.07482, allocations: 0 / 461.8 MB, free: 6.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.07483, allocations: 4 kB / 461.8 MB, free: 6.012 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.002261/0.0771, allocations: 2.224 MB / 464 MB, free: 3.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.07715, allocations: 12.03 kB / 464 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006236/0.07778, allocations: 108.5 kB / 464.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.07809, allocations: 251.8 kB / 464.3 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.07812, allocations: 12.36 kB / 464.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.07816, allocations: 12.38 kB / 464.4 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004405/0.0786, allocations: 258.5 kB / 464.6 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.07862, allocations: 3.938 kB / 464.6 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.07865, allocations: 4 kB / 464.6 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.07866, allocations: 0 / 464.6 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003964/0.07906, allocations: 219.9 kB / 464.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.07934, allocations: 254.3 kB / 465.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.07973, allocations: 329.2 kB / 465.4 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.08009, allocations: 293.7 kB / 465.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.08011, allocations: 4 kB / 465.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005262/0.08064, allocations: 0.5148 MB / 466.2 MB, free: 1.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.08065, allocations: 0 / 466.2 MB, free: 1.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001162/0.08182, allocations: 0.7744 MB / 467 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.579e-05/0.08192, allocations: 156.6 kB / 467.2 MB, free: 332 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.08212, allocations: 219 kB / 467.4 MB, free: 100 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.08216, allocations: 37.64 kB / 467.4 MB, free: 56 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/0.08224, allocations: 108.7 kB / 467.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.08229, allocations: 43.31 kB / 467.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.395e-05/0.08238, allocations: 53.69 kB / 467.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.08251, allocations: 334.8 kB / 467.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.08276, allocations: 136.2 kB / 468.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.083, allocations: 148.3 kB / 468.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005468/0.08356, allocations: 460.4 kB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.08357, allocations: 3.938 kB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006354/0.08421, allocations: 463 kB / 469.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.986e-05/0.0843, allocations: 95.36 kB / 469.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.08431, allocations: 0 / 469.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.08434, allocations: 8 kB / 469.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.08447, allocations: 15.98 kB / 469.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.768e-06/0.08448, allocations: 0 / 469.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.08459, allocations: 23.89 kB / 469.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.352e-05/0.08465, allocations: 35.89 kB / 469.3 MB, free: 14.09 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.0002192/0.08488, allocations: 264.1 kB / 469.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.377e-05/0.08494, allocations: 27.72 kB / 469.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.08498, allocations: 21.41 kB / 469.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.08499, allocations: 0 / 469.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.08499, allocations: 0 / 469.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.08515, allocations: 144.7 kB / 469.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.102e-05/0.08521, allocations: 19.98 kB / 469.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.08534, allocations: 12 kB / 469.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/0.08542, allocations: 23.91 kB / 469.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001114/0.08654, allocations: 0.9746 MB / 470.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001001/0.08755, allocations: 0.9012 MB / 471.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005034/0.08807, allocations: 471.9 kB / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.0882, allocations: 151.2 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Backend: time 3.51e-07/0.0882, allocations: 0 / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.08951, allocations: 0.7727 MB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of SimCode: time 0.000741/0.09027, allocations: 0.9102 MB / 474 MB, free: 9.242 MB / 350.1 MB Notification: Performance of Templates: time 0.007708/0.09799, allocations: 4.384 MB / 478.3 MB, free: 4.891 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)