Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.UniformNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") [: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.00112/0.00112, allocations: 190 kB / 8.132 MB, free: 2.199 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.31/1.31, allocations: 194.2 MB / 202.8 MB, free: 8.652 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.001871/0.001871, allocations: 120.4 kB / 247.7 MB, free: 6.395 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.582e-06/6.622e-06, allocations: 0 / 297.6 MB, free: 7.988 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1075, allocations: 44.49 MB / 342 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3198/0.4274, allocations: 71.15 MB / 413.2 MB, free: 23.96 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.4277, allocations: 66.39 kB / 413.3 MB, free: 23.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01068/0.4384, allocations: 3.809 MB / 417.1 MB, free: 20.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.4384, allocations: 7.938 kB / 417.1 MB, free: 20.75 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005231/0.4389, allocations: 429.7 kB / 417.5 MB, free: 20.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.439, allocations: 9.344 kB / 417.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.4393, allocations: 45.47 kB / 417.6 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.4395, allocations: 187.8 kB / 417.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.4395, allocations: 4 kB / 417.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.4396, allocations: 7.906 kB / 417.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.933e-05/0.4397, allocations: 41.05 kB / 417.8 MB, free: 19.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.4398, allocations: 97.8 kB / 417.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.4398, allocations: 3.938 kB / 417.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.4398, allocations: 3.688 kB / 417.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4398, allocations: 0 / 417.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.4402, allocations: 341.3 kB / 418.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.4404, allocations: 98.62 kB / 418.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.523e-05/0.4405, allocations: 48.28 kB / 418.4 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.4405, allocations: 0 / 418.4 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.4406, allocations: 137.4 kB / 418.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.4406, allocations: 0 / 418.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002137/0.4408, allocations: 123.3 kB / 418.6 MB, free: 19.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.4409, allocations: 97.08 kB / 418.7 MB, free: 19.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.441, allocations: 152.7 kB / 418.9 MB, free: 18.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.441, allocations: 41.06 kB / 418.9 MB, free: 18.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.4411, allocations: 104.2 kB / 419 MB, free: 18.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.4411, allocations: 38.3 kB / 419 MB, free: 18.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.4411, allocations: 4 kB / 419.1 MB, free: 18.76 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.13e-05/0.4412, allocations: 331.3 kB / 419.4 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.4413, allocations: 72.62 kB / 419.4 MB, free: 18.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.4414, allocations: 106.7 kB / 419.5 MB, free: 18.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.4417, allocations: 105.2 kB / 419.7 MB, free: 18.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4417, allocations: 0 / 419.7 MB, free: 18.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004304/0.4421, allocations: 261.8 kB / 419.9 MB, free: 18.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.4422, allocations: 4 kB / 419.9 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.4422, allocations: 4 kB / 419.9 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.4422, allocations: 0 / 419.9 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.4423, allocations: 35.61 kB / 420 MB, free: 17.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.4423, allocations: 4 kB / 420 MB, free: 17.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.529e-05/0.4424, allocations: 29.67 kB / 420 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.4425, allocations: 11.31 kB / 420 MB, free: 17.95 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * 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 6.715e-05/0.4425, allocations: 124 kB / 420.1 MB, free: 17.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.4426, allocations: 19.8 kB / 420.1 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.4426, allocations: 13.28 kB / 420.1 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4426, allocations: 0 / 420.1 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.4426, allocations: 3.938 kB / 420.2 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.4426, allocations: 0 / 420.2 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.4428, allocations: 184.2 kB / 420.3 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4428, allocations: 3.938 kB / 420.3 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.341e-05/0.4428, allocations: 18.69 kB / 420.4 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.4428, allocations: 0 / 420.4 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.4429, allocations: 3.984 kB / 420.4 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4429, allocations: 4 kB / 420.4 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4429, allocations: 0 / 420.4 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001665/0.443, allocations: 172.5 kB / 420.5 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.102e-05/0.4431, allocations: 94.3 kB / 420.6 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.4431, allocations: 19.67 kB / 420.6 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-05/0.4432, allocations: 4 kB / 420.6 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.4433, allocations: 11.97 kB / 420.7 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.4433, allocations: 17.69 kB / 420.7 MB, free: 17.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.102e-05/0.4433, allocations: 117.5 kB / 420.8 MB, free: 17.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003123/0.4437, allocations: 59.92 kB / 420.8 MB, free: 17.08 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.0004316/0.4441, allocations: 227.7 kB / 421.1 MB, free: 16.9 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002981/0.4444, allocations: 215 kB / 421.3 MB, free: 16.72 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4444, allocations: 0 / 421.3 MB, free: 16.72 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.275e-05/0.4445, allocations: 56.73 kB / 421.3 MB, free: 16.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.4446, allocations: 8.922 kB / 421.3 MB, free: 16.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003323/0.445, allocations: 169.2 kB / 421.5 MB, free: 16.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.4451, allocations: 0.731 MB / 422.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4451, allocations: 0 / 422.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of Templates: time 0.004554/0.4497, allocations: 2.355 MB / 424.6 MB, free: 13.43 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1)