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.001064/0.001064, 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.431/1.431, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001659/0.001659, allocations: 126.2 kB / 253.5 MB, free: 9.562 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.984e-05/2.987e-05, allocations: 4 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07505/0.0751, allocations: 44.49 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2856/0.3608, allocations: 70.99 MB / 420.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.361, allocations: 69.3 kB / 420.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004675/0.3657, allocations: 1.984 MB / 422.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3657, allocations: 1.156 kB / 422.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.3658, allocations: 0 / 422.5 MB, free: 10.54 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.0002159/0.366, allocations: 343.9 kB / 422.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.366, allocations: 8.875 kB / 422.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.3661, allocations: 1.875 kB / 422.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.291e-05/0.3661, allocations: 179.8 kB / 423 MB, free: 9.973 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.3662, allocations: 3.312 kB / 423 MB, free: 9.973 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.3662, allocations: 1.25 kB / 423 MB, free: 9.973 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.772e-05/0.3663, allocations: 35.98 kB / 423 MB, free: 9.938 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3663, allocations: 0 / 423 MB, free: 9.938 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3663, allocations: 1.281 kB / 423 MB, free: 9.938 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3663, allocations: 7.938 kB / 423 MB, free: 9.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.466e-05/0.3663, allocations: 5.75 kB / 423 MB, free: 9.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002535/0.3666, allocations: 245.6 kB / 423.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.055e-05/0.3667, allocations: 26.94 kB / 423.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.294e-05/0.3667, allocations: 13.52 kB / 423.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.3667, allocations: 6.438 kB / 423.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.054e-05/0.3668, allocations: 52.75 kB / 423.4 MB, free: 9.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.3668, allocations: 0 / 423.4 MB, free: 9.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001263/0.367, allocations: 49.22 kB / 423.4 MB, free: 9.539 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.367, allocations: 52.75 kB / 423.5 MB, free: 9.477 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.682e-05/0.367, allocations: 95.31 kB / 423.6 MB, free: 9.387 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.3671, allocations: 28.75 kB / 423.6 MB, free: 9.355 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.3671, allocations: 88.89 kB / 423.7 MB, free: 9.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.3671, allocations: 5.25 kB / 423.7 MB, free: 9.266 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.3671, allocations: 0 / 423.7 MB, free: 9.266 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.331e-05/0.3672, allocations: 319.6 kB / 424 MB, free: 8.949 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.3672, allocations: 5.281 kB / 424 MB, free: 8.949 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.485e-05/0.3672, allocations: 25.31 kB / 424 MB, free: 8.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.248e-05/0.3673, allocations: 8.531 kB / 424 MB, free: 8.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3673, allocations: 1.25 kB / 424 MB, free: 8.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.72e-05/0.3674, allocations: 60.22 kB / 424.1 MB, free: 8.891 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3674, allocations: 5.25 kB / 424.1 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.3674, allocations: 3.938 kB / 424.1 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3674, allocations: 1.344 kB / 424.1 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.794e-05/0.3675, allocations: 6.406 kB / 424.1 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3675, allocations: 0 / 424.1 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.706e-05/0.3675, allocations: 8.531 kB / 424.1 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.3675, allocations: 4.938 kB / 424.1 MB, free: 8.883 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.577e-05/0.3676, allocations: 114.2 kB / 424.2 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-06/0.3676, allocations: 1.219 kB / 424.3 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.3676, allocations: 8.344 kB / 424.3 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3676, allocations: 1.219 kB / 424.3 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3676, allocations: 3.938 kB / 424.3 MB, free: 8.754 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3677, allocations: 2.484 kB / 424.3 MB, free: 8.754 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.3678, allocations: 284 kB / 424.5 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3678, allocations: 0 / 424.5 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.417e-05/0.3679, allocations: 5.266 kB / 424.5 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3679, allocations: 0 / 424.5 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.3679, allocations: 5.219 kB / 424.6 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3679, allocations: 0 / 424.6 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3679, allocations: 0 / 424.6 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.125e-05/0.368, allocations: 151.1 kB / 424.7 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.368, allocations: 78.77 kB / 424.8 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.368, allocations: 192 / 424.8 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.259e-05/0.3681, allocations: 8.109 kB / 424.8 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.3681, allocations: 12.7 kB / 424.8 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.3681, allocations: 5.281 kB / 424.8 MB, free: 8.203 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.488e-05/0.3681, allocations: 80.41 kB / 424.9 MB, free: 8.129 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3682, allocations: 0 / 424.9 MB, free: 8.129 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002749/0.3684, allocations: 36.08 kB / 424.9 MB, free: 8.121 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.0003754/0.3688, allocations: 191.4 kB / 425.1 MB, free: 7.988 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.584e-05/0.3689, allocations: 14.91 kB / 425.1 MB, free: 7.988 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3689, allocations: 0 / 425.1 MB, free: 7.988 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.526e-05/0.369, allocations: 17.47 kB / 425.1 MB, free: 7.984 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001097/0.3691, allocations: 3.953 kB / 425.1 MB, free: 7.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001444/0.3692, allocations: 67.09 kB / 425.2 MB, free: 7.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.3693, allocations: 0.684 MB / 425.9 MB, free: 7.211 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.299e-05/0.3694, allocations: 6.984 kB / 425.9 MB, free: 7.211 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.281e-05/0.3694, allocations: 11.28 kB / 425.9 MB, free: 7.207 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3694, allocations: 0 / 425.9 MB, free: 7.207 MB / 298.7 MB Notification: Performance of Templates: time 0.00301/0.3724, allocations: 1.125 MB / 427 MB, free: 7.074 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)