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.001197/0.001197, allocations: 188.5 kB / 8.353 MB, free: 0.707 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.388/1.388, allocations: 194.3 MB / 203.1 MB, free: 9.312 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001772/0.001772, allocations: 121.4 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.083e-05/2.084e-05, allocations: 4 kB / 298.1 MB, free: 8.246 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.101, allocations: 44.5 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3034/0.4045, allocations: 73.3 MB / 415.9 MB, free: 22.57 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.4048, allocations: 68.91 kB / 415.9 MB, free: 22.53 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01964/0.4244, allocations: 7.458 MB / 423.4 MB, free: 16.22 MB / 315.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4245, allocations: 3.984 kB / 423.4 MB, free: 16.21 MB / 315.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.4245, allocations: 4 kB / 423.4 MB, free: 16.21 MB / 315.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.0007333/0.4252, allocations: 497 kB / 423.9 MB, free: 15.7 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4253, allocations: 16.03 kB / 423.9 MB, free: 15.68 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.4255, allocations: 28.61 kB / 423.9 MB, free: 15.65 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.4257, allocations: 208.8 kB / 424.1 MB, free: 15.41 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.4257, allocations: 4 kB / 424.1 MB, free: 15.41 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.4258, allocations: 4 kB / 424.1 MB, free: 15.41 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001205/0.4259, allocations: 37.83 kB / 424.2 MB, free: 15.38 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.426, allocations: 115.7 kB / 424.3 MB, free: 15.27 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.4261, allocations: 4 kB / 424.3 MB, free: 15.27 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.4261, allocations: 4 kB / 424.3 MB, free: 15.26 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4261, allocations: 0 / 424.3 MB, free: 15.26 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006277/0.4267, allocations: 0.5358 MB / 424.8 MB, free: 14.73 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.4269, allocations: 117.8 kB / 425 MB, free: 14.61 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.639e-05/0.427, allocations: 57.22 kB / 425 MB, free: 14.55 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.427, allocations: 8.594 kB / 425 MB, free: 14.55 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.4272, allocations: 131.8 kB / 425.1 MB, free: 14.42 MB / 315.1 MB Notification: Performance of pre-optimization done (n=17): time 1.263e-06/0.4272, allocations: 0 / 425.1 MB, free: 14.42 MB / 315.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006205/0.4278, allocations: 203.3 kB / 425.3 MB, free: 14.25 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.4279, allocations: 126.8 kB / 425.5 MB, free: 14.1 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.428, allocations: 172 kB / 425.6 MB, free: 13.95 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.4281, allocations: 42.5 kB / 425.7 MB, free: 13.91 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.4281, allocations: 110.4 kB / 425.8 MB, free: 13.81 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.4282, allocations: 42.83 kB / 425.8 MB, free: 13.78 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.147e-05/0.4282, allocations: 0 / 425.8 MB, free: 13.78 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.4283, allocations: 337.7 kB / 426.2 MB, free: 13.45 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.4284, allocations: 76.05 kB / 426.2 MB, free: 13.4 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.4285, allocations: 115.7 kB / 426.3 MB, free: 13.31 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005054/0.429, allocations: 131.7 kB / 426.5 MB, free: 13.21 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.429, allocations: 0 / 426.5 MB, free: 13.21 MB / 315.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007578/0.4298, allocations: 301.3 kB / 426.8 MB, free: 12.96 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.4298, allocations: 4 kB / 426.8 MB, free: 12.96 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.4299, allocations: 0 / 426.8 MB, free: 12.96 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.4299, allocations: 5.031 kB / 426.8 MB, free: 12.96 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.43, allocations: 31.92 kB / 426.8 MB, free: 12.93 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.4301, allocations: 0 / 426.8 MB, free: 12.93 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.426e-05/0.4301, allocations: 19.8 kB / 426.8 MB, free: 12.91 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.4302, allocations: 11.62 kB / 426.8 MB, free: 12.9 MB / 315.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,$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.898e-05/0.4303, allocations: 142.4 kB / 427 MB, free: 12.76 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.4303, allocations: 15.81 kB / 427 MB, free: 12.74 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.75e-05/0.4304, allocations: 12.41 kB / 427 MB, free: 12.73 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4304, allocations: 3.938 kB / 427 MB, free: 12.73 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.4304, allocations: 4.094 kB / 427 MB, free: 12.73 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.4304, allocations: 7.969 kB / 427 MB, free: 12.72 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.4306, allocations: 190.7 kB / 427.2 MB, free: 12.52 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4306, allocations: 8 kB / 427.2 MB, free: 12.51 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.544e-05/0.4306, allocations: 8 kB / 427.2 MB, free: 12.5 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.4306, allocations: 1.062 kB / 427.2 MB, free: 12.5 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.4307, allocations: 7.984 kB / 427.2 MB, free: 12.49 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4307, allocations: 0 / 427.2 MB, free: 12.49 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4307, allocations: 4 kB / 427.2 MB, free: 12.49 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004983/0.4312, allocations: 268 kB / 427.5 MB, free: 12.23 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.4312, allocations: 102.2 kB / 427.6 MB, free: 12.11 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.4313, allocations: 11.55 kB / 427.6 MB, free: 12.1 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.4314, allocations: 8 kB / 427.6 MB, free: 12.09 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.4314, allocations: 16.91 kB / 427.6 MB, free: 12.08 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.4314, allocations: 12 kB / 427.6 MB, free: 12.07 MB / 315.1 MB Notification: Performance of sorting global known variables: time 8.141e-05/0.4315, allocations: 128.8 kB / 427.8 MB, free: 11.96 MB / 315.1 MB Notification: Performance of sort global known variables: time 8.11e-07/0.4315, allocations: 0 / 427.8 MB, free: 11.96 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0006336/0.4322, allocations: 161.5 kB / 427.9 MB, free: 11.81 MB / 315.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]) * 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.0009295/0.4331, allocations: 390 kB / 428.3 MB, free: 11.47 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0002841/0.4334, allocations: 220.4 kB / 428.5 MB, free: 11.29 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4334, allocations: 3.938 kB / 428.5 MB, free: 11.29 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 7.263e-05/0.4335, allocations: 52.36 kB / 428.6 MB, free: 11.25 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.4337, allocations: 12.62 kB / 428.6 MB, free: 11.24 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.434, allocations: 188.6 kB / 428.8 MB, free: 11.05 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.4342, allocations: 0.7242 MB / 429.5 MB, free: 10.3 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 6.492e-05/0.4343, allocations: 19.55 kB / 429.5 MB, free: 10.28 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.4343, allocations: 23.36 kB / 429.5 MB, free: 10.26 MB / 315.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4343, allocations: 0 / 429.5 MB, free: 10.26 MB / 315.1 MB Notification: Performance of Templates: time 0.005923/0.4402, allocations: 3.445 MB / 433 MB, free: 6.852 MB / 315.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)