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.001195/0.001195, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.487/1.487, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.001261/0.001261, allocations: 59.92 kB / 278.7 MB, free: 12.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3269, allocations: 46.63 MB / 325.3 MB, free: 1.871 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002656/0.3296, allocations: 1.532 MB / 326.8 MB, free: 0.6523 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.3321, allocations: 1.441 MB / 328.3 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.3321, allocations: 1.438 kB / 328.3 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.3323, allocations: 11.81 kB / 328.3 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.3324, allocations: 34.45 kB / 328.3 MB, free: 15.5 MB / 270.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.001223/0.3336, allocations: 387 kB / 328.7 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.3338, allocations: 132.5 kB / 328.8 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.555e-05/0.3339, allocations: 11.95 kB / 328.8 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.755e-05/0.334, allocations: 55.48 kB / 328.9 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.026e-05/0.3341, allocations: 72.3 kB / 329 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.3341, allocations: 16.34 kB / 329 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007536/0.3349, allocations: 423.3 kB / 329.4 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.423e-05/0.3349, allocations: 31.06 kB / 329.4 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.414e-05/0.335, allocations: 65.25 kB / 329.5 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006438/0.3357, allocations: 409.7 kB / 329.9 MB, free: 14.53 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.3357, allocations: 0 / 329.9 MB, free: 14.53 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3357, allocations: 3.938 kB / 329.9 MB, free: 14.53 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.3357, allocations: 1.062 kB / 329.9 MB, free: 14.53 MB / 270.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.000834/0.3366, allocations: 0.5142 MB / 330.4 MB, free: 14.03 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3366, allocations: 9.344 kB / 330.4 MB, free: 14.03 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002388/0.3369, allocations: 29.98 kB / 330.4 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.3371, allocations: 204.9 kB / 330.7 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.3371, allocations: 7.625 kB / 330.7 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.3371, allocations: 6.062 kB / 330.7 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.3374, allocations: 132.8 kB / 330.8 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.3374, allocations: 4 kB / 330.8 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.3374, allocations: 5.328 kB / 330.8 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3375, allocations: 1.156 kB / 330.8 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.3377, allocations: 68.14 kB / 330.9 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007841/0.3385, allocations: 0.5496 MB / 331.4 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.3388, allocations: 155.2 kB / 331.6 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.339, allocations: 63.14 kB / 331.6 MB, free: 12.94 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.339, allocations: 1.125 kB / 331.6 MB, free: 12.94 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003833/0.3394, allocations: 161.5 kB / 331.8 MB, free: 12.81 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.3394, allocations: 0 / 331.8 MB, free: 12.81 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006294/0.34, allocations: 256.9 kB / 332 MB, free: 12.68 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.3401, allocations: 110.9 kB / 332.2 MB, free: 12.56 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.3403, allocations: 205.8 kB / 332.4 MB, free: 12.4 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/0.3404, allocations: 48.67 kB / 332.4 MB, free: 12.36 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.571e-05/0.3405, allocations: 106.3 kB / 332.5 MB, free: 12.25 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.3405, allocations: 47.38 kB / 332.5 MB, free: 12.21 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.725e-05/0.3406, allocations: 60.97 kB / 332.6 MB, free: 12.17 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3408, allocations: 335.4 kB / 332.9 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.341, allocations: 101.4 kB / 333 MB, free: 11.79 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.3413, allocations: 141.1 kB / 333.2 MB, free: 11.71 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.3417, allocations: 223.2 kB / 333.4 MB, free: 11.54 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3417, allocations: 0 / 333.4 MB, free: 11.54 MB / 270.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005541/0.3423, allocations: 313.2 kB / 333.7 MB, free: 11.23 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.3423, allocations: 10.97 kB / 333.7 MB, free: 11.22 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3423, allocations: 0 / 333.7 MB, free: 11.22 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3423, allocations: 3.984 kB / 333.7 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.3425, allocations: 35.97 kB / 333.7 MB, free: 11.18 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.3425, allocations: 11.88 kB / 333.8 MB, free: 11.17 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.769e-05/0.3426, allocations: 11.84 kB / 333.8 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.3427, allocations: 16.09 kB / 333.8 MB, free: 11.14 MB / 270.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.0001695/0.3428, allocations: 145.8 kB / 333.9 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.3429, allocations: 15.81 kB / 333.9 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/0.3429, allocations: 17.39 kB / 334 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3429, allocations: 4 kB / 334 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3429, allocations: 0 / 334 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.343, allocations: 4 kB / 334 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.3432, allocations: 233.3 kB / 334.2 MB, free: 10.67 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3432, allocations: 0 / 334.2 MB, free: 10.67 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.939e-05/0.3432, allocations: 11.98 kB / 334.2 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.3433, allocations: 4 kB / 334.2 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.3433, allocations: 0 / 334.2 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3433, allocations: 4 kB / 334.2 MB, free: 10.65 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3433, allocations: 0 / 334.2 MB, free: 10.65 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004368/0.3437, allocations: 242.5 kB / 334.5 MB, free: 10.39 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.116e-05/0.3438, allocations: 92.86 kB / 334.5 MB, free: 10.28 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.3438, allocations: 11.98 kB / 334.6 MB, free: 10.27 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.952e-05/0.3439, allocations: 8 kB / 334.6 MB, free: 10.26 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.344, allocations: 12.08 kB / 334.6 MB, free: 10.25 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.344, allocations: 15.86 kB / 334.6 MB, free: 10.23 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.3441, allocations: 141.2 kB / 334.7 MB, free: 10.1 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3441, allocations: 0 / 334.7 MB, free: 10.1 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004721/0.3446, allocations: 128 kB / 334.9 MB, free: 9.973 MB / 270.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.0008234/0.3454, allocations: 344.2 kB / 335.2 MB, free: 9.633 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004539/0.3459, allocations: 207.7 kB / 335.4 MB, free: 9.43 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.3459, allocations: 4.188 kB / 335.4 MB, free: 9.426 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.3461, allocations: 64 kB / 335.5 MB, free: 9.363 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.3463, allocations: 12.08 kB / 335.5 MB, free: 9.352 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.3469, allocations: 298.2 kB / 335.8 MB, free: 9.027 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.3472, allocations: 0.7123 MB / 336.5 MB, free: 8.289 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.451e-05/0.3472, allocations: 25.41 kB / 336.5 MB, free: 8.262 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.3473, allocations: 19.44 kB / 336.5 MB, free: 8.242 MB / 270.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3473, allocations: 4 kB / 336.5 MB, free: 8.238 MB / 270.1 MB Notification: Performance of Templates: time 0.007674/0.355, allocations: 3.617 MB / 340.1 MB, free: 4.617 MB / 270.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)