Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001187/0.001186, allocations: 111.6 kB / 17.06 MB, free: 5.824 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.001339/0.001339, allocations: 192 kB / 18 MB, free: 4.977 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.815/1.815, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001518/0.001518, allocations: 51.91 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1323, allocations: 46.62 MB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.003399/0.1357, allocations: 1.514 MB / 376 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002808/0.1386, allocations: 1.453 MB / 377.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.906e-05/0.1387, allocations: 7.938 kB / 377.5 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.1388, allocations: 15.8 kB / 377.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.401e-05/0.1389, allocations: 23.8 kB / 377.5 MB, free: 1.531 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.001233/0.1402, allocations: 390.8 kB / 377.9 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.1404, allocations: 131.6 kB / 378 MB, free: 1.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.671e-05/0.1405, allocations: 17.48 kB / 378 MB, free: 1 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.165e-05/0.1406, allocations: 51.78 kB / 378.1 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.1407, allocations: 75.61 kB / 378.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.1407, allocations: 12 kB / 378.2 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007438/0.1415, allocations: 407.3 kB / 378.6 MB, free: 476 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.911e-05/0.1416, allocations: 43.83 kB / 378.6 MB, free: 432 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.87e-05/0.1417, allocations: 71.58 kB / 378.7 MB, free: 360 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3321/0.4738, allocations: 402 kB / 379.1 MB, free: 10.13 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.482e-05/0.4739, allocations: 0 / 379.1 MB, free: 10.13 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.378e-06/0.4739, allocations: 1.031 kB / 379.1 MB, free: 10.13 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.221e-05/0.4739, allocations: 0 / 379.1 MB, free: 10.13 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.001575/0.4755, allocations: 0.5145 MB / 379.6 MB, free: 9.742 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.308e-05/0.4756, allocations: 9.969 kB / 379.6 MB, free: 9.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003905/0.476, allocations: 34.91 kB / 379.6 MB, free: 9.734 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.4763, allocations: 200.2 kB / 379.8 MB, free: 9.523 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.953e-05/0.4763, allocations: 7.344 kB / 379.8 MB, free: 9.523 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.4764, allocations: 13 kB / 379.8 MB, free: 9.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/0.4767, allocations: 129.1 kB / 380 MB, free: 9.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.4767, allocations: 5 kB / 380 MB, free: 9.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.4768, allocations: 1.984 kB / 380 MB, free: 9.461 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.4768, allocations: 1.375 kB / 380 MB, free: 9.461 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.477, allocations: 68.56 kB / 380 MB, free: 9.461 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008921/0.4779, allocations: 0.5488 MB / 380.6 MB, free: 9.023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004131/0.4783, allocations: 150.6 kB / 380.7 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.4785, allocations: 69.83 kB / 380.8 MB, free: 8.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.4786, allocations: 2 kB / 380.8 MB, free: 8.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005041/0.4791, allocations: 156.1 kB / 381 MB, free: 8.859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.743e-06/0.4791, allocations: 2.781 kB / 381 MB, free: 8.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007316/0.4798, allocations: 251.2 kB / 381.2 MB, free: 8.816 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.57e-05/0.4799, allocations: 119.5 kB / 381.3 MB, free: 8.691 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.4802, allocations: 201.5 kB / 381.5 MB, free: 8.586 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.007e-05/0.4803, allocations: 48.09 kB / 381.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.406e-05/0.4804, allocations: 107.5 kB / 381.7 MB, free: 8.473 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.113e-05/0.4804, allocations: 44.58 kB / 381.7 MB, free: 8.449 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.4806, allocations: 60.39 kB / 381.8 MB, free: 8.434 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4807, allocations: 338 kB / 382.1 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/0.4812, allocations: 99.25 kB / 382.2 MB, free: 8.117 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003788/0.4815, allocations: 149.7 kB / 382.4 MB, free: 8.074 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000564/0.4821, allocations: 227.5 kB / 382.6 MB, free: 8.035 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.4821, allocations: 0.5312 kB / 382.6 MB, free: 8.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000844/0.483, allocations: 304.3 kB / 382.9 MB, free: 7.988 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.483, allocations: 5.125 kB / 382.9 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.4831, allocations: 2.719 kB / 382.9 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/0.4831, allocations: 2.781 kB / 382.9 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.4833, allocations: 29.69 kB / 382.9 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/0.4833, allocations: 8.625 kB / 382.9 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.4835, allocations: 30.8 kB / 382.9 MB, free: 7.977 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.4835, allocations: 10.55 kB / 383 MB, free: 7.977 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.0001807/0.4837, allocations: 158.6 kB / 383.1 MB, free: 7.852 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.4837, allocations: 15.11 kB / 383.1 MB, free: 7.844 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.507e-05/0.4838, allocations: 14.7 kB / 383.1 MB, free: 7.836 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.4838, allocations: 2.984 kB / 383.1 MB, free: 7.836 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.4838, allocations: 1.156 kB / 383.1 MB, free: 7.836 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.4838, allocations: 1.969 kB / 383.1 MB, free: 7.836 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.4841, allocations: 219 kB / 383.4 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.4841, allocations: 4.906 kB / 383.4 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.4842, allocations: 17.52 kB / 383.4 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4842, allocations: 1.719 kB / 383.4 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.4842, allocations: 6.047 kB / 383.4 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.4842, allocations: 3.016 kB / 383.4 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4842, allocations: 1.875 kB / 383.4 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004805/0.4847, allocations: 238.9 kB / 383.6 MB, free: 7.539 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.961e-05/0.4848, allocations: 92.53 kB / 383.7 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/0.4848, allocations: 13.19 kB / 383.7 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.4849, allocations: 6.328 kB / 383.7 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.572e-05/0.485, allocations: 17.92 kB / 383.8 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.4851, allocations: 4.422 kB / 383.8 MB, free: 7.438 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.4852, allocations: 142.2 kB / 383.9 MB, free: 7.359 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.4852, allocations: 4 kB / 383.9 MB, free: 7.355 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006961/0.4859, allocations: 129.1 kB / 384 MB, free: 7.332 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.001343/0.4873, allocations: 349 kB / 384.4 MB, free: 7.172 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000558/0.4879, allocations: 196.2 kB / 384.6 MB, free: 7.172 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4879, allocations: 1.188 kB / 384.6 MB, free: 7.172 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.4881, allocations: 69.05 kB / 384.6 MB, free: 7.168 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.4883, allocations: 12.61 kB / 384.6 MB, free: 7.164 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006921/0.489, allocations: 282.8 kB / 384.9 MB, free: 6.988 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.4893, allocations: 0.7291 MB / 385.6 MB, free: 6.281 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.741e-05/0.4894, allocations: 21.12 kB / 385.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.4895, allocations: 17.59 kB / 385.7 MB, free: 6.273 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4895, allocations: 0 / 385.7 MB, free: 6.273 MB / 318.1 MB Notification: Performance of Templates: time 0.01309/0.5026, allocations: 3.641 MB / 389.3 MB, free: 5.945 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1)