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.00104/0.00104, allocations: 182 kB / 13.64 MB, free: 1.676 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.469/1.469, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001605/0.001605, allocations: 112.7 kB / 253.5 MB, free: 9.59 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.366e-05/2.369e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07459/0.07462, allocations: 44.5 MB / 349.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3073/0.382, allocations: 73.97 MB / 423.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.3823, allocations: 69.23 kB / 423.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01965/0.4019, allocations: 7.497 MB / 431 MB, free: 8.418 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.402, allocations: 0 / 431 MB, free: 8.418 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.402, allocations: 3.906 kB / 431 MB, free: 8.418 MB / 298.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.00073/0.4027, allocations: 0.4976 MB / 431.5 MB, free: 7.957 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.4028, allocations: 7.375 kB / 431.5 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.403, allocations: 34.92 kB / 431.5 MB, free: 7.941 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.4032, allocations: 207.3 kB / 431.7 MB, free: 7.715 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.4032, allocations: 7.688 kB / 431.7 MB, free: 7.715 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.4032, allocations: 7.656 kB / 431.7 MB, free: 7.715 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.4034, allocations: 107.5 kB / 431.8 MB, free: 7.645 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.4034, allocations: 3.938 kB / 431.8 MB, free: 7.641 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.4035, allocations: 3.875 kB / 431.8 MB, free: 7.641 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4035, allocations: 4 kB / 431.8 MB, free: 7.637 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.497e-05/0.4036, allocations: 40.45 kB / 431.9 MB, free: 7.633 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006333/0.4042, allocations: 0.5732 MB / 432.5 MB, free: 7.121 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.4044, allocations: 126.9 kB / 432.6 MB, free: 7.039 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.169e-05/0.4045, allocations: 51.83 kB / 432.6 MB, free: 7.012 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.4045, allocations: 7.938 kB / 432.6 MB, free: 7.004 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.4047, allocations: 141.3 kB / 432.8 MB, free: 6.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.4047, allocations: 0 / 432.8 MB, free: 6.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003011/0.405, allocations: 181.8 kB / 433 MB, free: 6.852 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.405, allocations: 126 kB / 433.1 MB, free: 6.715 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.4052, allocations: 172.9 kB / 433.2 MB, free: 6.609 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.4052, allocations: 48.44 kB / 433.3 MB, free: 6.574 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.4053, allocations: 109 kB / 433.4 MB, free: 6.488 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.4053, allocations: 46.05 kB / 433.4 MB, free: 6.457 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/0.4053, allocations: 7.156 kB / 433.5 MB, free: 6.457 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.48e-05/0.4054, allocations: 334.5 kB / 433.8 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.4055, allocations: 73.89 kB / 433.9 MB, free: 6.133 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.4057, allocations: 120.8 kB / 434 MB, free: 6.086 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.4058, allocations: 86.08 kB / 434.1 MB, free: 6.074 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4058, allocations: 0 / 434.1 MB, free: 6.074 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003298/0.4061, allocations: 266.7 kB / 434.3 MB, free: 6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4062, allocations: 3.844 kB / 434.3 MB, free: 6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.4062, allocations: 7.938 kB / 434.3 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.4062, allocations: 0 / 434.3 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.4064, allocations: 34.97 kB / 434.4 MB, free: 5.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.4064, allocations: 3.844 kB / 434.4 MB, free: 5.984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.833e-05/0.4065, allocations: 26.33 kB / 434.4 MB, free: 5.969 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.4065, allocations: 15.08 kB / 434.4 MB, free: 5.965 MB / 298.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 8.326e-05/0.4066, allocations: 144 kB / 434.5 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.4066, allocations: 15.44 kB / 434.6 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/0.4067, allocations: 13.2 kB / 434.6 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4067, allocations: 3.969 kB / 434.6 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4067, allocations: 0 / 434.6 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4067, allocations: 0 / 434.6 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.4069, allocations: 225.1 kB / 434.8 MB, free: 5.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4069, allocations: 0 / 434.8 MB, free: 5.605 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.588e-05/0.4069, allocations: 11.69 kB / 434.8 MB, free: 5.605 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4069, allocations: 4 kB / 434.8 MB, free: 5.602 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.407, allocations: 11.39 kB / 434.8 MB, free: 5.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.407, allocations: 3.938 kB / 434.8 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.407, allocations: 0 / 434.8 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.4072, allocations: 245.6 kB / 435.1 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.616e-05/0.4073, allocations: 100.5 kB / 435.2 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.4073, allocations: 11.08 kB / 435.2 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.051e-05/0.4074, allocations: 11.77 kB / 435.2 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.4074, allocations: 23.09 kB / 435.2 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.4075, allocations: 7.688 kB / 435.2 MB, free: 5.312 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.497e-05/0.4075, allocations: 144.6 kB / 435.4 MB, free: 5.227 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4076, allocations: 0 / 435.4 MB, free: 5.227 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000532/0.4081, allocations: 158.2 kB / 435.5 MB, free: 5.172 MB / 298.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.0008505/0.4089, allocations: 390.6 kB / 435.9 MB, free: 4.941 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000294/0.4093, allocations: 230.7 kB / 436.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4093, allocations: 3.938 kB / 436.1 MB, free: 4.855 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.322e-05/0.4094, allocations: 56.11 kB / 436.2 MB, free: 4.848 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.4095, allocations: 11.53 kB / 436.2 MB, free: 4.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.4098, allocations: 200.2 kB / 436.4 MB, free: 4.707 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.41, allocations: 0.719 MB / 437.1 MB, free: 3.992 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.319e-05/0.4101, allocations: 20.7 kB / 437.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.4101, allocations: 15.16 kB / 437.1 MB, free: 3.977 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4101, allocations: 0 / 437.1 MB, free: 3.977 MB / 298.7 MB Notification: Performance of Templates: time 0.006165/0.4163, allocations: 3.571 MB / 440.7 MB, free: 2.176 MB / 298.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)