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.001371/0.001371, allocations: 108.3 kB / 16.41 MB, free: 6.406 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.001293/0.001293, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.0273/0.0273, allocations: 3.904 MB / 295.1 MB, free: 11.02 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001317, allocations: 70.17 kB / 407.6 MB, free: 28.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07482/0.07616, allocations: 50.19 MB / 457.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.002466/0.07866, allocations: 1.506 MB / 459.3 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.08059, allocations: 1.11 MB / 460.4 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.803e-05/0.08068, allocations: 3.938 kB / 460.4 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.08079, allocations: 19.8 kB / 460.4 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.08085, allocations: 15.88 kB / 460.4 MB, free: 7.336 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.0007709/0.08163, allocations: 243.3 kB / 460.7 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.08184, allocations: 167.7 kB / 460.8 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.256e-05/0.08192, allocations: 13.39 kB / 460.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.892e-05/0.08202, allocations: 63.77 kB / 460.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.08212, allocations: 55.75 kB / 461 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.08215, allocations: 8 kB / 461 MB, free: 6.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000407/0.08256, allocations: 243.6 kB / 461.2 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.297e-05/0.08261, allocations: 23.91 kB / 461.2 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.146e-05/0.08268, allocations: 55.67 kB / 461.3 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.08302, allocations: 283.3 kB / 461.6 MB, free: 6.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.08304, allocations: 4 kB / 461.6 MB, free: 6.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.08304, allocations: 0 / 461.6 MB, free: 6.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.08306, allocations: 3.938 kB / 461.6 MB, free: 6.191 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.001522/0.08458, allocations: 1.317 MB / 462.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.08462, allocations: 12.03 kB / 462.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003459/0.08497, allocations: 50.06 kB / 462.9 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.0852, allocations: 216 kB / 463.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.08528, allocations: 12.38 kB / 463.2 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.08531, allocations: 12.28 kB / 463.2 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.08565, allocations: 161.9 kB / 463.3 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.08567, allocations: 0 / 463.3 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.08569, allocations: 4 kB / 463.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.0857, allocations: 0 / 463.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/0.08607, allocations: 139.8 kB / 463.5 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.08665, allocations: 368.7 kB / 463.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004523/0.08711, allocations: 206.4 kB / 464 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.08739, allocations: 184.8 kB / 464.2 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.08742, allocations: 3.984 kB / 464.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004226/0.08785, allocations: 296.3 kB / 464.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.804e-06/0.08787, allocations: 0 / 464.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.001004/0.08888, allocations: 475 kB / 465 MB, free: 2.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.08894, allocations: 89.09 kB / 465.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.08913, allocations: 162.2 kB / 465.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.08915, allocations: 25.7 kB / 465.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.08921, allocations: 100.5 kB / 465.3 MB, free: 2.164 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.08925, allocations: 35.55 kB / 465.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.845e-05/0.08933, allocations: 45.69 kB / 465.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.934e-05/0.08943, allocations: 330.8 kB / 465.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.08965, allocations: 91.89 kB / 465.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.0899, allocations: 91.95 kB / 465.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004625/0.09037, allocations: 274.3 kB / 466.2 MB, free: 1.285 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.09038, allocations: 0 / 466.2 MB, free: 1.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005763/0.09096, allocations: 295.1 kB / 466.5 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.798e-05/0.09102, allocations: 49.69 kB / 466.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.09103, allocations: 0 / 466.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.09105, allocations: 64 / 466.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.09118, allocations: 28.09 kB / 466.6 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.0912, allocations: 7.938 kB / 466.6 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.09131, allocations: 15.89 kB / 466.6 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.09139, allocations: 27.91 kB / 466.6 MB, free: 0.8516 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.0001686/0.09157, allocations: 187.9 kB / 466.8 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.421e-05/0.09168, allocations: 15.89 kB / 466.8 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/0.09172, allocations: 12.84 kB / 466.8 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.09173, allocations: 3.984 kB / 466.8 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.09173, allocations: 3.938 kB / 466.8 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.09174, allocations: 0 / 466.8 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.09192, allocations: 225.4 kB / 467 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.09193, allocations: 4 kB / 467 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.718e-05/0.09204, allocations: 15.98 kB / 467.1 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.09205, allocations: 3.984 kB / 467.1 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.09207, allocations: 4 kB / 467.1 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.09208, allocations: 4 kB / 467.1 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.09209, allocations: 0 / 467.1 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.09324, allocations: 0.5883 MB / 467.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.09331, allocations: 88.95 kB / 467.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.09336, allocations: 15.98 kB / 467.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.0935, allocations: 8 kB / 467.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.09355, allocations: 11.98 kB / 467.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.206e-05/0.0936, allocations: 27.95 kB / 467.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.393e-05/0.09369, allocations: 112.2 kB / 467.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.0937, allocations: 4 kB / 467.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003123/0.09402, allocations: 87.98 kB / 468 MB, free: 15.33 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (continuousMean.mu) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,discreteNoise.state[1],discreteNoise.state[2],discreteNoise.state[3],discreteNoise.state[4],discreteNoise.buffer[1],discreteNoise.buffer[2],discreteNoise.bufferStartTime,discreteNoise.r) * Number of discrete states: 10 (discreteNoise.buffer[2],discreteNoise.buffer[1],discreteNoise.r,discreteNoise.bufferStartTime,discreteNoise.state[4],discreteNoise.state[3],discreteNoise.state[2],discreteNoise.state[1],$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0005448/0.09457, allocations: 258.4 kB / 468.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007182/0.0953, allocations: 439.2 kB / 468.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.09531, allocations: 0 / 468.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004442/0.09576, allocations: 363.3 kB / 469 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.09599, allocations: 23.94 kB / 469.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006602/0.09666, allocations: 377.4 kB / 469.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.09695, allocations: 0.7078 MB / 470.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.097, allocations: 27.42 kB / 470.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09701, allocations: 3.938 kB / 470.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of Templates: time 0.005518/0.1025, allocations: 3.12 MB / 473.3 MB, free: 10 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)