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.0009752/0.0009754, allocations: 95.67 kB / 16.3 MB, free: 5.539 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.00105/0.00105, allocations: 180.5 kB / 17.2 MB, free: 5.473 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.559/1.559, allocations: 205.4 MB / 223.3 MB, free: 13.18 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.0004601/0.0004601, allocations: 19.28 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1124, allocations: 47.57 MB / 327.7 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.001826/0.1143, allocations: 1.065 MB / 328.8 MB, free: 3.031 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006831/0.115, allocations: 341.6 kB / 329.1 MB, free: 2.695 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.1151, allocations: 4 kB / 329.1 MB, free: 2.691 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.836e-05/0.1151, allocations: 3.938 kB / 329.1 MB, free: 2.688 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 4.59e-05/0.1151, allocations: 4 kB / 329.1 MB, free: 2.684 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.1155, allocations: 71.72 kB / 329.2 MB, free: 2.613 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 4.744e-05/0.1156, allocations: 4 kB / 329.2 MB, free: 2.609 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.1156, allocations: 0 / 329.2 MB, free: 2.609 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.043e-05/0.1157, allocations: 15.92 kB / 329.2 MB, free: 2.594 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.392e-05/0.1157, allocations: 7.984 kB / 329.2 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.1157, allocations: 0 / 329.2 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.1159, allocations: 63.88 kB / 329.3 MB, free: 2.523 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.1159, allocations: 4 kB / 329.3 MB, free: 2.52 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.1159, allocations: 29.64 kB / 329.3 MB, free: 2.484 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.1161, allocations: 67.83 kB / 329.4 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1161, allocations: 0 / 329.4 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1161, allocations: 0 / 329.4 MB, free: 2.418 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1161, allocations: 0 / 329.4 MB, free: 2.418 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.0003554/0.1165, allocations: 335.6 kB / 329.7 MB, free: 2.043 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1165, allocations: 12.03 kB / 329.7 MB, free: 2.031 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.1165, allocations: 0 / 329.7 MB, free: 2.031 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.1167, allocations: 175 kB / 329.9 MB, free: 1.82 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.1167, allocations: 0 / 329.9 MB, free: 1.82 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.487e-06/0.1167, allocations: 0 / 329.9 MB, free: 1.82 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.52e-05/0.1168, allocations: 37.64 kB / 329.9 MB, free: 1.777 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.1168, allocations: 0 / 329.9 MB, free: 1.777 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1168, allocations: 4 kB / 329.9 MB, free: 1.773 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.1168, allocations: 0 / 329.9 MB, free: 1.773 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.029e-05/0.1169, allocations: 4 kB / 329.9 MB, free: 1.77 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.1173, allocations: 244.9 kB / 330.2 MB, free: 1.48 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.885e-05/0.1173, allocations: 42.39 kB / 330.2 MB, free: 1.43 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.1173, allocations: 0 / 330.2 MB, free: 1.43 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.1175, allocations: 51.47 kB / 330.2 MB, free: 1.367 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1175, allocations: 0 / 330.2 MB, free: 1.367 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.000193/0.1177, allocations: 53.62 kB / 330.3 MB, free: 1.309 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.1178, allocations: 55.41 kB / 330.4 MB, free: 1.242 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.937e-05/0.1179, allocations: 109.8 kB / 330.5 MB, free: 1.125 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1179, allocations: 25.7 kB / 330.5 MB, free: 1.094 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.118, allocations: 80.14 kB / 330.6 MB, free: 1.012 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.118, allocations: 3.906 kB / 330.6 MB, free: 1.008 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.118, allocations: 8 kB / 330.6 MB, free: 1 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1181, allocations: 314.8 kB / 330.9 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.278e-05/0.1182, allocations: 8 kB / 330.9 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.842e-05/0.1182, allocations: 17.72 kB / 330.9 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.892e-05/0.1182, allocations: 11.98 kB / 330.9 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1183, allocations: 4 kB / 330.9 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.482e-05/0.1184, allocations: 61.58 kB / 331 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1184, allocations: 4 kB / 331 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1184, allocations: 384 / 331 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1184, allocations: 0 / 331 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.468e-05/0.1185, allocations: 8 kB / 331 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1185, allocations: 8.031 kB / 331 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.824e-05/0.1185, allocations: 3.906 kB / 331 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1186, allocations: 4 kB / 331 MB, free: 0.543 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 0.0001263/0.1187, allocations: 125.7 kB / 331.1 MB, free: 420 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.1187, allocations: 3.953 kB / 331.1 MB, free: 416 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.863e-05/0.1187, allocations: 4.141 kB / 331.1 MB, free: 408 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1187, allocations: 3.984 kB / 331.1 MB, free: 404 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1188, allocations: 0 / 331.1 MB, free: 404 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1188, allocations: 4 kB / 331.1 MB, free: 400 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.119, allocations: 290.5 kB / 331.4 MB, free: 52 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1191, allocations: 0 / 331.4 MB, free: 52 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.53e-05/0.1191, allocations: 7.984 kB / 331.4 MB, free: 44 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1191, allocations: 0 / 331.4 MB, free: 44 kB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.1191, allocations: 0 / 331.4 MB, free: 44 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1191, allocations: 0 / 331.4 MB, free: 44 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1191, allocations: 0 / 331.4 MB, free: 44 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.1193, allocations: 147.5 kB / 331.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.1193, allocations: 88.97 kB / 331.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.1193, allocations: 0 / 331.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.412e-05/0.1194, allocations: 0 / 331.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.1194, allocations: 7.984 kB / 331.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.1194, allocations: 0 / 331.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.462e-05/0.1195, allocations: 83.28 kB / 331.8 MB, free: 15.69 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1195, allocations: 0 / 331.8 MB, free: 15.69 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.1198, allocations: 31.98 kB / 331.8 MB, free: 15.66 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 (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.0003747/0.1202, allocations: 183.8 kB / 332 MB, free: 15.48 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.718e-05/0.1203, allocations: 19.94 kB / 332 MB, free: 15.46 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.1203, allocations: 0 / 332 MB, free: 15.46 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.567e-05/0.1203, allocations: 20.05 kB / 332 MB, free: 15.44 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.1205, allocations: 0 / 332 MB, free: 15.44 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002367/0.1207, allocations: 120.8 kB / 332.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.1209, allocations: 0.6809 MB / 332.8 MB, free: 14.59 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.727e-05/0.121, allocations: 7.984 kB / 332.8 MB, free: 14.58 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.301e-05/0.121, allocations: 7.438 kB / 332.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.121, allocations: 0 / 332.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of Templates: time 0.003203/0.1242, allocations: 0.9326 MB / 333.8 MB, free: 13.64 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: