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.001439/0.001439, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001556/0.001556, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02344/0.02344, allocations: 3.901 MB / 295.1 MB, free: 11.01 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001846, allocations: 67.89 kB / 356.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2216, allocations: 50.17 MB / 407.1 MB, free: 31.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.VaryingDistribution): time 0.00228/0.224, allocations: 1.505 MB / 408.6 MB, free: 30.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.2255, allocations: 1.099 MB / 409.7 MB, free: 29.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.768e-05/0.2256, allocations: 0.9688 kB / 409.7 MB, free: 29.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.2257, allocations: 19.8 kB / 409.7 MB, free: 29.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.192e-05/0.2258, allocations: 20.33 kB / 409.7 MB, free: 29.26 MB / 302.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.0006328/0.2264, allocations: 244 kB / 410 MB, free: 29.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.2266, allocations: 167.3 kB / 410.1 MB, free: 28.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.963e-05/0.2267, allocations: 21.38 kB / 410.2 MB, free: 28.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.258e-05/0.2268, allocations: 59.77 kB / 410.2 MB, free: 28.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.36e-05/0.2268, allocations: 55.81 kB / 410.3 MB, free: 28.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.2269, allocations: 8 kB / 410.3 MB, free: 28.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002749/0.2271, allocations: 251.6 kB / 410.5 MB, free: 28.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.7e-05/0.2272, allocations: 19.86 kB / 410.5 MB, free: 28.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.78e-05/0.2273, allocations: 51.73 kB / 410.6 MB, free: 28.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.2276, allocations: 282.3 kB / 410.9 MB, free: 28.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2276, allocations: 0 / 410.9 MB, free: 28.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2276, allocations: 0 / 410.9 MB, free: 28.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.309e-06/0.2276, allocations: 0 / 410.9 MB, free: 28.12 MB / 302.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.001141/0.2287, allocations: 1.319 MB / 412.2 MB, free: 26.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2288, allocations: 14.06 kB / 412.2 MB, free: 26.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/0.2291, allocations: 54.75 kB / 412.3 MB, free: 26.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.2293, allocations: 212.7 kB / 412.5 MB, free: 26.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.2294, allocations: 4.375 kB / 412.5 MB, free: 26.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.2294, allocations: 16.38 kB / 412.5 MB, free: 26.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.2297, allocations: 165.8 kB / 412.6 MB, free: 26.26 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2297, allocations: 0 / 412.6 MB, free: 26.26 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.2297, allocations: 7.984 kB / 412.7 MB, free: 26.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2298, allocations: 0 / 412.7 MB, free: 26.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.23, allocations: 139.8 kB / 412.8 MB, free: 26.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.2305, allocations: 364.7 kB / 413.1 MB, free: 25.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.2308, allocations: 214.4 kB / 413.4 MB, free: 25.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.2311, allocations: 172.9 kB / 413.5 MB, free: 25.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.2311, allocations: 4 kB / 413.5 MB, free: 25.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002999/0.2314, allocations: 303.5 kB / 413.8 MB, free: 24.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.2314, allocations: 0 / 413.8 MB, free: 24.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008292/0.2322, allocations: 471.1 kB / 414.3 MB, free: 24.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.2323, allocations: 93.05 kB / 414.4 MB, free: 24.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.2324, allocations: 167 kB / 414.5 MB, free: 24.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.2324, allocations: 25.7 kB / 414.6 MB, free: 24.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.2325, allocations: 100.5 kB / 414.7 MB, free: 24.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.2325, allocations: 39.53 kB / 414.7 MB, free: 24.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.2326, allocations: 37.7 kB / 414.7 MB, free: 24.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.563e-05/0.2326, allocations: 330.8 kB / 415.1 MB, free: 23.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.2328, allocations: 99.83 kB / 415.2 MB, free: 23.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.233, allocations: 91.95 kB / 415.3 MB, free: 23.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.2333, allocations: 269.7 kB / 415.5 MB, free: 23.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2333, allocations: 0 / 415.5 MB, free: 23.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004455/0.2338, allocations: 299.1 kB / 415.8 MB, free: 22.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.2339, allocations: 53.62 kB / 415.9 MB, free: 22.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.2339, allocations: 3.984 kB / 415.9 MB, free: 22.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2339, allocations: 0 / 415.9 MB, free: 22.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.234, allocations: 23.97 kB / 415.9 MB, free: 22.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.234, allocations: 0 / 415.9 MB, free: 22.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.166e-05/0.2341, allocations: 27.83 kB / 415.9 MB, free: 22.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.2342, allocations: 15.98 kB / 415.9 MB, free: 22.79 MB / 302.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.00013/0.2343, allocations: 195.9 kB / 416.1 MB, free: 22.58 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.2344, allocations: 11.91 kB / 416.1 MB, free: 22.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.703e-05/0.2344, allocations: 12.84 kB / 416.1 MB, free: 22.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2344, allocations: 0 / 416.1 MB, free: 22.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.2344, allocations: 0 / 416.1 MB, free: 22.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2344, allocations: 0 / 416.1 MB, free: 22.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.2346, allocations: 221.4 kB / 416.4 MB, free: 22.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2346, allocations: 0 / 416.4 MB, free: 22.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.793e-05/0.2347, allocations: 27.98 kB / 416.4 MB, free: 22.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2347, allocations: 4 kB / 416.4 MB, free: 22.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.2347, allocations: 7.984 kB / 416.4 MB, free: 22.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2347, allocations: 0 / 416.4 MB, free: 22.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2347, allocations: 4 kB / 416.4 MB, free: 22.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008172/0.2355, allocations: 0.5844 MB / 417 MB, free: 21.63 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.2356, allocations: 88.98 kB / 417.1 MB, free: 21.53 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.2356, allocations: 11.98 kB / 417.1 MB, free: 21.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.733e-05/0.2357, allocations: 15.98 kB / 417.1 MB, free: 21.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.2358, allocations: 7.984 kB / 417.1 MB, free: 21.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.2358, allocations: 27.97 kB / 417.1 MB, free: 21.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.549e-05/0.2359, allocations: 111.2 kB / 417.2 MB, free: 21.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.242e-06/0.2359, allocations: 0 / 417.2 MB, free: 21.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.2362, allocations: 91.94 kB / 417.3 MB, free: 21.27 MB / 302.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.0003983/0.2366, allocations: 265.7 kB / 417.6 MB, free: 21.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005312/0.2371, allocations: 427.2 kB / 418 MB, free: 20.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2371, allocations: 0 / 418 MB, free: 20.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003209/0.2375, allocations: 371.3 kB / 418.4 MB, free: 20.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.2377, allocations: 27.92 kB / 418.4 MB, free: 20.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.2382, allocations: 359.3 kB / 418.8 MB, free: 19.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.699e-05/0.2383, allocations: 0.708 MB / 419.5 MB, free: 19.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.081e-05/0.2383, allocations: 8.672 kB / 419.5 MB, free: 19.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.2384, allocations: 19.42 kB / 419.5 MB, free: 19.06 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2384, allocations: 0 / 419.5 MB, free: 19.06 MB / 302.1 MB Notification: Performance of Templates: time 0.004935/0.2433, allocations: 3.158 MB / 422.6 MB, free: 15.93 MB / 302.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 -s gbode -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.VaryingDistribution.pipe 2>&1)