Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006016/0.006016, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001328/0.001328, allocations: 187.4 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.1 MB / 222.6 MB, free: 4.484 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 50.86 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1333, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.003982/0.1373, allocations: 1.523 MB / 374.7 MB, free: 15.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003445/0.1408, allocations: 1.461 MB / 376.2 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.141, allocations: 0 / 376.2 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.1412, allocations: 7.875 kB / 376.2 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.1413, allocations: 27.73 kB / 376.2 MB, free: 14.28 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:994:5-1084:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:321:7-386:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift128plus.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.1428, allocations: 390.8 kB / 376.6 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.1431, allocations: 139.5 kB / 376.7 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.527e-05/0.1432, allocations: 9.5 kB / 376.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.069e-05/0.1433, allocations: 55.77 kB / 376.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.251e-05/0.1434, allocations: 71.62 kB / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.1434, allocations: 12 kB / 376.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.1444, allocations: 419.3 kB / 377.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.999e-05/0.1445, allocations: 43.84 kB / 377.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.1447, allocations: 63.58 kB / 377.4 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.1458, allocations: 407.1 kB / 377.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.1458, allocations: 4 kB / 377.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1458, allocations: 0 / 377.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1459, allocations: 0 / 377.8 MB, free: 12.7 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001128/0.147, allocations: 0.5065 MB / 378.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.147, allocations: 8.031 kB / 378.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.1473, allocations: 32.73 kB / 378.3 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.1475, allocations: 208.8 kB / 378.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.1476, allocations: 12.34 kB / 378.5 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.1476, allocations: 12.38 kB / 378.5 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.1479, allocations: 132.4 kB / 378.7 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1479, allocations: 4 kB / 378.7 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.148, allocations: 4 kB / 378.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.148, allocations: 0 / 378.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.1482, allocations: 63.95 kB / 378.7 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009728/0.1492, allocations: 0.5515 MB / 379.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/0.1496, allocations: 151.7 kB / 379.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.1497, allocations: 70.59 kB / 379.5 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.1497, allocations: 0 / 379.5 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000374/0.1501, allocations: 153.8 kB / 379.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.1501, allocations: 4 kB / 379.7 MB, free: 10.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006326/0.1508, allocations: 249.5 kB / 379.9 MB, free: 10.33 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.491e-05/0.1509, allocations: 122.7 kB / 380 MB, free: 10.19 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.1511, allocations: 199 kB / 380.2 MB, free: 9.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.1512, allocations: 45.69 kB / 380.3 MB, free: 9.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.193e-05/0.1513, allocations: 112.5 kB / 380.4 MB, free: 9.816 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.141e-05/0.1513, allocations: 47.58 kB / 380.4 MB, free: 9.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.282e-05/0.1514, allocations: 49.7 kB / 380.5 MB, free: 9.715 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1516, allocations: 342.8 kB / 380.8 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.1518, allocations: 95.94 kB / 380.9 MB, free: 9.277 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.152, allocations: 143.1 kB / 381 MB, free: 9.125 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.1524, allocations: 235.7 kB / 381.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1525, allocations: 0 / 381.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005932/0.1531, allocations: 313.3 kB / 381.6 MB, free: 8.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.1531, allocations: 8 kB / 381.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.1531, allocations: 0 / 381.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1531, allocations: 0 / 381.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.1533, allocations: 35.91 kB / 381.6 MB, free: 8.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.1533, allocations: 4 kB / 381.6 MB, free: 8.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.1534, allocations: 19.75 kB / 381.6 MB, free: 8.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.1535, allocations: 11.98 kB / 381.7 MB, free: 8.492 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1],truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 2 * 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 0.000156/0.1536, allocations: 153.9 kB / 381.8 MB, free: 8.332 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.1537, allocations: 19.73 kB / 381.8 MB, free: 8.312 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.899e-05/0.1537, allocations: 13.41 kB / 381.8 MB, free: 8.297 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1537, allocations: 4 kB / 381.8 MB, free: 8.293 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.1537, allocations: 0 / 381.8 MB, free: 8.293 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1537, allocations: 0 / 381.8 MB, free: 8.293 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.154, allocations: 217.5 kB / 382.1 MB, free: 8.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.154, allocations: 0 / 382.1 MB, free: 8.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.105e-05/0.1541, allocations: 11.98 kB / 382.1 MB, free: 8.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1541, allocations: 11.94 kB / 382.1 MB, free: 8.008 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1541, allocations: 96 / 382.1 MB, free: 8.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.1541, allocations: 7.984 kB / 382.1 MB, free: 8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1541, allocations: 0 / 382.1 MB, free: 8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/0.1545, allocations: 246.4 kB / 382.3 MB, free: 7.734 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/0.1546, allocations: 92.92 kB / 382.4 MB, free: 7.625 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.1546, allocations: 15.98 kB / 382.4 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/0.1547, allocations: 4 kB / 382.4 MB, free: 7.605 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/0.1548, allocations: 23.91 kB / 382.5 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.1548, allocations: 7.938 kB / 382.5 MB, free: 7.574 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.155, allocations: 133.2 kB / 382.6 MB, free: 7.445 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.155, allocations: 0 / 382.6 MB, free: 7.445 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005067/0.1555, allocations: 124 kB / 382.7 MB, free: 7.324 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009326/0.1564, allocations: 354.6 kB / 383.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005185/0.1569, allocations: 199.8 kB / 383.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.157, allocations: 3.938 kB / 383.3 MB, free: 6.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.1571, allocations: 68.2 kB / 383.3 MB, free: 6.703 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.1574, allocations: 19.91 kB / 383.4 MB, free: 6.684 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000673/0.1581, allocations: 269.2 kB / 383.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.1585, allocations: 0.7238 MB / 384.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.571e-05/0.1586, allocations: 25.41 kB / 384.4 MB, free: 5.617 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.1587, allocations: 19.44 kB / 384.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1587, allocations: 0 / 384.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of Templates: time 0.008467/0.1671, allocations: 3.644 MB / 388 MB, free: 1.949 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & ./Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1)