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.001105/0.001105, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001366/0.001366, allocations: 177.3 kB / 15.94 MB, free: 228 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.728/1.728, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.0005399/0.0005401, allocations: 12 kB / 278.9 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2916, allocations: 47.6 MB / 326.4 MB, free: 1.469 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.001831/0.2935, allocations: 1.068 MB / 327.5 MB, free: 0.6172 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007812/0.2943, allocations: 348.7 kB / 327.9 MB, free: 368 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.118e-05/0.2944, allocations: 0 / 327.9 MB, free: 368 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.2944, allocations: 3.312 kB / 327.9 MB, free: 368 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 6.854e-05/0.2945, allocations: 0 / 327.9 MB, free: 368 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007387/0.2953, allocations: 67.73 kB / 327.9 MB, free: 320 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 9.391e-05/0.2954, allocations: 15.42 kB / 327.9 MB, free: 308 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.709e-05/0.2955, allocations: 3.562 kB / 327.9 MB, free: 308 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.811e-05/0.2955, allocations: 7.984 kB / 328 MB, free: 300 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.212e-05/0.2956, allocations: 7.625 kB / 328 MB, free: 296 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.2956, allocations: 0 / 328 MB, free: 296 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003068/0.2959, allocations: 61.61 kB / 328 MB, free: 264 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 2.92e-05/0.296, allocations: 5.594 kB / 328 MB, free: 260 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 5.687e-05/0.296, allocations: 29.58 kB / 328.1 MB, free: 228 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.2963, allocations: 58.94 kB / 328.1 MB, free: 188 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.381e-06/0.2963, allocations: 1.031 kB / 328.1 MB, free: 188 kB / 254.1 MB Notification: Performance of FrontEnd: time 5.34e-06/0.2963, allocations: 0 / 328.1 MB, free: 188 kB / 254.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.2963, allocations: 0 / 328.1 MB, free: 188 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.0007405/0.2971, allocations: 346.8 kB / 328.5 MB, free: 15.81 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.912e-05/0.2972, allocations: 9.406 kB / 328.5 MB, free: 15.81 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.731e-05/0.2973, allocations: 2.281 kB / 328.5 MB, free: 15.81 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.2975, allocations: 160.3 kB / 328.6 MB, free: 15.61 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.2976, allocations: 1.188 kB / 328.6 MB, free: 15.61 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.2976, allocations: 1.062 kB / 328.6 MB, free: 15.61 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.2977, allocations: 41.73 kB / 328.7 MB, free: 15.57 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2978, allocations: 0 / 328.7 MB, free: 15.57 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.2978, allocations: 1.031 kB / 328.7 MB, free: 15.57 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.2978, allocations: 0 / 328.7 MB, free: 15.57 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.081e-05/0.2979, allocations: 7.156 kB / 328.7 MB, free: 15.57 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005412/0.2984, allocations: 244.6 kB / 328.9 MB, free: 15.29 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.569e-05/0.2985, allocations: 24.03 kB / 328.9 MB, free: 15.26 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.2985, allocations: 1.281 kB / 328.9 MB, free: 15.26 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.2988, allocations: 62.2 kB / 329 MB, free: 15.19 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.2988, allocations: 0 / 329 MB, free: 15.19 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002928/0.2991, allocations: 62.5 kB / 329.1 MB, free: 15.14 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.2991, allocations: 51.41 kB / 329.1 MB, free: 15.08 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.2993, allocations: 106.3 kB / 329.2 MB, free: 14.97 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.2993, allocations: 25.7 kB / 329.2 MB, free: 14.94 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/0.2994, allocations: 85.3 kB / 329.3 MB, free: 14.86 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.2994, allocations: 8.875 kB / 329.3 MB, free: 14.85 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.2994, allocations: 0.9375 kB / 329.3 MB, free: 14.85 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.2996, allocations: 324 kB / 329.6 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.118e-05/0.2997, allocations: 7.969 kB / 329.7 MB, free: 14.52 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.155e-05/0.2997, allocations: 23.44 kB / 329.7 MB, free: 14.5 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.575e-05/0.2998, allocations: 8.125 kB / 329.7 MB, free: 14.49 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2998, allocations: 1.188 kB / 329.7 MB, free: 14.49 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001352/0.2999, allocations: 61.41 kB / 329.7 MB, free: 14.44 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.2999, allocations: 5.406 kB / 329.7 MB, free: 14.44 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.3, allocations: 9.453 kB / 329.8 MB, free: 14.43 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.3, allocations: 0 / 329.8 MB, free: 14.43 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.296e-05/0.3001, allocations: 6.812 kB / 329.8 MB, free: 14.43 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.3001, allocations: 3.938 kB / 329.8 MB, free: 14.43 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.291e-05/0.3001, allocations: 6 kB / 329.8 MB, free: 14.43 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.3002, allocations: 1.094 kB / 329.8 MB, free: 14.43 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.0001257/0.3003, allocations: 112.3 kB / 329.9 MB, free: 14.31 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.3003, allocations: 6.328 kB / 329.9 MB, free: 14.3 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.667e-05/0.3003, allocations: 7.891 kB / 329.9 MB, free: 14.29 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3004, allocations: 5.281 kB / 329.9 MB, free: 14.29 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.3004, allocations: 0 / 329.9 MB, free: 14.29 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.3004, allocations: 0.9375 kB / 329.9 MB, free: 14.29 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003607/0.3008, allocations: 288.6 kB / 330.2 MB, free: 13.97 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3008, allocations: 0 / 330.2 MB, free: 13.97 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.82e-05/0.3008, allocations: 9.281 kB / 330.2 MB, free: 13.96 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3008, allocations: 1.25 kB / 330.2 MB, free: 13.96 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.3008, allocations: 0 / 330.2 MB, free: 13.96 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3008, allocations: 1.5 kB / 330.2 MB, free: 13.96 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3008, allocations: 3.984 kB / 330.2 MB, free: 13.96 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.301, allocations: 146.2 kB / 330.3 MB, free: 13.81 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.343e-05/0.3011, allocations: 86.12 kB / 330.4 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.3011, allocations: 1.156 kB / 330.4 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.364e-05/0.3012, allocations: 0 / 330.4 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.3012, allocations: 1.5 kB / 330.4 MB, free: 13.71 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.3012, allocations: 2.25 kB / 330.4 MB, free: 13.71 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.952e-05/0.3013, allocations: 87.2 kB / 330.5 MB, free: 13.63 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3013, allocations: 4 kB / 330.5 MB, free: 13.62 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003226/0.3016, allocations: 22.28 kB / 330.5 MB, free: 13.62 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.000621/0.3023, allocations: 189.3 kB / 330.7 MB, free: 13.47 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.3024, allocations: 21.33 kB / 330.7 MB, free: 13.46 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3024, allocations: 0 / 330.7 MB, free: 13.46 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 4.154e-05/0.3025, allocations: 5.562 kB / 330.8 MB, free: 13.46 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.3026, allocations: 5.031 kB / 330.8 MB, free: 13.46 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004181/0.3031, allocations: 125.3 kB / 330.9 MB, free: 13.32 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.3034, allocations: 0.6803 MB / 331.6 MB, free: 12.62 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.734e-05/0.3035, allocations: 11.14 kB / 331.6 MB, free: 12.62 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.549e-05/0.3035, allocations: 8.875 kB / 331.6 MB, free: 12.61 MB / 270.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3035, allocations: 1.625 kB / 331.6 MB, free: 12.61 MB / 270.1 MB Notification: Performance of Templates: time 0.003932/0.3074, allocations: 0.9128 MB / 332.5 MB, free: 12.12 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: