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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001026/0.001026, allocations: 196.4 kB / 8.139 MB, free: 2.176 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.219/1.219, allocations: 194.2 MB / 202.8 MB, free: 8.68 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.001803/0.001803, allocations: 116 kB / 247.7 MB, free: 6.398 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.616e-05/1.618e-05, allocations: 4 kB / 297.6 MB, free: 8 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0837/0.08373, allocations: 44.49 MB / 342 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2169/0.3007, allocations: 73.23 MB / 415.3 MB, free: 21.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.3009, allocations: 74.14 kB / 415.4 MB, free: 21.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02056/0.3215, allocations: 7.129 MB / 422.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.3215, allocations: 4 kB / 422.5 MB, free: 15.79 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.000721/0.3223, allocations: 0.4948 MB / 423 MB, free: 15.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3223, allocations: 12.03 kB / 423 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002661/0.3226, allocations: 36.44 kB / 423 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.3228, allocations: 195 kB / 423.2 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.3228, allocations: 3.984 kB / 423.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.3228, allocations: 7.938 kB / 423.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001111/0.323, allocations: 38.94 kB / 423.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.3231, allocations: 118.8 kB / 423.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3231, allocations: 0 / 423.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.3232, allocations: 1.875 kB / 423.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3232, allocations: 4 kB / 423.4 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005427/0.3237, allocations: 0.5148 MB / 423.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.3239, allocations: 128 kB / 424 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.83e-05/0.324, allocations: 49.27 kB / 424.1 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.324, allocations: 0 / 424.1 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.3242, allocations: 131.4 kB / 424.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.3242, allocations: 7.938 kB / 424.2 MB, free: 14 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006919/0.3249, allocations: 174 kB / 424.4 MB, free: 13.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.3249, allocations: 122.7 kB / 424.5 MB, free: 13.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.3251, allocations: 166.9 kB / 424.7 MB, free: 13.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/0.3251, allocations: 45.62 kB / 424.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/0.3252, allocations: 95.69 kB / 424.8 MB, free: 13.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.3252, allocations: 46.23 kB / 424.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.298e-05/0.3252, allocations: 0 / 424.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.3253, allocations: 333.7 kB / 425.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.3254, allocations: 75.92 kB / 425.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.3255, allocations: 110.2 kB / 425.4 MB, free: 12.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005883/0.3261, allocations: 143.6 kB / 425.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3261, allocations: 7.75 kB / 425.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007851/0.3269, allocations: 297.2 kB / 425.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.327, allocations: 9.5 kB / 425.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.327, allocations: 4 kB / 425.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.327, allocations: 4 kB / 425.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.3272, allocations: 34.94 kB / 425.8 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3272, allocations: 7.062 kB / 425.9 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.3273, allocations: 19.75 kB / 425.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.3273, allocations: 11 kB / 425.9 MB, free: 12.5 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 () * 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.259e-05/0.3274, allocations: 140.5 kB / 426 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.3275, allocations: 15.81 kB / 426 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.3275, allocations: 12.72 kB / 426 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3275, allocations: 0 / 426 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3275, allocations: 3.984 kB / 426 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3275, allocations: 3.906 kB / 426.1 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.3277, allocations: 190.6 kB / 426.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3277, allocations: 0 / 426.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.903e-05/0.3278, allocations: 19.94 kB / 426.3 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3278, allocations: 3.906 kB / 426.3 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.3278, allocations: 7.984 kB / 426.3 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.3278, allocations: 0 / 426.3 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.3278, allocations: 0 / 426.3 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005612/0.3284, allocations: 230.2 kB / 426.5 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.3285, allocations: 104 kB / 426.6 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.3285, allocations: 11.98 kB / 426.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.924e-05/0.3286, allocations: 8 kB / 426.6 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.3287, allocations: 23.69 kB / 426.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.3287, allocations: 8 kB / 426.6 MB, free: 11.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.852e-05/0.3288, allocations: 129.5 kB / 426.8 MB, free: 11.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005636/0.3293, allocations: 155.4 kB / 426.9 MB, free: 11.44 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]) * 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.001243/0.3306, allocations: 423.9 kB / 427.3 MB, free: 11.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003311/0.3309, allocations: 227 kB / 427.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.331, allocations: 0 / 427.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.391e-05/0.331, allocations: 54 kB / 427.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.3312, allocations: 7.562 kB / 427.6 MB, free: 10.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.3316, allocations: 189.9 kB / 427.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.3318, allocations: 0.7469 MB / 428.6 MB, free: 9.863 MB / 314.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3318, allocations: 5.062 kB / 428.6 MB, free: 9.859 MB / 314.7 MB Notification: Performance of Templates: time 0.007055/0.3389, allocations: 3.848 MB / 432.4 MB, free: 6.051 MB / 314.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)