Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001046/0.001046, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001294/0.001294, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.4 MB / 222.1 MB, free: 5.898 MB / 174.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.0007378/0.0007379, allocations: 12 kB / 278.9 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2665, allocations: 47.59 MB / 326.5 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.001397/0.2679, allocations: 1.075 MB / 327.5 MB, free: 0.5195 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006464/0.2686, allocations: 345 kB / 327.9 MB, free: 268 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.276e-05/0.2686, allocations: 1.094 kB / 327.9 MB, free: 268 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 1.238e-05/0.2686, allocations: 0 / 327.9 MB, free: 268 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 5.443e-05/0.2687, allocations: 5.75 kB / 327.9 MB, free: 264 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.2691, allocations: 67.75 kB / 328 MB, free: 220 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 4.464e-05/0.2691, allocations: 15.45 kB / 328 MB, free: 208 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.2692, allocations: 3.5 kB / 328 MB, free: 208 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.226e-05/0.2692, allocations: 7.547 kB / 328 MB, free: 204 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.133e-05/0.2692, allocations: 7.938 kB / 328 MB, free: 196 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.2693, allocations: 3.5 kB / 328 MB, free: 196 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.2694, allocations: 83.06 kB / 328.1 MB, free: 148 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.2694, allocations: 0 / 328.1 MB, free: 148 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.2695, allocations: 29.58 kB / 328.1 MB, free: 116 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.2696, allocations: 55.56 kB / 328.2 MB, free: 80 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2696, allocations: 0 / 328.2 MB, free: 80 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2696, allocations: 3.938 kB / 328.2 MB, free: 76 kB / 254.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.2696, allocations: 1.344 kB / 328.2 MB, free: 76 kB / 254.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.0004163/0.27, allocations: 338.8 kB / 328.5 MB, free: 15.71 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2701, allocations: 12.81 kB / 328.5 MB, free: 15.7 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.2701, allocations: 5.875 kB / 328.5 MB, free: 15.7 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.921e-05/0.2702, allocations: 160.1 kB / 328.7 MB, free: 15.5 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.2703, allocations: 1.938 kB / 328.7 MB, free: 15.5 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.2703, allocations: 1.156 kB / 328.7 MB, free: 15.5 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.181e-05/0.2704, allocations: 41.17 kB / 328.7 MB, free: 15.46 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.2704, allocations: 0 / 328.7 MB, free: 15.46 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.2704, allocations: 1.156 kB / 328.7 MB, free: 15.46 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2704, allocations: 0 / 328.7 MB, free: 15.46 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.222e-05/0.2704, allocations: 10.41 kB / 328.7 MB, free: 15.45 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.2707, allocations: 241.3 kB / 329 MB, free: 15.18 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.103e-05/0.2708, allocations: 32.09 kB / 329 MB, free: 15.14 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.343e-05/0.2708, allocations: 17.94 kB / 329 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-06/0.2708, allocations: 3.984 kB / 329 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.271, allocations: 55.69 kB / 329.1 MB, free: 15.06 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.271, allocations: 3.938 kB / 329.1 MB, free: 15.06 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001618/0.2711, allocations: 58.12 kB / 329.1 MB, free: 15.01 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.2712, allocations: 55.34 kB / 329.2 MB, free: 14.95 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.2713, allocations: 106.9 kB / 329.3 MB, free: 14.84 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.2713, allocations: 25.7 kB / 329.3 MB, free: 14.81 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.2713, allocations: 84.14 kB / 329.4 MB, free: 14.72 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.2714, allocations: 9.562 kB / 329.4 MB, free: 14.71 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.2714, allocations: 4 kB / 329.4 MB, free: 14.71 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2715, allocations: 316.8 kB / 329.7 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.2715, allocations: 7.812 kB / 329.7 MB, free: 14.39 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.594e-05/0.2716, allocations: 18.31 kB / 329.7 MB, free: 14.37 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.594e-05/0.2716, allocations: 9.984 kB / 329.8 MB, free: 14.37 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2716, allocations: 0 / 329.8 MB, free: 14.37 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.067e-05/0.2717, allocations: 62.2 kB / 329.8 MB, free: 14.32 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.2717, allocations: 9.75 kB / 329.8 MB, free: 14.31 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.2717, allocations: 0 / 329.8 MB, free: 14.31 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.2717, allocations: 1.062 kB / 329.8 MB, free: 14.31 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.355e-05/0.2718, allocations: 5.625 kB / 329.8 MB, free: 14.31 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.2718, allocations: 0.8438 kB / 329.8 MB, free: 14.31 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.788e-05/0.2718, allocations: 5.531 kB / 329.8 MB, free: 14.31 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.2718, allocations: 2.156 kB / 329.8 MB, free: 14.31 MB / 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,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.178e-05/0.2719, allocations: 116.2 kB / 330 MB, free: 14.19 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.2719, allocations: 5.234 kB / 330 MB, free: 14.18 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.879e-05/0.272, allocations: 9.344 kB / 330 MB, free: 14.17 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.272, allocations: 1.344 kB / 330 MB, free: 14.17 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.272, allocations: 4 kB / 330 MB, free: 14.17 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.272, allocations: 3.938 kB / 330 MB, free: 14.16 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.2722, allocations: 284.6 kB / 330.3 MB, free: 13.85 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2722, allocations: 0 / 330.3 MB, free: 13.85 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-05/0.2722, allocations: 2.594 kB / 330.3 MB, free: 13.85 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.2723, allocations: 7.922 kB / 330.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.2723, allocations: 1.281 kB / 330.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2723, allocations: 4 kB / 330.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2723, allocations: 0 / 330.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.2724, allocations: 147.6 kB / 330.4 MB, free: 13.69 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.2724, allocations: 88.95 kB / 330.5 MB, free: 13.59 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.2725, allocations: 1.625 kB / 330.5 MB, free: 13.59 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.902e-05/0.2725, allocations: 0 / 330.5 MB, free: 13.59 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.986e-05/0.2725, allocations: 5.312 kB / 330.5 MB, free: 13.58 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.2725, allocations: 2.781 kB / 330.5 MB, free: 13.58 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.579e-05/0.2726, allocations: 82.75 kB / 330.6 MB, free: 13.5 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2726, allocations: 1.312 kB / 330.6 MB, free: 13.5 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.00026/0.2729, allocations: 28.98 kB / 330.6 MB, free: 13.49 MB / 270.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 (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.000367/0.2733, allocations: 173.5 kB / 330.8 MB, free: 13.36 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 8.928e-05/0.2734, allocations: 20.78 kB / 330.8 MB, free: 13.35 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2734, allocations: 0 / 330.8 MB, free: 13.35 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 2.732e-05/0.2734, allocations: 14.14 kB / 330.8 MB, free: 13.34 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.2736, allocations: 1.438 kB / 330.8 MB, free: 13.34 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002484/0.2739, allocations: 117.1 kB / 330.9 MB, free: 13.21 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.2741, allocations: 0.678 MB / 331.6 MB, free: 12.52 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.192e-05/0.2742, allocations: 8.109 kB / 331.6 MB, free: 12.51 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.559e-05/0.2742, allocations: 9.688 kB / 331.6 MB, free: 12.5 MB / 270.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2742, allocations: 0 / 331.6 MB, free: 12.5 MB / 270.1 MB Notification: Performance of Templates: time 0.00314/0.2773, allocations: 0.9346 MB / 332.6 MB, free: 12 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1)