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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008875/0.0008873, allocations: 91.08 kB / 16.65 MB, free: 7.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001062, allocations: 178.6 kB / 17.56 MB, free: 6.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005169/0.0005174, allocations: 8 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1462, allocations: 47.58 MB / 328.3 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002189/0.1484, allocations: 1.077 MB / 329.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.1497, allocations: 364.4 kB / 329.8 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.766e-05/0.1497, allocations: 0 / 329.8 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.1497, allocations: 0 / 329.8 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.764e-05/0.1498, allocations: 3.938 kB / 329.8 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005645/0.1504, allocations: 63.88 kB / 329.8 MB, free: 2.25 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.806e-05/0.1505, allocations: 15.98 kB / 329.8 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.878e-05/0.1506, allocations: 8 kB / 329.8 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.287e-05/0.1507, allocations: 11.86 kB / 329.9 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.862e-05/0.1507, allocations: 8 kB / 329.9 MB, free: 2.207 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.1507, allocations: 0 / 329.9 MB, free: 2.207 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/0.1511, allocations: 79.91 kB / 329.9 MB, free: 2.129 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.1511, allocations: 3.938 kB / 329.9 MB, free: 2.125 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.194e-05/0.1512, allocations: 33.7 kB / 330 MB, free: 2.086 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.1514, allocations: 83.8 kB / 330.1 MB, free: 2.004 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.1514, allocations: 0 / 330.1 MB, free: 2.004 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.1514, allocations: 3.938 kB / 330.1 MB, free: 2 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.1514, allocations: 4 kB / 330.1 MB, free: 1.996 MB / 270.1 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.0005604/0.152, allocations: 343.6 kB / 330.4 MB, free: 1.609 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.1521, allocations: 8.031 kB / 330.4 MB, free: 1.602 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.1521, allocations: 0.9375 kB / 330.4 MB, free: 1.602 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.1523, allocations: 176.2 kB / 330.6 MB, free: 1.391 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.1523, allocations: 8.375 kB / 330.6 MB, free: 1.383 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.1523, allocations: 4.312 kB / 330.6 MB, free: 1.379 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1524, allocations: 30.27 kB / 330.6 MB, free: 1.344 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1525, allocations: 4.188 kB / 330.6 MB, free: 1.34 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.1525, allocations: 7.938 kB / 330.6 MB, free: 1.332 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1525, allocations: 0 / 330.6 MB, free: 1.332 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.77e-05/0.1525, allocations: 3.984 kB / 330.6 MB, free: 1.328 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.153, allocations: 248.9 kB / 330.9 MB, free: 1.035 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.081e-05/0.153, allocations: 22.58 kB / 330.9 MB, free: 1.004 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.184e-05/0.1531, allocations: 12.86 kB / 330.9 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.1531, allocations: 4 kB / 330.9 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.1533, allocations: 51.41 kB / 331 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.813e-06/0.1533, allocations: 3.938 kB / 331 MB, free: 0.918 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.000215/0.1535, allocations: 57.61 kB / 331 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.1536, allocations: 55.41 kB / 331.1 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.1537, allocations: 105.8 kB / 331.2 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1537, allocations: 29.7 kB / 331.2 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.1538, allocations: 84.14 kB / 331.3 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.1538, allocations: 7.906 kB / 331.3 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.1538, allocations: 13.72 kB / 331.3 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.154, allocations: 310.8 kB / 331.6 MB, free: 220 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.927e-05/0.154, allocations: 11.98 kB / 331.6 MB, free: 208 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.859e-05/0.154, allocations: 17.72 kB / 331.7 MB, free: 184 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.259e-05/0.1541, allocations: 33.84 kB / 331.7 MB, free: 144 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1541, allocations: 0 / 331.7 MB, free: 144 kB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001105/0.1542, allocations: 73.44 kB / 331.8 MB, free: 64 kB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1542, allocations: 4 kB / 331.8 MB, free: 60 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1543, allocations: 4 kB / 331.8 MB, free: 56 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1543, allocations: 0 / 331.8 MB, free: 56 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.665e-05/0.1544, allocations: 4 kB / 331.8 MB, free: 52 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1544, allocations: 0 / 331.8 MB, free: 52 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.1544, allocations: 4 kB / 331.8 MB, free: 48 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.1544, allocations: 0 / 331.8 MB, free: 48 kB / 270.1 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,globalSeed.id_impure,globalSeed.seed,impureRandom.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001823/0.1546, allocations: 121.8 kB / 331.9 MB, free: 15.92 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.1546, allocations: 3.984 kB / 331.9 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.181e-05/0.1547, allocations: 3.906 kB / 331.9 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1547, allocations: 4 kB / 331.9 MB, free: 15.9 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.1547, allocations: 0 / 331.9 MB, free: 15.9 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.1547, allocations: 0 / 331.9 MB, free: 15.9 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.155, allocations: 290.4 kB / 332.2 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.155, allocations: 0 / 332.2 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.099e-05/0.1551, allocations: 8 kB / 332.2 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1551, allocations: 3.938 kB / 332.2 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1551, allocations: 7.984 kB / 332.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1551, allocations: 384 / 332.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1551, allocations: 0 / 332.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.1552, allocations: 147.4 kB / 332.4 MB, free: 15.38 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.1553, allocations: 81.11 kB / 332.4 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.1553, allocations: 4 kB / 332.4 MB, free: 15.28 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.78e-05/0.1554, allocations: 7.938 kB / 332.4 MB, free: 15.27 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.1554, allocations: 7.984 kB / 332.4 MB, free: 15.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.1554, allocations: 4 kB / 332.5 MB, free: 15.26 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.976e-05/0.1555, allocations: 83.28 kB / 332.5 MB, free: 15.18 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1555, allocations: 0 / 332.5 MB, free: 15.18 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.1558, allocations: 27.98 kB / 332.6 MB, free: 15.15 MB / 286.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004722/0.1562, allocations: 188 kB / 332.7 MB, free: 14.97 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001038/0.1564, allocations: 19.98 kB / 332.8 MB, free: 14.95 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1564, allocations: 0 / 332.8 MB, free: 14.95 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.034e-05/0.1564, allocations: 15.92 kB / 332.8 MB, free: 14.94 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.1566, allocations: 4 kB / 332.8 MB, free: 14.93 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.1569, allocations: 116.7 kB / 332.9 MB, free: 14.79 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.1573, allocations: 0.677 MB / 333.6 MB, free: 14.09 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.122e-05/0.1574, allocations: 7.984 kB / 333.6 MB, free: 14.08 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.1574, allocations: 11.44 kB / 333.6 MB, free: 14.07 MB / 286.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1574, allocations: 0 / 333.6 MB, free: 14.07 MB / 286.1 MB Notification: Performance of Templates: time 0.004197/0.1616, allocations: 0.9413 MB / 334.5 MB, free: 13.13 MB / 286.1 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)