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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009569/0.0009569, allocations: 180.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.161/1.161, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001518/0.001517, allocations: 110.9 kB / 256.9 MB, free: 4.371 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003406, allocations: 15.98 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07733/0.07769, allocations: 44.49 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2313/0.3091, allocations: 74.04 MB / 429.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/0.3093, allocations: 78.16 kB / 429.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01825/0.3276, allocations: 7.556 MB / 436.7 MB, free: 9.047 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3276, allocations: 0 / 436.7 MB, free: 9.047 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3276, allocations: 4 kB / 436.7 MB, free: 9.043 MB / 314.7 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.0005844/0.3282, allocations: 0.5247 MB / 437.3 MB, free: 8.488 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.3282, allocations: 8.031 kB / 437.3 MB, free: 8.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.3284, allocations: 31.8 kB / 437.3 MB, free: 8.449 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.3286, allocations: 204.2 kB / 437.5 MB, free: 8.215 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.3286, allocations: 4 kB / 437.5 MB, free: 8.211 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.3286, allocations: 7.938 kB / 437.5 MB, free: 8.207 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.3288, allocations: 135.1 kB / 437.6 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.3288, allocations: 0 / 437.6 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3289, allocations: 0 / 437.6 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3289, allocations: 0 / 437.6 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.329, allocations: 78.83 kB / 437.7 MB, free: 8.012 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005653/0.3296, allocations: 0.5642 MB / 438.3 MB, free: 7.441 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.3299, allocations: 169.4 kB / 438.5 MB, free: 7.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.3299, allocations: 3.562 kB / 438.5 MB, free: 7.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.3302, allocations: 158.7 kB / 438.6 MB, free: 7.113 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.894e-06/0.3302, allocations: 0 / 438.6 MB, free: 7.113 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005181/0.3307, allocations: 429.5 kB / 439 MB, free: 6.695 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.992e-05/0.3308, allocations: 121.3 kB / 439.1 MB, free: 6.555 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.3309, allocations: 175.4 kB / 439.3 MB, free: 6.402 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.3309, allocations: 50.31 kB / 439.4 MB, free: 6.355 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.535e-05/0.331, allocations: 114 kB / 439.5 MB, free: 6.258 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.331, allocations: 38.28 kB / 439.5 MB, free: 6.227 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/0.331, allocations: 9.688 kB / 439.5 MB, free: 6.223 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.053e-05/0.3311, allocations: 328 kB / 439.8 MB, free: 5.902 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.3313, allocations: 95.62 kB / 439.9 MB, free: 5.836 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.3314, allocations: 128.2 kB / 440.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.3316, allocations: 111.1 kB / 440.2 MB, free: 5.656 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3316, allocations: 0 / 440.2 MB, free: 5.656 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004353/0.3321, allocations: 300 kB / 440.5 MB, free: 5.426 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3321, allocations: 4.094 kB / 440.5 MB, free: 5.422 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.3321, allocations: 8 kB / 440.5 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3322, allocations: 0 / 440.5 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.3323, allocations: 35.42 kB / 440.5 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3323, allocations: 0 / 440.5 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.165e-05/0.3324, allocations: 31.27 kB / 440.5 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.3324, allocations: 13.02 kB / 440.6 MB, free: 5.344 MB / 314.7 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,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.986e-05/0.3325, allocations: 156.5 kB / 440.7 MB, free: 5.191 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.3325, allocations: 15.81 kB / 440.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.3326, allocations: 20.27 kB / 440.7 MB, free: 5.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3326, allocations: 4 kB / 440.7 MB, free: 5.156 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3326, allocations: 0 / 440.7 MB, free: 5.156 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3326, allocations: 0 / 440.7 MB, free: 5.156 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.3328, allocations: 220.5 kB / 441 MB, free: 4.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.3328, allocations: 6.188 kB / 441 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.644e-05/0.3328, allocations: 15.98 kB / 441 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3328, allocations: 4 kB / 441 MB, free: 4.887 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3329, allocations: 7.922 kB / 441 MB, free: 4.883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.3329, allocations: 0 / 441 MB, free: 4.883 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3329, allocations: 4.656 kB / 441 MB, free: 4.879 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.3332, allocations: 270.4 kB / 441.3 MB, free: 4.617 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.3333, allocations: 96.28 kB / 441.4 MB, free: 4.508 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.3333, allocations: 15.92 kB / 441.4 MB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.63e-05/0.3334, allocations: 7.75 kB / 441.4 MB, free: 4.488 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.3334, allocations: 23.92 kB / 441.4 MB, free: 4.465 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.3334, allocations: 4.562 kB / 441.4 MB, free: 4.461 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.746e-05/0.3335, allocations: 139.6 kB / 441.5 MB, free: 4.344 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3335, allocations: 0 / 441.5 MB, free: 4.344 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005372/0.3341, allocations: 158.1 kB / 441.7 MB, free: 4.203 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007786/0.3349, allocations: 397.3 kB / 442.1 MB, free: 3.848 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004386/0.3353, allocations: 261.3 kB / 442.3 MB, free: 3.629 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3353, allocations: 0 / 442.3 MB, free: 3.629 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.3355, allocations: 73.33 kB / 442.4 MB, free: 3.574 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.3356, allocations: 12.5 kB / 442.4 MB, free: 3.562 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/0.336, allocations: 298.8 kB / 442.7 MB, free: 3.262 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.3361, allocations: 0.7239 MB / 443.4 MB, free: 2.512 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.814e-05/0.3362, allocations: 22.59 kB / 443.5 MB, free: 2.492 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.3362, allocations: 19.42 kB / 443.5 MB, free: 2.477 MB / 314.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3362, allocations: 0 / 443.5 MB, free: 2.477 MB / 314.7 MB Notification: Performance of Templates: time 0.006091/0.3423, allocations: 3.561 MB / 447 MB, free: 14.96 MB / 330.7 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)