Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.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.VaryingDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution") translateModel(AdvancedNoise.Examples.VaryingDistribution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 114.6 kB / 16.42 MB, free: 6.492 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.0009866/0.0009866, allocations: 185.7 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.29/1.29, allocations: 222.9 MB / 241.1 MB, free: 15.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.02562/0.02562, allocations: 3.916 MB / 295.1 MB, free: 11.04 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001212, allocations: 62.67 kB / 407.6 MB, free: 28.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06829/0.06952, allocations: 50.18 MB / 457.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.002355/0.0719, allocations: 1.515 MB / 459.3 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.07368, allocations: 1.106 MB / 460.4 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.577e-05/0.07375, allocations: 3.938 kB / 460.4 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.07386, allocations: 23.8 kB / 460.4 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.929e-05/0.07393, allocations: 7.875 kB / 460.4 MB, free: 7.363 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.0007/0.07464, allocations: 247.3 kB / 460.7 MB, free: 7.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.07483, allocations: 159.7 kB / 460.8 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.454e-05/0.07492, allocations: 17.33 kB / 460.8 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.07503, allocations: 67.75 kB / 460.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.297e-05/0.07512, allocations: 51.77 kB / 461 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.07516, allocations: 12 kB / 461 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003427/0.07551, allocations: 247.6 kB / 461.2 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.865e-05/0.07556, allocations: 19.94 kB / 461.2 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.274e-05/0.07564, allocations: 59.64 kB / 461.3 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.07599, allocations: 275.3 kB / 461.6 MB, free: 6.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.07601, allocations: 0 / 461.6 MB, free: 6.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.938e-06/0.07602, allocations: 4 kB / 461.6 MB, free: 6.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.07603, allocations: 0 / 461.6 MB, free: 6.223 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001433/0.07746, allocations: 1.321 MB / 462.9 MB, free: 4.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.0775, allocations: 8.031 kB / 462.9 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003287/0.07784, allocations: 56.69 kB / 462.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.07808, allocations: 212.1 kB / 463.2 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.0781, allocations: 4.375 kB / 463.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.07814, allocations: 16.28 kB / 463.2 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/0.07851, allocations: 161.9 kB / 463.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.07853, allocations: 0 / 463.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.07855, allocations: 4 kB / 463.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.07856, allocations: 0 / 463.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.07889, allocations: 147.8 kB / 463.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005225/0.07942, allocations: 360.7 kB / 463.8 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/0.0798, allocations: 214.4 kB / 464 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.08007, allocations: 176.8 kB / 464.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.0801, allocations: 4 kB / 464.2 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003741/0.08048, allocations: 296.3 kB / 464.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.08049, allocations: 0 / 464.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009122/0.08141, allocations: 475 kB / 465 MB, free: 2.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.08148, allocations: 97.09 kB / 465.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.08161, allocations: 158.2 kB / 465.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.08164, allocations: 25.7 kB / 465.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.08169, allocations: 100.5 kB / 465.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.08174, allocations: 35.56 kB / 465.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/0.08181, allocations: 41.69 kB / 465.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.08192, allocations: 326.8 kB / 465.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.08212, allocations: 91.89 kB / 465.8 MB, free: 1.691 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.08234, allocations: 93.16 kB / 465.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004246/0.08277, allocations: 278.4 kB / 466.2 MB, free: 1.316 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.08279, allocations: 0 / 466.2 MB, free: 1.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000523/0.08331, allocations: 295.1 kB / 466.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.877e-05/0.08337, allocations: 52.03 kB / 466.5 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.08339, allocations: 3.938 kB / 466.5 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.0834, allocations: 112 / 466.5 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.08354, allocations: 23.92 kB / 466.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.08356, allocations: 11.98 kB / 466.6 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.619e-05/0.08366, allocations: 19.97 kB / 466.6 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/0.08371, allocations: 23.91 kB / 466.6 MB, free: 0.8789 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: 14 (globalSeed.seed,discreteNoise.actualGlobalSeed,discreteNoise.localSeed,globalSeed.id_impure,discreteNoise.r,discreteNoise.bufferStartTime,discreteNoise.buffer[2],discreteNoise.buffer[1],discreteNoise.state[4],discreteNoise.state[3],discreteNoise.state[2],discreteNoise.state[1],$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.000154/0.08387, allocations: 191.9 kB / 466.8 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-05/0.08393, allocations: 15.89 kB / 466.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.08398, allocations: 12.84 kB / 466.8 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.08399, allocations: 0 / 466.8 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.08399, allocations: 4 kB / 466.8 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.08404, allocations: 92.86 kB / 466.9 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.08409, allocations: 11.98 kB / 466.9 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.0842, allocations: 15.98 kB / 466.9 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/0.08426, allocations: 15.91 kB / 467 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009157/0.08519, allocations: 0.5674 MB / 467.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001051/0.08625, allocations: 0.7149 MB / 468.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003542/0.08662, allocations: 272 kB / 468.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.807e-05/0.08671, allocations: 112.1 kB / 468.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of Backend: time 3.01e-07/0.08671, allocations: 0 / 468.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.08777, allocations: 0.5232 MB / 469.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of SimCode: time 0.0005847/0.08837, allocations: 0.7734 MB / 469.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of Templates: time 0.006271/0.09465, allocations: 3.4 MB / 473.3 MB, free: 10.07 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.makefile (rm -f AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.sim & ./AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe 2>&1)