Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.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.ImpureGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001509/0.00151, allocations: 184 kB / 8.354 MB, free: 0.7305 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.569/1.569, allocations: 194.3 MB / 203.1 MB, free: 13.03 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.001713/0.001712, allocations: 108.8 kB / 248.1 MB, free: 36 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.866e-05/1.867e-05, allocations: 4 kB / 298.1 MB, free: 35.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08163/0.08166, allocations: 44.5 MB / 342.6 MB, free: 7.004 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3318/0.4135, allocations: 70.33 MB / 412.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001693/0.4137, allocations: 72.5 kB / 413 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004772/0.4185, allocations: 1.976 MB / 414.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4185, allocations: 0 / 414.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.4185, allocations: 0 / 414.9 MB, free: 10.4 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002088/0.4187, allocations: 341.8 kB / 415.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.4188, allocations: 11.53 kB / 415.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.4188, allocations: 0.625 kB / 415.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.291e-05/0.4189, allocations: 168.9 kB / 415.5 MB, free: 9.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.4189, allocations: 3.844 kB / 415.5 MB, free: 9.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.4189, allocations: 0 / 415.5 MB, free: 9.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.712e-05/0.4189, allocations: 7.781 kB / 415.5 MB, free: 9.836 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.753e-05/0.419, allocations: 43.3 kB / 415.5 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.419, allocations: 0 / 415.5 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.419, allocations: 0 / 415.5 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.419, allocations: 0 / 415.5 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.4193, allocations: 224.1 kB / 415.7 MB, free: 9.566 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.701e-05/0.4193, allocations: 22.36 kB / 415.7 MB, free: 9.543 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.4193, allocations: 14.86 kB / 415.8 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.4193, allocations: 3.812 kB / 415.8 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.492e-05/0.4194, allocations: 52.42 kB / 415.8 MB, free: 9.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.4194, allocations: 0 / 415.8 MB, free: 9.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.000115/0.4196, allocations: 52.05 kB / 415.9 MB, free: 9.445 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.774e-05/0.4196, allocations: 51.41 kB / 415.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.984e-05/0.4196, allocations: 102.8 kB / 416 MB, free: 9.289 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.313e-06/0.4197, allocations: 33.55 kB / 416 MB, free: 9.254 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.36e-05/0.4197, allocations: 80.14 kB / 416.1 MB, free: 9.172 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.202e-05/0.4197, allocations: 6.781 kB / 416.1 MB, free: 9.168 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.4197, allocations: 0 / 416.1 MB, free: 9.168 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.15e-05/0.4198, allocations: 321.4 kB / 416.4 MB, free: 8.852 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/0.4198, allocations: 3.25 kB / 416.5 MB, free: 8.852 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.838e-05/0.4198, allocations: 25.47 kB / 416.5 MB, free: 8.832 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.541e-05/0.4199, allocations: 10.78 kB / 416.5 MB, free: 8.828 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.4199, allocations: 0 / 416.5 MB, free: 8.828 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.861e-05/0.4199, allocations: 54.25 kB / 416.5 MB, free: 8.793 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.42, allocations: 3.875 kB / 416.5 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.42, allocations: 3.812 kB / 416.5 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.42, allocations: 0 / 416.5 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.257e-05/0.42, allocations: 10.53 kB / 416.6 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4201, allocations: 11.73 kB / 416.6 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/0.4201, allocations: 0 / 416.6 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.4201, allocations: 0 / 416.6 MB, free: 8.781 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 4.471e-05/0.4201, allocations: 120.5 kB / 416.7 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.4202, allocations: 2.672 kB / 416.7 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.09e-05/0.4202, allocations: 7.906 kB / 416.7 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.4202, allocations: 3.812 kB / 416.7 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4202, allocations: 0 / 416.7 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.4202, allocations: 0 / 416.7 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.4203, allocations: 254.8 kB / 417 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4203, allocations: 0 / 417 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-05/0.4204, allocations: 7.781 kB / 417 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4204, allocations: 4 kB / 417 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.4204, allocations: 6.688 kB / 417 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4204, allocations: 0 / 417 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4204, allocations: 3.938 kB / 417 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.939e-05/0.4205, allocations: 147.6 kB / 417.1 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.4205, allocations: 77.11 kB / 417.2 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.4205, allocations: 0 / 417.2 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.493e-05/0.4206, allocations: 3.75 kB / 417.2 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.4206, allocations: 4 kB / 417.2 MB, free: 8.141 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.4206, allocations: 3.766 kB / 417.2 MB, free: 8.141 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.999e-05/0.4206, allocations: 82.03 kB / 417.3 MB, free: 8.066 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4206, allocations: 0 / 417.3 MB, free: 8.066 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002668/0.4209, allocations: 30.44 kB / 417.3 MB, free: 8.062 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003315/0.4212, allocations: 198.7 kB / 417.5 MB, free: 7.918 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.972e-05/0.4213, allocations: 14.69 kB / 417.5 MB, free: 7.918 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4213, allocations: 0 / 417.5 MB, free: 7.918 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.794e-05/0.4214, allocations: 7.312 kB / 417.5 MB, free: 7.918 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.4215, allocations: 15.09 kB / 417.5 MB, free: 7.906 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001538/0.4217, allocations: 61.42 kB / 417.6 MB, free: 7.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.4218, allocations: 0.6795 MB / 418.3 MB, free: 7.145 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.731e-05/0.4218, allocations: 9.875 kB / 418.3 MB, free: 7.141 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.234e-05/0.4218, allocations: 10.11 kB / 418.3 MB, free: 7.137 MB / 298.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4218, allocations: 0 / 418.3 MB, free: 7.137 MB / 298.7 MB Notification: Performance of Templates: time 0.002717/0.4245, allocations: 1.101 MB / 419.4 MB, free: 7 MB / 298.7 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1)